@pharaoh-so/mcp weekly downloads statistics
By pharaoh-so · npm · Claude Code
Pharaoh developer install for Claude Code, Codex and Claude Desktop: architecture tools, shell queries and agent workflows.
@pharaoh-so/mcp has 2,501 recorded weekly downloads on npm, an increase of 3.9% over the past 30 days, ranking #1813 of 3,247 tracked listings.
About @pharaoh-so/mcp
@pharaoh-so/mcp
MCP proxy for Pharaoh — maps codebases into queryable knowledge graphs for coding agents.
Pharaoh gives coding agents such as Claude Code, Cursor, Codex and OpenClaw a complete architectural map of your codebase: every function, dependency, module, and connection. Instead of reading files one at a time, your agent queries the knowledge graph and gets instant answers about blast radius, unused code, dependency chains, and more.
This package enables Claude Code to connect to Pharaoh in headless environments (VPS, SSH, containers, CI) where a browser isn't available for OAuth. It acts as a stdio-to-SSE proxy, presenting itself as a local MCP server while relaying all communication to the remote Pharaoh server.
Quick Start
Step 1 — Authenticate
Run the proxy directly to trigger the device authorization flow:
npx @pharaoh-so/mcp
This displays a device code and a URL. Open the URL on any device (phone, laptop, tablet) and enter the code to authorize. Credentials are saved to ~/.pharaoh/credentials.json and remain valid for 7 days, with automatic re-authorization when they expire.
Step 2 — Add to Claude Code
npx @pharaoh-so/mcp
Verify the connection:
claude mcp list
You should see pharaoh listed as a stdio server.
Switching from SSE
If you previously added Pharaoh as an SSE server, remove it first:
claude mcp remove pharaoh
npx @pharaoh-so/mcp
How It Works
Claude Code ← stdio → @pharaoh-so/mcp ← SSE/HTTP → mcp.pharaoh.so
The proxy implements the Model Context Protocol (MCP) specification:
- Claude Code launches the proxy as a child process and communicates via stdio (stdin/stdout)
- The proxy authenticates with Pharaoh using stored credentials (or triggers device flow)
- All MCP messages (tool calls, responses, notifications) are relayed to the remote Pharaoh server over SSE (Server-Sent Events)
- Pharaoh queries the knowledge graph and returns architectural data to the proxy
- The proxy forwards responses back to Claude Code via stdio
Authentication uses RFC 8628 (OAuth 2.0 Device Authorization Grant) — no browser is needed on the machine running Claude Code.
Available Tools
Once connected, Pharaoh provides these MCP tools:
Orient
| Tool | What it answers |
|---|---|
get_codebase_map | What modules exist and how do they relate? |
get_module_context | What does this module look like before I modify it? |
search_functions | Does this function already exist somewhere? |
pharaoh_recon | Map, module context, search and blast radius in one call |
Investigate
| Tool | What it answers |
|---|---|
get_blast_radius | What breaks if I change this function/file/module? |
Manage
| Tool | What it answers |
|---|---|
pharaoh_account | Check plan, toggle PR Guard, trigger refresh |
pharaoh_admin | Org-level administration |
Inspect Mode
Use --inspect to dump the full tool manifest as JSON (useful for MCP registry validation and debugging):
npx @pharaoh-so/mcp --inspect
This outputs the complete list of tools with their schemas and exits immediately, without connecting to the server.
CLI Options
Usage: pharaoh-mcp [options]
Options:
--server <url> Pharaoh server URL (default: https://mcp.pharaoh.so)
--logout Clear stored credentials and exit
--inspect Output tool manifest as JSON and exit
--help Show help
--version Show version number
Configuration
Credentials
Credentials are stored at ~/.pharaoh/credentials.json with 0600 permissions (owner-read/write only). The file contains:
- Access token — used to authenticate MCP requests
- Refresh token — used to obtain new access tokens when they expire
- Expiry timestamp — tokens are refreshed automatically before expiration
To clear credentials:
npx @pharaoh-so/mcp --logout
Custom Server
For self-hosted Pharaoh instances or development, register manually, pinned to a version (npx @pharaoh-so/mcp --version prints the one you have):
claude mcp add --scope user pharaoh -- npx @pharaoh-so/mcp@<version> --server https://your-pharaoh-instance.com
Environment Variables
| Variable | Default | Description |
|---|---|---|
PHARAOH_SERVER_URL | https://mcp.pharaoh.so | Pharaoh server URL (alternative to --server) |
Requirements
- Node.js >= 18
- Claude Code or any MCP-compatible agent
- A Pharaoh account — sign up at pharaoh.so
Security…
Description from the npm listing.
- mcp
- model-context-protocol
- pharaoh
- codebase
- knowledge-graph
- code-analysis
- architecture
- ai-agent
- claude
- claude-code
- developer-tools
- static-analysis
- dependency-graph
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (135)Similar npm Claude Code plugins
All 20 @pharaoh-so/mcp alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/@pharaoh-so/mcp. First seen Nov 18, 2026; last successful collection Nov 19, 2026. See the methodology.