code-pathfinder
by shivasurya·★ 130·Score 49
MCP server for Code Pathfinder, providing AI assistants with access to cross-file code analysis and security scanning capabilities.
Overview
Code Pathfinder is an open-source static analysis engine that traces data flows across files and functions. The MCP server exposes tools for querying the code graph, finding callers/callees, tracing data flows, and running security rules—making these powerful analysis capabilities available to AI assistants during code review or development. It supports Python, Docker, and Docker Compose analysis with 190+ security rules that can be automatically downloaded.
Try asking AI
After installing, here are 3 things you can ask your AI assistant:
When to choose this
Choose this when you need AI assistants to have deep code security analysis capabilities beyond basic syntax checking, particularly for tracing data flows across files in complex applications.
When NOT to choose this
Don't choose this if you need support for languages other than Python, Docker, or Go, or if you require commercial support with SLAs as this is an open-source project without formal backing.
Tools this server exposes
12 tools extracted from the READMEfind_callersFind callers of a specific function in the codebase
find_calleesFind functions called by a specific function
trace_dataflowTrace data flow between source and sink points
search_patternsSearch for specific code patterns across the codebase
run_security_ruleRun a specific security rule on the codebase
analyze_projectPerform complete security analysis of the project
get_code_graphRetrieve the call graph representation of the code
query_taint_flowsQuery for tainted data flows across the codebase
list_rulesList available security rules for the codebase
get_function_infoGet detailed information about a specific function
find_vulnerabilitiesFind vulnerabilities based on predefined security rules
get_project_summaryGet a summary of the project structure and analysis
Note: Tool names inferred from the MCP server description which mentions tools for 'querying the code graph: find callers/callees, trace data flows, search for patterns, and run security rules'. The specific tool names were constructed based on t
Comparable tools
Installation
brew install shivasurya/tap/pathfinderStart the MCP server:
pathfinder serve --project .For Claude Desktop, add this to your configuration.json:
{
"mcpServers": {
"code-pathfinder": {
"command": "pathfinder",
"args": ["serve", "--project", "."]
}
}
}On Hacker News
Recent discussion from the developer community.
- Story by shivasurya · 2024-11-23
Compare code-pathfinder with
Last updated · Auto-generated from public README + GitHub signals.