Add this MCP server to your AI agent.
Auth flow starts. GitHub app installs. You're in.
https://pharaoh-mcp.onrender.com/sse
- or install via Claude Code -
$ claude mcp add pharaoh --transport sse https://pharaoh-mcp.onrender.com/sse
01
Add MCP server URL to your AI client
02
Authorize via OAuth & install GitHub app
03
Your repos are mapped. Start querying.
Works with Claude · Cursor · Windsurf · any MCP client
☆ NOW IN BETA ☆ - Your codebase → Neo4j knowledge graph → MCP tools your AI agent can query - 2K tokens instead of 40K - No more blind coding - No more duplicate functions - ☆ PHARAOH SEES ALL ☆ - Maps modules, deps, endpoints, crons, env vars, blast radius - ☆ FROM $39/mo ☆ - ☆ NOW IN BETA ☆ - Your codebase → Neo4j knowledge graph → MCP tools your AI agent can query - 2K tokens instead of 40K - No more blind coding - No more duplicate functions - ☆ PHARAOH SEES ALL ☆ - Maps modules, deps, endpoints, crons, env vars, blast radius - ☆ FROM $39/mo ☆ -
WITHOUT PHARAOH
Reads files one at a time
Burns 40K tokens exploring
Misses cross-module deps
Writes duplicate functions
PRDs based on vibes
Refactors break callers
No idea what hits prod
WITH PHARAOH
Full architecture in 2K tokens
Knows before it touches
Traces 5-hop dep chains
Finds existing code first
PRDs from ground truth
Blast radius before changes
Every endpoint mapped
▵ HOW THE PYRAMID IS BUILT ▵
1.
Install the GitHub App, pick your repos. Tree-sitter parses every file. TypeScript and Python today - more languages coming.
2.
Modules, functions, dependencies, endpoints, cron jobs, DB tables, env vars - all extracted into a Neo4j knowledge graph.
3.
Your AI agent connects via MCP. Thirteen tools. Full architectural awareness. Structured intelligence, not raw file dumps.
pharaoh-mcp-session - claude code
claude> "What breaks if I rename formatMessage?"
┌──pharaoh:get_blast_radius──┐│Risk:HIGH│Direct callers:4 (across 3 modules)│Transitive impact:12 functions│!!Affects endpoints:│POST /api/notifications/send│POST /api/slack/webhook│!!Affects cron:│daily-digest (09:00 UTC)└──────────────────────────────┘claude> "Is there already a retry wrapper?"
┌──pharaoh:search_functions──┐│Found:withRetry()│src/utils/resilience.ts:42│exported:yesasync:yescomplexity:8│Used by6 callers across 3 modules└──────────────────────────────┘→ Agent imports existing function instead of writing a new one.
☆ 13 SACRED TOOLS ☆
◈
Codebase Map
Full structural overview - modules, dependency graph, entry points, hot files. The 30-second briefing your AI never had.
◇
Module Context
Everything about a module before you touch it - functions, exports, internal deps, complexity scores. Context, not guesswork.
△
Function Search
Find existing functions before writing new ones. Name, signature, location, callers - so your AI reuses instead of reinventing.
▽
Blast Radius
See every caller, transitive dependent, and affected endpoint before changing a function. Know the damage radius first.
⬡
Regression Risk
Score every function by how likely a change breaks production. Complexity, exposure, churn - ranked so you know where to be careful.
◎
Reachability Check
Verify new code is actually wired into your app. If nothing calls it from a real entry point, Pharaoh flags it before it ships.
◑
Vision Gaps
What's specified but not built? What's built but not specified? Finds the drift between your docs and your code.
UnderstandCodebase Map, Module Context, Function Search
CleanDead Code Detection, Consolidation Opportunities, Test Coverage Map
AlignVision Docs, Vision Gaps
ScaleCross-Repo Audit, Dependency Paths
▵ WHO ENTERS THE TOMB ▵
Solo founders & small teams
You can't hire a CTO to hold the architecture in their head. Pharaoh holds it in a graph.
AI-native dev teams
Your agents are coding blind. Give them sight. 2K tokens of structured intelligence beats 40K of file dumps.
Anyone shipping with Claude Code, Cursor, or Windsurf
If your agent touches code, it should know the codebase first. Not hope. Know.
☆ FREE & OPEN SOURCE ☆
FREE
AI Code Quality Framework
AI coding tools are fast - but they silently accumulate debt. Unused imports, orphan exports, tests that can't actually fail.
This framework makes bad output impossible through deterministic enforcement: real-time hooks, mutation testing, dead code detection, and CI gates.