Your agents break less code and burn fewer tokens — deterministic call/import graph + 27 MCP tools for coding agents. Claude Code plugin & MCP server; zero deps, runs 100% locally.
claude mcp add codeweb -- npx -y @ghostlygawd/codeweb{
"mcpServers": {
"codeweb": {
"command": "npx",
"args": ["-y", "@ghostlygawd/codeweb"]
}
}
}Resumen de MCP Servers
<div align="center"> <img src="assets/brand/banner.png" alt="codeweb — your coding agents grep. codeweb knows." width="100%"> [](https://github.com/GhostlyGawd/codeweb/actions/workflows/ci.yml) [](https://www.npmjs.com/package/@ghostlygawd/codeweb) [](LICENSE) **Free & MIT-licensed. Runs entirely on your machine — no account, no server, no telemetry. Reads your code; never executes it.** **[Website](https://ghostlygawd.github.io/codeweb/)** · [See it in action](#see-it-in-action) · [Install](#install) · [Use](#use) · [For agents (MCP)](#use-it-as-an-mcp-tool) · [How it works](#how-it-works) · [Changelog](CHANGELOG.md) </div> **Your agents break less code and burn fewer tokens.** codeweb reads your code and maps it: every function, and every call between them (~3 s for 3,000 symbols). It's static analysis — no LLM — so the same code always produces the same map. Your coding agents query the map instead of grepping. With grep, agents miss more than half of a function's real callers ([measured](https://ghostlygawd.github.io/codeweb/research.html)). They break the code they can't see. - **For agents:** an MCP server with 27 tools — `codeweb_impact`, `codeweb_callers`, `codeweb_find_similar`, and 24 more. - **Answers:** exact, instant, tiny. Your agents keep their context for the real work. - **For you:** the supporting view — an interactive map of the whole codebase. The map also shows things you can't see from inside one file: **duplicated logic, dead code, hotspots, and tangled domains**. --- ## Try it on your repo ``` cd your-project npx -y @ghostlygawd/codeweb . ``` Three seconds for 3,000 symbols. Open `.codeweb/report.html` — that's your map. ## See it in action Every screenshot below is a real generated report of **axios** (274 symbols, 8 domains). No mockups. codeweb found 3 real duplications in axios and dismissed 12 false positives — [the case study](docs/case-study-axios.md). Or [click around the live map](https://ghostlygawd.github.io/codeweb/demo/). ### Know what an edit breaks — before you write Click any function in the [living map](https://ghostlygawd.github.io/codeweb/) and its **blast radius** lights up: everything your change would touch. Your agents get the same answer over MCP (`codeweb_impact`) — before they write a line. <div align="center"> <img src="assets/screens/axios-blast-radius.png" alt="codeweb blast radius: AxiosError selected in the axios graph — the selected block wears the accent with a viewfinder frame, blast edges lit across three domains, 27 callers listed in the inspector" width="760"> <br><sub>Selecting <code>AxiosError</code> in axios lights up its <b>27 callers across the domains that depend on it</b> — try it yourself in the <a href="https://ghostlygawd.github.io/codeweb/">living map</a>.</sub> </div> ### Navigate the whole system A force-directed map of every symbol, collapsible to domains. Search, drag, zoom, and click any node to trace what depends on it and what it reaches. <img src="assets/screens/axios-graph.png" alt="codeweb Graph tab on axios: eight domain blocks (helpers, core, adapters, cancel, defaults, platform) sized by symbol count and linked by stippled call edges" width="100%"> ### Findings — stop guessing what to refactor Ranked **duplication** (the same function defined across many files), the most depended-on **hotspots** to change with care, and likely-**dead code** — every row clickable to inspect what calls it and what it calls. <img src="assets/screens/axios-findings.png" alt="codeweb Findings tab on axios: ranked duplication, hotspots, and likely-dead code, with a clickable detail panel" width="100%"> ### See duplication density, and where domains tangle <table> <tr> <td width="50%" valign="top"> <img src="assets/screens/axios-treemap.png" alt="codeweb Treemap on axios: every file sized by lines of code, duplication density carried by a dark-to-lime lightness ramp"> <br><b>Treemap</b> — every file sized by lines of code; the brighter a block, the more of it is duplicated. The bright blocks are your consolidation targets, at a glance. </td> <td width="50%" valign="top"> <img src="assets/screens/axios-matrix.png" alt="codeweb Matrix on axios: a heatmap of call coupling between domains"> <br><b>Matrix</b> — domain-to-domain coupling. A big off-diagonal cell means two domains are tangled: merge them, or put a clean interface between them. </td> </tr> </table> <div align="center"> <img src="assets/brand/demo.svg" alt="The codeweb pipeline: extract → cluster → overlap → render, looping" width="840"> <br><sub>The deterministic pipeline, looping: extract → cluster → overlap → render.</sub> </div> --- codeweb works at **symbol resolution** — functions, classes, and methods, and the call/import edges between them. File-level scanners can tell you two *modules* look alike; codeweb tells you two *functions* are the same work, who calls each, and what merging them would break. ## Benchmarks - **Finding callers before an edit** — agents found **74%** of a function's real callers with codeweb, **44%** with grep, at the same context spend. Missed callers are how edits break working code. - **"What breaks if I change this?"** — one codeweb call, one small answer. Agents grepping for the same answer needed ~5 rounds of search and **126× the tokens**, and still guessed. - **Duplicate detection** — codeweb caught **every planted duplicate with zero false alarms**, including renamed copies. Text search catches renamed copies 0% of the time. - **Trust the answers** — checked against the TypeScript compiler and other independent implementations **490,000+ times: zero disagreements**. - **Speed** — first map in **~3 s** on a 3,000-symbol repo. Queries answer in **~0.1 s**. A repo twice the size maps in ~1.3× the time. - **Known limits** — re-mapping after huge edits is slower than we'd like. On simple tasks, agents did fine without codeweb. Methodology, raw data, and per-claim receipts: [the evidence ledger](https://ghostlygawd.github.io/codeweb/research.html). Benchmark your own repo: `npm run bench -- <path>/.codeweb/graph.json`. CI re-runs the performance budgets on every PR; breaking a published number fails the build. codeweb also keeps a local tally of what it actually did for you — `npm run stats`: ``` codeweb this month: 41 pre-edit card(s) · 5 card-named caller(s) followed · 2 regression(s) flagged · 120 queries served ``` Considering a dependency? Point codeweb at any repo you don't own yet (`/codeweb https://github.com/owner/repo`): it clones *read-only*, maps it, and appends an adoption review. codeweb never executes target code. ## Install **Free & MIT-licensed. Runs entirely on your machine — no account, no server, no telemetry. Reads your code; never executes it.** - Requires **Node.js ≥ 22**. That's it. - Zero required dependencies — runs on an empty `node_modules`, CI-verified. - One *optional* wasm grammar (`web-tree-sitter`) sharpens extraction. Never required. - Releases publish from CI with **npm provenance**. Verify with `npm audit signatures`. **Using Claude Code?** The plugin adds the `/codeweb` command, ambient pre-edit impact cards, and all 27 tools: ``` /plugin marketplace add GhostlyGawd/codeweb /plugin install codeweb ``` Then restart Claude Code so the `/codeweb` command, agents, and skill register. **Using Cursor, Windsurf, or another MCP agent?** Register the same zero-dependency stdio server (shown with Claude Code's syntax — swap in your client's add-server command): ``` claude mcp add codeweb -- npx -y -p @ghostlygawd/codeweb codeweb-mcp ``` **Just want the map — no AI involved?** One command, from your project directory: ``` cd your-project npx -y @ghostlygawd/codeweb . # ~3 s for 3,000 symbols — then open .codeweb/report.html ``` *Not sure? Run the npx one-liner — it's the whole map, no install, nothing to undo.* **Or run the engine from a clone:** ``` git clone https://github.com/GhostlyGawd/codeweb.git node codeweb/scripts/run.mjs /path/to/your/project ``` Every bin, flag, and exit code is tabled in [`docs/cli.md`](docs/cli.md). **In your editor:** [`editor/vscode-codeweb`](editor/vscode-codeweb/) shows a **`N callers · blast M`** lens above every mapped symbol. Click through into the report. ## What you can do Each link lands on full docs, flags, and examples in **[the reference](docs/reference.md)**. - **Know before you edit** — who calls this, what breaks, does this already exist. → [Query the graph](docs/reference.md#query-the-graph-for-agents--humans) · [context & pre-flight](docs/reference.md#agent-tools--context--pre-flight-context-pack-simulate-edit) - **Gate every edit** — a structural regression verdict on edits, PRs, and architecture rules. → [The `diff` verdict](docs/reference.md#guard-agent-edits-diff) · [the PR gate](docs/reference.md#gate-every-pr-github-action) · [the capability suite](docs/reference.md#agent-capability-suite-write--review--optimize) - **Clean up, ranked** — consolidation and dead-code work, ordered by evidence. → [`optimize`](docs/reference.md#advise-consolidations-optimizemjs) · [`hotspots`](docs/reference.md#find-the-hotspots--where-to-refactor-first-hotspotsmjs) · [`campaign`](docs/reference.md#plan-a-whole-optimization-campaign-campaignmjs) · [`trend`](docs/reference.md#track-duplication-over-time-trendmjs) ## Use ``` /codeweb # map the current project /codeweb src/payments --depth symbol # deep-dive one subsystem /codeweb https://github.com/owner/repo # external review before adopting /codeweb owner/repo --open # clone, map,
Lo que la gente pregunta sobre codeweb
¿Qué es GhostlyGawd/codeweb?
+
GhostlyGawd/codeweb es mcp servers para el ecosistema de Claude AI. Your agents break less code and burn fewer tokens — deterministic call/import graph + 27 MCP tools for coding agents. Claude Code plugin & MCP server; zero deps, runs 100% locally. Tiene 0 estrellas en GitHub y se actualizó por última vez today.
¿Cómo se instala codeweb?
+
Puedes instalar codeweb clonando el repositorio (https://github.com/GhostlyGawd/codeweb) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.
¿Es seguro usar GhostlyGawd/codeweb?
+
GhostlyGawd/codeweb aún no ha sido auditado por nuestro agente de seguridad. Revisa el repositorio original en GitHub antes de usarlo en producción.
¿Quién mantiene GhostlyGawd/codeweb?
+
GhostlyGawd/codeweb es mantenido por GhostlyGawd. La última actividad registrada en GitHub es de today, con 0 issues abiertos.
¿Hay alternativas a codeweb?
+
Sí. En ClaudeWave puedes explorar mcp servers similares en /categories/mcp, ordenados por popularidad o actividad reciente.
Despliega codeweb en tu cloud
Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.
¿Mantienes este repo? Añade un badge a tu README
Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.
[](https://claudewave.com/repo/ghostlygawd-codeweb)<a href="https://claudewave.com/repo/ghostlygawd-codeweb"><img src="https://claudewave.com/api/badge/ghostlygawd-codeweb" alt="Featured on ClaudeWave: GhostlyGawd/codeweb" width="320" height="64" /></a>Más MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
The fastest path to AI-powered full stack observability, even for lean teams.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!