Skip to content
MCP server

Cohort MCP

Local MCP server that gives a team one shared, human-approved memory in a git vault

Runs locally
Install

Cohort MCP is an open-source MCP server for knowledge and memory. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, Self-hosted
Runs
Locally
Version
0.1.0
Listing updated

Similar MCP servers

Install

Run in a terminal

claude mcp add cohort-mcp -- npx -y cohort-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "cohort-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "cohort-mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "cohort-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "cohort-mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "cohort-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "cohort-mcp"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "cohort-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "cohort-mcp"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "cohort-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "cohort-mcp"
      ]
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

About Cohort MCP

Cohort treats a single git repository of plain markdown as the memory every teammate's AI assistant shares. Facts, decisions and open threads live there, and the README states that no hosted server or account with the maintainers is involved: the vault sits in your own GitHub repo and nothing is sent to them.

The flow has three steps. At session start the assistant loads a bounded slice of the vault, verified records first, fenced as data rather than instructions. At session end it proposes new records, which pass a local gate with a secret and PII scan, an injection linter and a contradiction check. A person then verifies a record from the terminal, and only then does it count as trusted memory.

Promotion and retirement are deliberately human-only CLI commands, so the model can read and propose but never verify. The README lists Kimi Code CLI, Kimi Work desktop, ZCode and Claude Code as supported clients and says web chats without disk access cannot run it. Cohort is released under Apache-2.0.

Tools this server provides (6)

Taken from the project documentation; the running server may differ.

cohort_load
Return bounded team context, fenced as data, verified-first, under a token budget.
cohort_propose
Run proposed records through the server-enforced write gate.
cohort_status
Report effective policy, record counts, the quarantine queue and stale records.
cohort_policy_get
Return the caller's effective, read-only policy limits.
cohort_search
Search the vault within readable scope, verified-only by default.
cohort_why
Return a record's provenance from git history.

What it does

Bounded context load
Returns team context under a token budget, verified records first and fenced as data.
Write gate
Scans proposed records for secrets, PII and injection text and checks for contradictions.
Human-only verification
Records become trusted only after a person approves them from the terminal.
Provenance lookup
Shows who wrote a record, with which model and when, from git history.
Client rule files
Can generate AGENTS.md, CLAUDE.md and Cursor rules from the vault.

Good for

  • Share decisions across teammates who use different AI accounts
  • Carry open threads between sessions without re-pasting context
  • Audit who or which model wrote a stored fact
  • Keep team memory in your own GitHub repo

Pricing

Open source

Apache-2.0, runs locally

Cohort MCP FAQ

Does Cohort send my vault anywhere?

The README says it runs against your own GitHub repo and the maintainers receive no vault, sessions or telemetry.

Can the AI approve its own writes?

No. Verifying, superseding and retiring records are human-run terminal commands.

What licence is Cohort MCP under?

Apache-2.0, per the README.

Does Cohort MCP work in a web chat?

No. It needs a client that can reach your disk and git.

Is Cohort MCP free?

Yes. Cohort MCP is open source, so you can use and self-host it for free.

How do I add Cohort MCP to Claude Code?

Run this command in your terminal: claude mcp add cohort-mcp -- npx -y cohort-mcp

What are the best alternatives to Cohort MCP?

The closest alternatives to Cohort MCP are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers