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. 1 279 installs a week from npm. Last commit 6 Oct 2026.

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

Installs per day peak 412 · avg 135 · +56% w/w
a month agotoday
1 279
Installs / week
npm · @astudioplus/codegraph-mcp
140
Stars
2 open issues
6 Oct 2026
Last commit
3 releases in 90 days
Apache-2.0
License
C

What the code does

We read the source, 2 d ago · rules 995398eba69f

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.

Runs a command on install [пакет] package.json:1
postinstall: node bin/postinstall.js
  const binaryPath = path.join(binDir, binaryName);
In the project's build, not in the package

Found in continuous integration, deployment or infrastructure files, or in a neighbouring package of the same monorepo. None of this is installed when you add the server: it describes how the project is built and released. We list it because a leaked key in a build pipeline is still a real problem, but it is not something this server does on your machine.

Checks whether it runs in a sandbox vscode/src/telemetry/machineProfile.ts:82
                if (fs.existsSync('/.dockerenv')) return 'container';
            _serverProcess = Process.Start(startInfo);
Touches key and credential files crates/codegraph-server/src/indexer.rs:390
            "**/id_rsa",

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": {
      "command": "npx",
      "args": [
        "-y",
        "@astudioplus/codegraph-mcp"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.codegraph]
command = "npx"
args = ["-y", "@astudioplus/codegraph-mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "codegraph": {
      "command": "npx",
      "args": [
        "-y",
        "@astudioplus/codegraph-mcp"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "codegraph": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@astudioplus/codegraph-mcp"
      ]
    }
  }
}

Alternatives to Codegraph

same job, measured the same way
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.

67 installs/wk local only
TokenSave
by aovestdipaperino

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

local only
T
trelix
by sairam0424

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

1 070 installs/wk local only
Maguyva
by maguyva

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

answering
Tokennuke
by bigjai

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

82 installs/wk local only
Codemunch Pro
by bigjai

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

73 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 1 279 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 in the form 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 1 279 times in the last week. Week over week that is +56%. 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, 140 stars on GitHub and 2 open issues. The source link is on this page, so you can read exactly what it does with your data before you connect it.