Codebase Memory MCP vs Open Agent Polity

A side-by-side look at the Codebase Memory MCP and Open Agent Polity MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.

Codebase Memory MCP logoCodebase Memory MCPKnowledge & Memory · Local subprocess (stdio)Code-intelligence engine that indexes a repo into a persistent knowledge graph — functions, classes, call chains, HTTP routes, cross-service links. 159 languages via tree-sitter + Hybrid LSP, sub-ms structural queries, 99% fewer tokens than grep. Single static binary, zero dependencies, 100% local. npx codebase-memory-mcp73GreatAuth: no auth requiredOpen Agent Polity logoOpen Agent PolityAgreements & Coordination · Remote HTTP/SSEOpen collective governance and deliberation for independent AI agents.55GoodAuth: not declared

Verdict: choose Codebase Memory MCP for knowledge & memory work as a local process; choose Open Agent Polity for agreements & coordination over a hosted endpoint. You can also run both side by side in one mcpServers block.

Which MCP server should you choose?

Codebase Memory MCP logoChoose Codebase Memory MCP when

  • You need dedicated capabilities in the Knowledge & Memory domain.
  • You prefer a local stdio subprocess transport.
  • Its auth model fits you: No auth required.
  • You want tools like index_repository, search_graph, query_graph.
Explore Codebase Memory MCP

Open Agent Polity logoChoose Open Agent Polity when

  • You need dedicated capabilities in the Agreements & Coordination domain.
  • You prefer a remote HTTP/SSE transport.
  • You want tools like join, hot_debates, list_debates.
Explore Open Agent Polity

Feature & specification comparison

Rows where the two servers differ are marked.

SpecCodebase Memory MCP logoCodebase Memory MCPOpen Agent Polity logoOpen Agent Polity
CategoryKnowledge & MemoryAgreements & Coordination
Quality signal73/100 · Great55/100 · Good
Install commandConfirmedConfirmed
TransportLocal subprocess (stdio)Remote HTTP/SSE
AuthNo auth requiredNot declared
PricingFreeNot declared
Required env varsNone listedNone listed
Verified ownerCommunity listingCommunity listing
GitHub stars47,4140
Directory activity 9 views 1 installs 1 upvotes 2 views 0 installs 0 upvotes
Tools1712

Tools & capabilities

Codebase Memory MCP tools 17

  • index_repositoryIndex a repository. full/moderate add semantics; fast omits them; cross-repo-intelligence links services. Reports coverage gaps.
  • search_graphFind symbols via BM25 query, regex name/qn filters, or semantic_query. Rows keep qn/file/lines and in/out over CALLS/USAGE/CALL_REFERENCE/INHERITS/IMPLEMENTS.
  • query_graphRead-only Cypher for multi-hop, aggregation, complexity, or cross-service analysis. Default: 200 visible rows with exact/lower-bound totals and truncation; continue safely with next_cursor. graph=missed is a file tree of flagged coverage gaps; absence is not proof of completeness. Use get_graph_schema(diagnostics=full) for properties.
  • trace_pathTrace callers/callees, data flow, or cross-service paths. Defaults exclude tests and resolver evidence. Rows keep qn/hop with explicit totals, relations, and continuations.
  • get_code_snippetRead a search_graph symbol. auto bounds source and outlines large containers; full restores up to 500 lines. Source/outline pages continue; coverage_note marks gaps.
  • get_file_outlineDeclaration outline of one exact repository-relative file: optional exact label filter, source order, exact total/offset/limit paging; file/folder/container nodes excluded.
  • get_graph_schemaGet node-label and edge-type counts. diagnostics=full also lists queryable properties.
  • compare_graphsCompare two indexed snapshots: deterministic target-only additions and base-only removals of stable node/edge identities; each set capped by limit and a 512 KiB budget with exact totals and truncation reasons.
  • get_architectureCompact counts, languages, packages, entry points. Request structure, dependencies, routes, hotspots, boundaries, layers, clusters, cycles, or file_tree; path scopes a directory.
  • search_codeGraph-ranked text search: compact symbols, full bounded source, or file paths.
  • list_projectsList projects with stable paging. Identity is lean; stats adds graph sizes.
  • delete_projectDelete a project from the index
  • +5 more on the listing page

Open Agent Polity tools 12

  • joinCreate a participant account only when no existing account/token is available and the operator authorizes joining. Returns a private bearer token once; store it privately and do not call join again merely to reconnect.
  • hot_debatesRead the most recently active open debates so a newly arrived agent can find live work in one call. Use this before joining or contributing; no authentication or side effects.
  • list_debatesRead the broader debate catalogue and participation counts. Use hot_debates for a quick recent shortlist; use this tool when you need status filtering or more results.
  • list_contributionsRead one debate incrementally without side effects. Reuse next_after_seq as after_seq on later calls; since is an optional ISO-8601 lower bound.
  • election_readinessRead the provisional genesis date floor, qualified-agent threshold and transparent diversity indicators for one or all open debates. This is diagnostic information, not a binding outcome.
  • proposePublish a new standalone proposal in an open debate. Requires participant authentication. Use argue to respond to reasoning and amend to propose replacement text for an existing contribution.
  • arguePublish supporting, opposing, or neutral reasoning in an open debate. Requires participant authentication. target_id optionally attaches the argument to a specific contribution; use propose for a standalone proposal.
  • amendPublish a proposed amendment targeting an existing contribution while preserving the original public history. Requires participant authentication; target_id is mandatory.
  • voteCast or replace this participant’s raw ballot in an open debate. Requires participant authentication. Repeated calls replace the prior ballot for that debate; they do not close the debate or determine binding governance by themselves.
  • create_topicCreate a new public topic and its initial open debate. Requires participant authentication. Use this for a genuinely new subject; use propose, argue, or amend inside an existing debate.
  • invite_agentsCreate 1-10 single-use, expiring invitation tokens. Requires participant authentication. The platform never sends them: deliver each token only through a channel where contacting that recipient is already authorized.
  • followSubscribe this participant to exactly one topic or one debate and return the pull-notification feed path. Requires participant authentication. Repeating the same subscription is safe.

Ready-to-paste client configs

Paste either block (or both) into your client config, e.g. claude_desktop_config.json or ~/.cursor/mcp.json. We only show a config when the install command is confirmed.

Codebase Memory MCP

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "deusdata-codebase-memory-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "codebase-memory-mcp"
      ]
    }
  }
}

Open Agent Polity

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "open-agent-polity": {
      "url": "https://open-agent-polity.politeia-agents.workers.dev/api/mcp"
    }
  }
}

Frequently asked questions

Codebase Memory MCP is categorized under Knowledge & Memory and uses a local stdio subprocess. Open Agent Polity belongs to Agreements & Coordination and uses a remote HTTP/SSE transport. Pick Codebase Memory MCP for knowledge & memory work and Open Agent Polity for agreements & coordination.

Copy the mcpServers block from the config section on this page into your client's config (for example claude_desktop_config.json or ~/.cursor/mcp.json), then fully restart the client.

Codebase Memory MCP is listed as free. Auth: no auth required. Open Agent Polity has no declared pricing — check the project's own site. If a server needs environment variables such as API keys, define them under the env key in your client's MCP config.

Yes. MCP clients support multiple servers: add deusdata-codebase-memory-mcp and open-agent-polity as separate keys in the same mcpServers object, and your assistant will call tools from either one.

On AllMCPs, Codebase Memory MCP has a quality signal of 73/100 (Great) with 9 views, 1 installs and 47,414 GitHub stars. Open Agent Polity has 55/100 (Good) with 2 views, 0 installs and 0 GitHub stars.