Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.
PopNx MCPMCP servers for people who use AI · explained in plain words

Code Pathfinder

by shivasuryaversion 2.1.1i★ 143iRuns on your computer
Registry namedev.codepathfinder/pathfinder

How to install

What it does

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

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Developer tools

Install

Pick the AI app you use, then copy the settings.

Passed 3/3 checks · Runs on your computer

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

  1. Install Python (uv)

    One time only; it works for every server that needs Python (uv)

    Open the Python (uv) download page ↗

  2. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  3. Paste these settings and save the file

    {
      "mcpServers": {
        "pathfinder": {
          "command": "uvx",
          "args": [
            "codepathfinder",
            "serve",
            "--project",
            "."
          ]
        }
      }
    }
  4. Quit Claude and open it again

  5. Try it

    Use Code Pathfinder and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Code Pathfinder or shows a Code Pathfinder tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Code Pathfinder yet

Code Pathfinder runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Code Pathfinder

  • Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • Install Python (uv) on your computer first (one time)
  • Install Python (uv) on your computer first (one time)
  • Install Python (uv) on your computer first (one time)

B · Others in Developer tools that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

Install Python (uv) on your computer first (one time)

  1. Install Python (uv)

    One time only; it works for every server that needs Python (uv)

    Open the Python (uv) download page ↗

  2. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  3. Paste this command and press Enter

    claude mcp add pathfinder -- uvx codepathfinder serve --project .
  4. Type /mcp in Claude Code

    You should see Code Pathfinder listed as connected

  5. Try it

    Use Code Pathfinder and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Code Pathfinder or shows a Code Pathfinder tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

Install Python (uv) on your computer first (one time)

  1. Install Python (uv)

    One time only; it works for every server that needs Python (uv)

    Open the Python (uv) download page ↗

  2. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  3. Open the AI chat in Cursor in Agent mode

  4. Try it

    Use Code Pathfinder and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Code Pathfinder or shows a Code Pathfinder tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

Install Python (uv) on your computer first (one time)

  1. Install Python (uv)

    One time only; it works for every server that needs Python (uv)

    Open the Python (uv) download page ↗

  2. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  3. Open the AI chat in VS Code in Agent mode

  4. Try it

    Use Code Pathfinder and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Code Pathfinder or shows a Code Pathfinder tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Code Pathfinder💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add pathfinder -- uvx codepathfinder serve --project .

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "pathfinder": {
      "command": "uvx",
      "args": [
        "codepathfinder",
        "serve",
        "--project",
        "."
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "pathfinder": {
      "command": "uvx",
      "args": [
        "codepathfinder",
        "serve",
        "--project",
        "."
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "pathfinder": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "codepathfinder",
        "serve",
        "--project",
        "."
      ]
    }
  }
}

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
117/wk
Verified domain
✓ codepathfinder.dev
Licencei
Apache-2.0
Connection
Runs on your computer
Latest versioni
2.1.1
Published to registryi
Apr 26, 2026
Code last changedi
Jul 11, 2026
Maker
shivasurya
Packages
pypi: codepathfinder
oci: docker.io/shivasurya/code-pathfinder:v2.1.1
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 12, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified against the domain codepathfinder.dev (the registry checks domain ownership)

  • ✓ Pass

    Still maintained

    Code last changed 4 months ago

  • ✓ Pass

    Has a licence

    Uses Apache-2.0

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in with Google to post

User reviews

No reviews yet

Sign in with Google to write a review

Compared with others in Developer toolsi

  • More stars than 97% of the other 5785 servers in this category
  • Published to the registry more recently than 10% of the other 5785 servers in this category
  • Basic checks equal to or better than 100% of the other 5785 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Code Pathfinder safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 4 months ago, and the latest version (2.1.1) reached the registry 7 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv), Docker on your computer.

What can I use instead?

In the same category: REA, Netdata, Front-End Checklist

Alternatives

Servers in the same category from other makers, sorted by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

REA

Reverse engineer anything from your terminal or agent with one CLI and MCP server.

by morlutoWidely used↓ 388.7K/wk★ 451.3KUpdated 18 days ago

Runs on your computer

Netdata

Real-time infrastructure monitoring with metrics, logs, alerts, and ML-based anomaly detection.

by netdataWidely used★ 81.4KUpdated 7 days ago

Runs in the cloud

