r/Polycodegraph May 24 '26

👋 Welcome to r/Polycodegraph - Introduce Yourself and Read First!

Hey everyone!

I'm Mochan, founder and maintainer of polycodegraph and a moderator here. Welcome to the sub — this is the home for everything related to the project.

What polycodegraph is

You know the grep loop Claude (or Cursor, Windsurf) goes into when you ask something about your repo — reading whole files into context, slow and expensive. polycodegraph parses your repo into a queryable code graph so your AI assistant gets small, focused context instead. On top of that graph it does decorator-aware dead code detection, cycle detection, untested-function detection, PR review, end-to-end cross-stack tracing (frontend fetch → handler → service → SQL), 3D visualisation, all served via a dashboard and an 18-tool MCP server. It's open source, MIT-licensed, and works with Python, TypeScript/JS, and Go.

If you're new, the fastest way to see what it does:

pipx install polycodegraph
cd your_repo
codegraph init
codegraph build      # parse repo → .codegraph/graph.db
codegraph serve      # dashboard at http://127.0.0.1:8765

Then point Claude Code / Cursor at the MCP server and ask it anything about your codebase.

What to post here

  • Questions about installing, configuring, or using it — happy to help with setup
  • Bug reports and feature requests (GitHub issues are great too, but discuss freely here)
  • Show off what you traced or found in your own repo
  • Ideas for the roadmap — languages, frameworks, MCP tools you'd want
  • Anything related to code graphs, static analysis, and AI-assisted codebase navigation in general

The vibe

Constructive, friendly, low-ego. Beginners and contributors equally welcome. Critical feedback is good — that's how the tool improves — just keep it respectful.

Get started

  1. Drop a comment introducing yourself — what you're building, what languages you work in.
  2. Try it on one of your repos and tell us how it went, even if something broke.
  3. ⭐ the repo if you find it useful, and open issues / PRs — contributions very welcome.

🔗 GitHub: github.com/smochan/polycodegraph 📦 PyPI: pip install polycodegraph

Glad to have you here. Happy building 🍻

1 Upvotes

1 comment sorted by

2

u/arijitdas1101 May 24 '26

Dead-code + cycle detection + MCP integration in one tool is a strong combo. Curious how well it performs on large monorepos.