mcpbeat Sign in

Codegraph MCP Server

by codegraph-ai Your server? Claim it
local only

Codegraph runs on your own machine — the client starts it, so there is no endpoint to ping. 697 installs a week from npm. Last commit 13 Sep 2026.

Semantic code graph: 42 tools, 38 languages. Callers, impact, AI context, memory, PR review.

Installs per day peak 1 873 · avg 204 · +9% w/w
a month agotoday
697
Installs / week
npm · @astudioplus/codegraph-mcp
92
Stars
0 open issues
13 Sep 2026
Last commit
0 releases in 90 days
Apache-2.0
License
C

What the code does

We read the source, 19 h ago · rules 3dff92dd89df

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

Checks whether it runs in a sandbox vscode/src/telemetry/machineProfile.ts:82
                if (fs.existsSync('/.dockerenv')) return 'container';
Runs a command on install [пакет] package.json:1
postinstall: node bin/postinstall.js
File ships in the package but is absent from the source [пакет] bin/codegraph-daemon.js:1, [пакет] bin/codegraph-mcp.js:1, [пакет] bin/fetch-engine-cli.js:1 и ещё 5
этот файл ставится пользователю, но в репозитории его нет
  const binaryPath = path.join(binDir, binaryName);
            _serverProcess = Process.Start(startInfo);
Touches key and credential files crates/codegraph-server/src/indexer.rs:235
            "**/id_rsa",
Dumps the whole environment vscode/esbuild.js:42
            __POSTHOG_KEY__: JSON.stringify(process.env.CODEGRAPH_POSTHOG_KEY ?? ''),

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add codegraph -- npx -y @astudioplus/codegraph-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "codegraph": {
      "args": [
        "-y",
        "@astudioplus/codegraph-mcp"
      ],
      "command": "npx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.codegraph]
command = "npx"
args = ["-y", "@astudioplus/codegraph-mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "codegraph": {
      "args": [
        "-y",
        "@astudioplus/codegraph-mcp"
      ],
      "command": "npx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "codegraph": {
      "args": [
        "-y",
        "@astudioplus/codegraph-mcp"
      ],
      "command": "npx"
    }
  }
}

Alternatives to Codegraph

same job, measured the same way
Girder
by dhishwasher

Local semantic code graph: source, definitions, callers, callees, impact, and semantic change review

440 installs/wk local only
sqry - Semantic Code Search
by verivusoss-releases

AST-based semantic code search: 33 tools, 35 languages, call tracing, impact analysis

local only
sqry - Semantic Code Search
by verivus-oss

AST-based semantic code search: 39 tools over 37 languages. Call tracing and impact analysis.

local only
Infimium
by aryankumar06

Private AI context layer for semantic code search, dependency graphs, memory, and workspaces.

301 installs/wk local only
TokenSave
by aovestdipaperino

Code intelligence for 15+ languages: semantic graph queries instead of file reads. 37 MCP tools.

local only
I
trelix
by sairam0424

Semantic code search for AI agents — hybrid BM25+vector, call-graph, 20+ languages.

1 185 installs/wk local only
Maguyva
by maguyva

Code intelligence for coding agents: semantic, AST, graph, and full-text search. 279+ languages.

answering
Codemunch Pro
by bigjai

Code indexing MCP: 15 tools, 10 languages, hybrid search, call graphs, O(1) retrieval.

125 installs/wk local only

Codegraph — questions

Answers built from our own checks of this server.

Why is there no uptime for Codegraph?
Codegraph runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package @astudioplus/codegraph-mcp was installed 697 times last week.
How do I connect Codegraph?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It runs locally, so the command pulls @astudioplus/codegraph-mcp straight from npm; nothing to host, nothing to sign up for.
How many people use Codegraph?
The npm package @astudioplus/codegraph-mcp was installed 697 times in the last week. Week over week that is +9%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Codegraph open source?
Yes — it is published under the Apache-2.0 licence, written in C and 92 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.