EveryDev.ai
Subscribe
Home
Tools

3,419+ AI tools

  • New
  • Trending
  • Featured
  • Compare
  • Arena
Categories
  • Agents2189
  • Coding1574
  • Infrastructure698
  • Marketing534
  • Projects498
  • Research456
  • Design416
  • Analytics389
  • Testing296
  • MCP290
  • Security286
  • Data262
  • Integration197
  • Prompts189
  • Communication183
  • Extensions173
  • Learning170
  • Voice151
  • Commerce135
  • DevOps123
  • Web86
  • Finance26
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai © 2026
    1. Home
    2. Tools
    3. polycodegraph
    polycodegraph icon

    polycodegraph

    MCP Servers

    A language-agnostic code graph builder and MCP server that parses any repo into a queryable SQLite graph, enabling AI assistants like Claude Code and Cursor to trace parameters across the full stack with focused context.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Fully free and open source under the MIT license. Install via pip, use all features including the MCP server, CLI, and web dashboard at no cost.

    Engagement

    Available On

    Windows
    Web
    API
    CLI

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    MCP ServersCode IntelligenceAI Coding Assistants

    Alternatives

    SerenaFuseVibeDrift
    Developer
    mochanmochan builds polycodegraph, an open-source code graph build…

    Listed Aug 2026

    About polycodegraph

    polycodegraph is an open-source CLI tool and MCP server that parses codebases into a queryable code graph stored in a single SQLite file. Built by mochan and available on PyPI as polycodegraph, it powers AI coding assistants like Claude Code, Cursor, and Windsurf by returning small, focused subgraphs instead of flooding the context window with entire files. The project is MIT-licensed and currently at v0.1.2.

    What It Is

    polycodegraph is a code intelligence tool that uses tree-sitter to parse Python, TypeScript, JavaScript, TSX, JSX, and Go into a graph of nodes (files, classes, functions, imports) and edges (calls, imports, routes, fetches, data-flow). The graph lives in a single .codegraph/graph.db SQLite file — no daemon, no network, no external database server required. On top of that graph, it exposes a 3D web dashboard, a rich CLI, and an 18-tool MCP server that AI assistants can query directly.

    How the Graph and Data-Flow Layers Work

    The core architecture is a multi-stage pipeline:

    • R1/R2/R3 resolver stages handle per-name imports, relative imports, constructor calls, decorator stacks, self.X.Y chains, and fresh-instance binding across file boundaries.
    • DF0 captures call-site argument text at parse time (no type inference), powering edge labels and signature tooltips.
    • DF1 extracts HTTP route edges from FastAPI, Flask, and aiohttp, creating synthetic route::METHOD::/path nodes.
    • DF1.5 classifies functions by role: HANDLER, SERVICE, COMPONENT, or REPO, using 24 recognized framework decorators.
    • DF2 extracts frontend fetches (fetch, axios, useSWR, useQuery, apiClient.*) with method, URL, and body-key shape.
    • DF3 stitches URLs across the stack by normalizing placeholders (/{id} ↔ ${id} ↔ :id).
    • DF4 walks the full call graph plus DF1/DF2 edges to emit an ordered hop trace from a frontend fetch all the way to the SQL query, with per-hop argument rename annotations.

    The MCP Server and AI Assistant Integration

    The 18-tool MCP server is the primary integration surface. Running codegraph init writes a .mcp.json file that Claude Code and Cursor auto-detect when the project is opened. The same five-line JSON snippet works for Windsurf, OpenAI Codex CLI, GitHub Copilot CLI, Zed, and Continue — only the config file path changes.

    Key MCP tools include:

    • find_symbol, callers, callees, blast_radius, subgraph — structural graph queries
    • dead_code, cycles, untested, hotspots, metrics — code health analysis
    • semantic_search, hybrid_search — embedding-based retrieval (requires codegraph embed)
    • dataflow_routes, dataflow_fetches, dataflow_trace — cross-stack tracing
    • workspace_state, workspace_diff_since, workspace_blast_radius — multi-repo workspace queries

    The README's benchmark compares four configurations of Claude Sonnet 4.6 answering 10 questions across two real codebases. According to the vendor-published results, adding the polycodegraph MCP alongside Claude's native grep tools matched the correctness of grep-only at roughly 3× lower token cost and 4× lower latency, because the MCP returns 20–50 token subgraphs instead of whole file dumps.

    Local Embeddings and Semantic Search

    Installing the optional [embed] extra and running codegraph embed chunks the repository and embeds it using nomic-ai/CodeRankEmbed (Apache 2.0, approximately 140 MB), running entirely locally with no API keys required. This unlocks semantic_search and hybrid_search in the MCP server, where hybrid search combines 0.6 × cosine similarity with 0.4 × graph-distance for reranking around a focal function.

    Update: v0.1.2

    The latest release is v0.1.2, published May 31, 2026, following the initial v0.1.0 PyPI launch. The roadmap lists v0.1.2 as targeting TypeScript R2 resolver patterns (path aliases, fresh-instance binding, decorator edges) and CLI HANDLER classification for Typer/Click. Planned v0.2 will rename the CLI binary from codegraph to polycodegraph (keeping codegraph as a deprecated alias) and extend codegraph init to write to every detected client's global MCP config automatically. The project currently has 13 stars and 2 forks on GitHub, with 637 tests passing (537 Python pytest + 100 Node tests) and 0 dead-code findings on its own self-graph.

    polycodegraph - 1

    Community Discussions

    Be the first to start a conversation about polycodegraph

    Share your experience with polycodegraph, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    Fully free and open source under the MIT license. Install via pip, use all features including the MCP server, CLI, and web dashboard at no cost.

    • Full code graph builder (Python, TS/JS, Go)
    • 18-tool MCP server
    • 3D web dashboard
    • Dead code, cycle, and hotspot detection
    • PR-review CI integration

    Capabilities

    Key Features

    • Parse any repo into a queryable SQLite code graph
    • 18-tool MCP server for Claude Code, Cursor, and Windsurf
    • Cross-stack end-to-end trace from frontend fetch to SQL query (DF4)
    • Decorator-aware dead code detection (24 framework decorators)
    • Role classification: HANDLER, SERVICE, COMPONENT, REPO
    • 3D focus-mode web dashboard
    • Architecture view with Learn Mode request lifecycle animation
    • Local embeddings with nomic-ai/CodeRankEmbed (no API key)
    • Semantic and hybrid search MCP tools
    • PR-review CI with graph-diff against main branch
    • Call/import cycle detection
    • Hotspot and untested function detection
    • Cross-repo workspace mode
    • Support for Python, TypeScript, JavaScript, TSX, JSX, and Go
    • Single SQLite file, no daemon, no network required
    • Argument-level data flow text capture (DF0)

    Integrations

    Claude Code
    Cursor
    Windsurf
    OpenAI Codex CLI
    GitHub Copilot CLI
    Zed
    Continue
    FastAPI
    Flask
    aiohttp
    Express
    NestJS
    SQLAlchemy
    Prisma
    Celery
    pytest
    tree-sitter
    nomic-ai/CodeRankEmbed
    GitHub Actions
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate polycodegraph and help others make informed decisions.

    Developer

    mochan

    mochan builds polycodegraph, an open-source code graph builder and MCP server that parses repositories into queryable SQLite graphs for AI coding assistants. The project focuses on cross-stack tracing, decorator-aware dead code detection, and reducing AI context-window overhead by returning focused subgraphs instead of whole files. polycodegraph is MIT-licensed and available on PyPI, with commercial support and custom licensing available for enterprise teams.

    Read more about mochan
    WebsiteGitHub
    1 tool in directory

    Similar Tools

    Serena icon

    Serena

    An open-source MCP toolkit that gives AI coding agents IDE-level semantic code retrieval, editing, and refactoring capabilities across 40+ programming languages.

    Fuse icon

    Fuse

    Local MCP server for .NET that provides persistent semantic indexing via MSBuild and Roslyn, DI wiring resolution, reduced task-scoped source, and pre-write compiler verification for coding agents.

    VibeDrift icon

    VibeDrift

    VibeDrift is an open-source CLI and MCP server that detects and prevents AI coding agent drift by scanning your codebase for architectural inconsistencies, duplicates, and convention violations across sessions.

    Browse all tools

    Related Topics

    MCP Servers

    Model Context Protocol servers that extend AI capabilities.

    168 tools

    Code Intelligence

    AI tools that analyze, generate, and transform code through natural language understanding and programming language comprehension.

    90 tools

    AI Coding Assistants

    AI tools that help write, edit, and understand code with intelligent suggestions.

    711 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions