CodeGraph

InstallView on GitHub

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.

  1. Check the README. Confirm the start command and note any API keys or environment variables it needs (pass them with -e KEY=value or an env block). You need Node.js for npx.
  2. Add it to Claude Code from a terminal:
    claude mcp add CodeGraph -- npx -y @astudioplus/codegraph-mcp
  3. Or add it to Cursor or Claude Desktop in .cursor/mcp.json or claude_desktop_config.json:
    {
      "mcpServers": {
        "CodeGraph": {
          "command": "npx",
          "args": [
            "-y",
            "@astudioplus/codegraph-mcp"
          ]
        }
      }
    }
  4. 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

reaTrending★ 374,738
morluto · TypeScript+72,150 stars this week (+23.8%)
Reverse engineer anything with agents, from app behavior down to native binaries.
storybook★ 91,361
storybookjs · TypeScript
Storybook is the industry standard workshop for building, documenting, and testing UI components in isolation
upstash · TypeScript+372 stars this week (+0.6%)
Context7 Platform -- Up-to-date docs for AI agents
GitNexus★ 48,013
abhigyanpatwari · TypeScript
GitNexus: The Zero-Server Code Intelligence Engine
DeusData · C+622 stars this week (+1.3%)
Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.
github · Go+219 stars this week (+0.7%)
GitHub's official MCP Server

All 2217 Developer Tools MCP servers →

Data last updated . Stars and downloads are refreshed every day from GitHub and npm.

Contact MCP Harbor

We reply by email. You can also write to hello@spone.io.

Report a problem with this listing

CodeGraphcodegraph-ai · /tools/codegraph-ai-codegraph/

We reply by email.