Best for
- Security teams that need local code-structure analysis and security scanning.
- Projects using Python, Dockerfiles, or Docker Compose.
- Development teams that want Claude Code, Cursor, or Cline to access call-graph and security analysis.
The supplied sources identify Code Pathfinder as an Apache-2.0 open-source security analysis MCP server, version 2.1.1, distributed through PyPI and OCI and using stdio transport. Its main capability is cross-file and cross-function dataflow and taint analysis. The sources do not provide concrete MCP tool identifiers, client configuration examples, or client authentication details.
Code Pathfinder is an open-source static analysis and security scanning engine that can also run as an MCP server. It builds abstract syntax trees, call graphs, and variable dependency graphs for Python projects, then performs cross-file and cross-function dataflow and taint analysis. The README describes caller and callee queries, dataflow tracing, structural search, and security-rule scanning. The manifest also describes call graphs, type inference, and symbol search for Python/Go; the README marks Python, Dockerfiles, and Docker Compose as stable, while Go is coming soon.
Install codepathfinder from PyPI, or use the manifest's Docker image docker.io/shivasurya/code-pathfinder:v2.1.1. Start the stdio server with pathfinder serve --project .; --project selects the project root to index and defaults to the current directory. The README also documents Homebrew, pre-built binaries, and building from source. Rules are downloaded automatically from a CDN, and the README states that no API keys or cloud accounts are required.