Front-End Checklist

Review frontend code and live pages against 386 quality-gated web development rules.

by thedaviddiasWidely used★ 74.7KUpdated 38 days ago

Runs in the cloud

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

Open-source SAST engine that traces vulnerabilities across files and functions

Website · Docs · Rule Registry · MCP Server · Blog


Quick Start

Install:

brew install shivasurya/tap/pathfinder

Scan a Python project (rules download automatically):

pathfinder scan --ruleset python/all --project .

Scan Dockerfiles:

pathfinder scan --ruleset docker/all --project .

No config files, no API keys, no cloud accounts. Results in your terminal in seconds.


What is Code Pathfinder?

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.

v2.0 introduces cross-file dataflow analysis: trace user input from an HTTP handler in one file through helper functions and into a SQL query in another file. This is the kind of analysis that pattern-matching tools miss entirely.

Cross-File Taint Analysis

Most open-source SAST tools operate on single files. Code Pathfinder v2.0 tracks tainted data across file boundaries:

app.py:5    user_input = request.get("query")     ← Source: user-controlled input

↓ calls db.py:12 cursor.execute(query) ← Sink: SQL execution

The engine builds a Variable Dependency Graph (VDG) per function, then connects them through inter-procedural taint transfer summaries. When user_input flows into a function parameter in another file, the taint propagates through the call graph to the sink.

How It Works
Source Code → Tree-sitter AST → Call Graph → Variable Dependency Graph → Taint Analysis → Findings

↓ Inter-procedural Taint Summaries (cross-file flows)

  1. Parse: Tree-sitter builds ASTs for Python, Dockerfiles, and Docker Compose files
  2. Index: Extract functions, call sites, parameters, and assignments into a queryable call graph
  3. Analyze: Build VDGs per function, resolve inter-procedural flows, run taint analysis
  4. Detect: Python-based security rules query the graph to find source-to-sink paths
  5. Report: Output findings as text, JSON, SARIF (GitHub Code Scanning), or CSV

190 Security Rules, Ready to Use

Rules download from CDN automatically. No need to clone the repo or manage rule files.

