Skip to content
Agentmart
Submit a tool

brain — the recorder

Records your Claude Code, Codex and Pi history before deletion.

Connector by mordechaipotash · GitHub account verified by the MCP Registry

IndexedMITLocal (stdio)★ 81
Write a review

Chalk Labs

Need help deploying brain — the recorder?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.

npx agentmarket install connector/mordechaipotash-brain-mcp

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Records your Claude Code, Codex and Pi history before deletion. Cited-or-abstain recall.

Use cases: agent-memory, knowledge-base

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this server can do and what it asks for, from its tool list, install config and code. Checked Oct 25, 2026.

Tools
6 read · 1 write · 0 delete
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Tools by what they do 7

Read from the source code; the running server may list different tools.

Read 6 · Look things up without changing anything.

  • brain_capture_status
  • brain_get
  • brain_health
  • brain_recent
  • brain_search
  • brain_sessions

Write 1 · Create, change, send or run things.

  • brain_backup

Secrets and settings it asks for

Other settings (environment variables or headers).

  • BRAIN_HOME

Network hosts it talks to 3

  • apple.com · found in code
  • github.com · found in code
  • glama.ai · found in code

Files it touches

  • ~/.claude/plugins
  • ~/.claude/projects
  • ~/.claude/settings.json
  • Your home directory (~)
  • ~/.brain
  • ~/.clawdbot/agents
  • ~/.codex/sessions
  • ~/.config/brain-mcp/imports/chatgpt/conversations.json
  • ~/.config/brain-mcp/imports/conversations.json
  • ~/.cursor
  • ~/.gemini
  • ~/.pi/agent/sessions
  • ~/Downloads/chatgpt-export
  • ~/Downloads/chatgpt-export/conversations.json
  • ~/Downloads/conversations.json
  • Any path the agent passes to its tools

Tools (7)

Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].

  • brain_backupBack up the floor (writes only outside it)

    Sync lake/ + manifest/ to dest (pure-add, content-addressed), then verify by re-hashing sampled files at the destination. The verify can fail — that is the point.

  • brain_capture_statusIs the capture machinery itself running?read-only

    Spool depth, heartbeat file ages (side-effect mtimes, never self-report), floor totals. Distinct from health: a backing-up spool is invisible to health until it becomes staleness.

  • brain_getFetch + verify the raw lines behind a citationread-only

    Raw floor bytes for a cited span. Pass the citation's sha256 as expect_sha256 to verify; a mismatch is reported, never repaired.

  • brain_healthPer-lane freshness — is the data current?read-only

    Origin-vs-floor staleness per lane. fresh = floor holds everything the agent's own files show; stale = the agent has content the recorder missed; unknown = unmeasured, NOT healthy (mandatory reason attached). The receipt lists files the agent has since deleted (or moved) that the floor still holds, each verified against the manifest when first noticed; `brain-mcp restore` (CLI) puts a session back.

  • brain_recentRecent activity across all recorded agentsread-only

    Time-ordered recent messages, every row cited. An empty result states its coverage — silence never renders as an answer. Injected text and subagent transcripts are excluded unless asked for, as in brain_search.

  • brain_searchSearch recorded history (cited or abstained)read-only

    Keyword (BM25) search over all recorded conversations. Every hit carries a mechanically verifiable citation; zero hits return an explicit abstention with coverage. role='user' returns what the PERSON wrote: text the harness injected under the user role (skill bodies, reminders, slash-command wrappers, compaction summaries, Codex context blocks) is excluded unless include_machine=True, and subagent transcripts are excluded unless include_subagents=True. since / until take an ISO date or timestamp. order='time_asc' reads a thinking trajectory.

  • brain_sessionsBrowse recorded sessionsread-only

    Session cards (agent, span, message counts, floor file) for a date or range. A whole session's raw text is brain_get(file, [1, n]).

Signals

Stars
81
Forks
18
Open issues
1
Contributors
2
Weekly downloads
164
Last commit
Oct 4, 2026 (26 days ago)
Last release
Oct 4, 2026 (26 days ago)
Last package publish
Oct 4, 2026 (26 days ago)

From GitHub (fetched Oct 24, 2026) and the package registry.

Details

Registry name
io.github.mordechaipotash/brain-mcp
Version
2.0.0
Auth
No auth
Packages
pypi brain-mcp
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get brain — the recorder running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying brain — the recorder?

CallGet help
Cite this page

brain — the recorder MCP server. Agent Mart. https://agentmart.dev/connectors/mordechaipotash-brain-mcp (last updated 2026-10-24)