Who it is forA developer using an MCP client that is not one of the named plugin agents and who wants the graph inside it.
The problemWithout a server entry, the graph built by the engine is only reachable from the shell, not from the agent handling the task.
The outcomeAn MCP client that starts the axiomcode server and can answer code questions from the same graph the CLI uses.
What you need first
- Node.js 22.13 or newer
- Python 3 (python3, or python or py on Windows)
- Git for Windows on Windows, since the CLI runs under its bash
- A supported AI agent or any MCP client, if you want agent use
Steps
- Install Node.js 22.13 or newer and Python 3.
- Add the entry below to your MCP client config file, using its server section:
- { "mcpServers": { "axiomcode": { "command": "npx", "args": ["-y", "@axiomcode/code-graph", "mcp"] } } }
- Start a new session in your MCP client so it loads the server.
- Ask the client a call-path question about one function in your project and check the result against
axiomcode path <caller> <target>from the shell. (inferred, check the README)
Prompt for your agent
Using the axiomcode MCP server in <repo>, find the call path to <target> and list each hop with file and line. Expect the same hops that `axiomcode path` prints in the shell. Verify that both outputs match before reporting.
Caveat. The MCP server runs through npx, so the first start needs network access to fetch the package, and the README does not list the four MCP tool names beyond the ones shown in examples.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for AxiomCodeAI/axiomcodegraph and "Connect any MCP client to the code graph"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer