CodeGraph
CodeGraph is an MCP server by codegraph-ai. CodeGraph builds a semantic graph of your codebase — functions, classes, imports, call chains — and exposes it through 42 MCP tools, 38 languages, a VS Code extension, and a persistent memory layer. AI agents get structured code understanding instead of grepping through files. It has 132 GitHub stars and ranks #482 of 2217 in Developer Tools by stars.
- Category
- Developer Tools
- Author
- codegraph-ai
- GitHub stars
- 132
- This week
- Tracking since 18 Oct 2026
- Weekly downloads
- 590
- Language
- C
- License
- Apache-2.0 (open source)
- Last update
- 2026-10-06 (18 days ago)
- Links
- Sourcenpm
How to install CodeGraph
CodeGraph is published on npm as @astudioplus/codegraph-mcp, and it is listed in the official MCP Registry. These steps assume it runs as a local stdio server, which is the usual setup.
- Check the README. Confirm the start command and note any API keys or environment variables it needs (pass them with
-e KEY=valueor anenvblock). You need Node.js fornpx. - Add it to Claude Code from a terminal:
claude mcp add CodeGraph -- npx -y @astudioplus/codegraph-mcp - Or add it to Cursor or Claude Desktop in
.cursor/mcp.jsonorclaude_desktop_config.json:{ "mcpServers": { "CodeGraph": { "command": "npx", "args": [ "-y", "@astudioplus/codegraph-mcp" ] } } } - Restart the client and check it. Run
claude mcp list, or open the client's MCP settings, and confirm CodeGraph and its tools are listed. The install guide covers VS Code and Codex.
Also listed in
Maintain this project? Get it featured ($99/mo, pinned at the top of Developer Tools) or see what featuring includes.
Report a problem with this listing
Frequently asked questions
What is CodeGraph?
CodeGraph is an MCP server by codegraph-ai in the Developer Tools category. CodeGraph builds a semantic graph of your codebase — functions, classes, imports, call chains — and exposes it through 42 MCP tools, 38 languages, a VS Code extension, and a persistent memory layer. AI... It has 132 GitHub stars and ranks #482 of 2217 in Developer Tools by stars.
Is CodeGraph free and open source?
Yes. CodeGraph is published under the Apache-2.0 license, so you can run, modify and self-host it at no cost. If it connects to a paid service, that service's own pricing and API terms still apply. Check the repository for the exact license text before using it commercially.
What are the alternatives to CodeGraph?
Other Developer Tools projects on MCP Harbor include rea, storybook, context7. Each alternative links to its own page with stars, license and recent activity. The Developer Tools category ranks all 2217 by stars, and you can re-sort it by growth this week.
Alternatives to CodeGraph
All 2217 Developer Tools MCP servers →
Data last updated . Stars and downloads are refreshed every day from GitHub and npm.