LanguageBundlesRulesCoverage
[Python](https://codepathfinder.dev/registry/python)django, flask, aws_lambda, cryptography, jwt, lang, deserialization, pyramid158SQL injection, RCE, SSRF, path traversal, XSS, deserialization, crypto misuse, JWT vulnerabilities
[Docker](https://codepathfinder.dev/registry/docker)security, best-practice, performance37Root user, exposed secrets, image pinning, multi-stage builds, layer optimization
[Docker Compose](https://codepathfinder.dev/registry/docker-compose)security, networking10Privileged mode, socket exposure, capability escalation, network isolation
# Scan with a specific bundle

pathfinder scan --ruleset python/django --project .

Scan with multiple bundles

pathfinder scan --ruleset python/flask --ruleset python/jwt --project .

Scan a single rule

pathfinder scan --ruleset python/PYTHON-DJANGO-SEC-001 --project .

Scan all rules for a language

pathfinder scan --ruleset python/all --project .

Browse all rules with examples and test cases at the Rule Registry.

MCP Server for AI Coding Assistants

Code Pathfinder runs as an MCP server, giving Claude Code, Cursor, Cline, and other AI assistants access to call graphs, data flows, and security analysis. More context than LSP, focused on security and code structure.

pathfinder serve --project .

The MCP server exposes tools for querying the code graph: find callers/callees, trace data flows, search for patterns, and run security rules — all available to the AI assistant during code review or development.

Write Custom Rules

Security rules are Python scripts using the PathFinder SDK. Define sources, sinks, and sanitizers — the dataflow engine handles the analysis.

Here's a real rule from the repo (PYTHON-DJANGO-SEC-001) that detects SQL injection in Django:

from codepathfinder import calls, flows, QueryType

from codepathfinder.presets import PropagationPresets

class DBCursor(QueryType): fqns = ["sqlite3.Cursor", "psycopg2.extensions.cursor"] match_subclasses = True

@python_rule( id="PYTHON-DJANGO-SEC-001", name="Django SQL Injection via cursor.execute()", severity="CRITICAL", cwe="CWE-89", ) def detect_django_cursor_sqli(): return flows( from_sources=[ calls("request.GET.get"), calls("request.POST.get"), ], to_sinks=[ DBCursor.method("execute").tracks(0), calls("cursor.execute"), ], sanitized_by=[calls("escape"), calls("escape_string")], propagates_through=PropagationPresets.standard(), scope="global", # cross-file taint analysis )

# Run your custom rules

pathfinder scan --rules ./my_rules/ --project .

Explore all 190 rules in the rules/ directory or browse the Rule Registry. See the rule writing guide and dataflow documentation to write your own.

See the rule writing guide and dataflow documentation for more.

Installation

Homebrew (Recommended)
brew install shivasurya/tap/pathfinder
pip

Installs the CLI binary and Python SDK for writing rules.

pip install codepathfinder
Docker
docker pull shivasurya/code-pathfinder:stable-latest

docker run --rm -v "$(pwd):/src" \ shivasurya/code-pathfinder:stable-latest \ scan --ruleset python/all --project /src

Pre-Built Binaries

Download from GitHub Releases for Linux (amd64, arm64), macOS (Intel, Apple Silicon), and Windows (x64).

From Source
git clone https://github.com/shivasurya/code-pathfinder

cd code-pathfinder/sast-engine gradle buildGo ./build/go/pathfinder --help

Usage

# Scan with text output (default)

pathfinder scan --ruleset python/all --project .

JSON output

pathfinder scan --ruleset python/all --project . --output json --output-file results.json

SARIF output (GitHub Code Scanning)

pathfinder scan --ruleset python/all --project . --output sarif --output-file results.sarif

CSV output

pathfinder scan --ruleset python/all --project . --output csv --output-file results.csv

Fail CI on critical/high findings

pathfinder scan --ruleset python/all --project . --fail-on=critical,high

MCP server mode

pathfinder serve --project .

Verbose output with statistics

pathfinder scan --ruleset python/all --project . --verbose

GitHub Action

name: Code Pathfinder Security SAST Scan

on: pull_request:

permissions: security-events: write contents: read pull-requests: write

jobs: security-scan: runs-on: ubuntu-latest steps:

  • uses: actions/checkout@v6 with: fetch-depth: 0
  • name: Run Security Scan uses: shivasurya/code-pathfinder@v2.1.1 with: ruleset: python/all, docker/all, docker-compose/all verbose: true pr-comment: ${{ github.event_name == 'pull_request' }} pr-inline: ${{ github.event_name == 'pull_request' }} github-token: ${{ secrets.GITHUB_TOKEN }}
  • name: Upload SARIF uses: github/codeql-action/upload-sarif@v4 if: always() with: sarif_file: pathfinder-results.sarif

See the full example: .github/workflows/code-pathfinder-scan.yml

Action Inputs

InputDescriptionDefault
rulesPath to local Python rule files or directory-
rulesetRemote ruleset(s), comma-separated (e.g., python/all, docker/security)-
projectPath to source code.
outputOutput format: sarif, json, or csvsarif
output-fileOutput file pathpathfinder-results.sarif
fail-onFail on severities (e.g., critical,high)-
verboseEnable verbose outputfalse
debugEnable debug diagnostics with timestampsfalse
skip-testsSkip test filestrue
refresh-rulesForce refresh cached rulesetsfalse
disable-metricsDisable anonymous usage metricsfalse
python-versionPython version to use3.12
pr-commentPost summary comment on pull requestfalse
pr-inlinePost inline review comments for critical/high findingsfalse
github-tokenGitHub token (required when pr-comment or pr-inline is enabled)-
no-diffDisable diff-aware scanning (scan all files)false

Either rules or ruleset is required.

Supported Languages

LanguageAnalysisStatus
PythonCross-file dataflow, taint analysis, call graphsStable
DockerfileInstruction analysis, security patternsStable
Docker ComposeConfiguration analysis, security patternsStable
GoAST analysis, call graphsComing soon

Contributing

Contributions are welcome. Read the Contributing Guide for setup instructions, how to run tests locally, and the PR process.

Pushing an in-product announcement

In-product announcements (workshops, blog posts, security advisories) are managed via release/latest.json. Add an entry to announcements[], open a PR, and once it merges to main the publish workflow uploads the manifest to the CDN within ~60 seconds. See the version-update-check tech spec for the schema and version_range semantics.

All contributors must sign the Contributor License Agreement (CLA) before any pull request can be merged.

Only the beginning is shown; read the rest in the repo