Code Pathfinder MCP Server

Code intelligence MCP server: call graphs, type inference, and symbol search for Python/Go.

Local serverstdioPython

What is the Code Pathfinder MCP server?

Code intelligence MCP server: call graphs, type inference, and symbol search for Python/Go. The code pathfinder mcp server wraps that behind the Model Context Protocol, so an assistant can use it rather than through you.

What it actually does

Code Pathfinder is an open-source static analysis engine that builds a graph of your codebase and traces how data flows through it. It parses source code into Abstract Syntax Trees, constructs call graphs across files, and runs taint analysis to find source-to-sink vulnerabilities that span multiple files and function boundaries.

Adding it to your client

The server ships on PyPI as codepathfinder, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

Configuration

You will need one environment variable: GITHUB_TOKEN. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the code pathfinder mcp server does with a few real requests.

When to reach for it

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. It is maintained by dev.codepathfinder; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Code Pathfinder's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

How to install the Code Pathfinder MCP server

{
  "mcpServers": {
    "pathfinder": {
      "command": "uvx",
      "args": ["codepathfinder"],
      "env": {
        "GITHUB_TOKEN": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
GITHUB_TOKENCredential the server authenticates with.Yes

Frequently asked questions

It connects Code Pathfinder to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with Code Pathfinder directly.