← Back to directory
COMPARE UP TO 4 SERVERS

Compare MCP servers

Compare scores, permissions, risks, and fit in one decision-focused table.

2 / 4 selected
Dimensionast-grep MCP ServerSearch and analyze code by AST structure.Codebase MemoryConnect code, docs, and infrastructure in a local knowledge graph.
FMRS50 / 100 · D71 / 100 · B
Reliability9 / 2010 / 20
Security and permissions8 / 2015 / 20
Maintenance8 / 2016 / 20
Documentation13 / 2017 / 20
Setup experience12 / 2013 / 20
MaintainerCommunityCommunity
GitHub Stars★ 504★ 49.6k
Transportstdio (local process)stdio (local process)
RuntimePython · Prebuilt binaryPrebuilt binary
CredentialsNo credential neededNo credential needed
Access scopesReads local filesRuns commands or codeReads local filesWrites / deletes local filesConnects to a database
License / Last commitMIT · 29 days agoMIT · today
Best for
  • Developers who need to search codebases by syntax structure rather than plain text.
  • AI-assisted workflows that create or debug ast-grep search rules.
  • Developers who want to provide local, structured code context to MCP-compatible coding agents.
  • Teams exploring relationships across code, documentation, and supported infrastructure files.
Not for
  • Workflows that only need ordinary text search.
  • Environments without ast-grep, uv, or an MCP-compatible client.
  • Users who need a hosted indexing service or cloud-based code analysis.
  • Teams needing general-purpose test selection across all languages; the README describes narrowing as experimental and focused on supported C/C++ test conventions.
  • Users expecting the server to edit files or execute code directly.
Required permissions
  • The server needs read access to the target code directories.
  • When using custom ast-grep configuration, it needs access to the specified configuration file.
  • Needs to read and analyze the local code, documentation, configuration, and infrastructure files selected for indexing.
  • The installer writes configuration and applicable integration files for supported clients selected by the user; details vary by client.
  • Optional shared graph snapshots require persistence to be explicitly enabled and write .codebase-memory/graph.db.zst beside the repository.
Risks and side effects
  • The project is described as experimental, so behavior or support may change.
  • Search results depend on ast-grep patterns, rules, and configuration; a missing match does not necessarily mean the target construct is absent.
  • Contents of code directories granted to the server may appear in tool results.
  • Index coverage, parsing, and static relationships have limits; a missing graph relationship does not prove that the corresponding fact is absent from the repository.
  • Optional local chat in CBM Lens can download a model, whose explanations may be inaccurate and should be checked against source.
  • Shared graph snapshots are refreshed during indexing; frequent commits can substantially grow Git history.
  • The README reports that Microsoft Defender may falsely flag a release binary as malware.
Supported clientsCursor, Claude Desktop
Tools40