The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Prism listing page.
Local-first Software Intelligence Engine for humans and AI agents.
Website: https://www.prismhq.in · Docs: https://www.prismhq.in/docs · Get started: https://www.prismhq.in/docs/start/get-started
Maps, graphs, blast radius, health — on your machine. No account. Nothing uploaded for core analysis.
Prism is not an AI coding assistant. It is the intelligence layer behind an IDE extension, a CLI, and an MCP server that agents can call.
Needs Node.js 22+. No need to clone this repository.
| You want… | Follow |
|---|---|
| Terminal / CI | A. CLI |
| Cursor / Claude / Codex agents | B. MCP |
| Visual map & dashboards | C. IDE extension |
| Embed in code | @repo-prism/core |
All surfaces call the same Core SDK. None re-implements analysis.
@repo-prism/clicd into your project.from git root is normal). A
warn on Index cache on first run is expected.Package: npmjs.com/package/@repo-prism/cli · Guide: CLI docs
@repo-prism/mcp-serverSet up once. Then ask the agent in plain language — never type tool names
like repository_health. The server tells the agent which tools to call.
Add to Cursor · Install guide · Benchmarks
Save as .cursor/mcp.json (project) or add to Claude Desktop config. Enable in Settings → MCP (~40 tools).
cd /path/to/your/projectclaude mcp add prism -- npx -y @repo-prism/mcp-serverIf the one-click link above does not work:
.cursor/mcp.json:
Same npx / @repo-prism/mcp-server config — no --workspace. Full numbered
steps for every client: MCP install.
Only add --workspace / PRISM_WORKSPACE if auto-detection picks the wrong folder.
Package: npmjs.com/package/@repo-prism/mcp-server
prismhq.repo-prism):
PrismGlobal flags: -w/--workspace, --json, --no-color, -q/--quiet, --verbose, -y/--yes.
Exit codes: 0 ok · 1 gated finding (--fail-on) · 2 usage error · 3 Prism failed.
| Command | Purpose |
|---|---|
prism doctor | Environment, workspace chosen, index |
prism index | Build / refresh the index |
| Command | Purpose |
|---|---|
prism dna | Languages, frameworks, domains, stack |
prism health | Health score + factors |
prism map [--zoom repo|package|feature|file|symbol] | Repository map |
prism explain <path> | What a path is for / ownership |
prism explore <target> | Usages, ownership, similar code |
prism stack | Stack signals |
prism features | Inferred features |
prism landmarks | Entrypoints & anchors |
prism packages | Workspace packages |
| Command | Purpose |
|---|---|
prism blast <target> [--fail-on low|mid|high] | Blast radius |
prism review [paths…] [--base <ref>] | Change review |
prism safe-delete <target> | Safe to delete? |
prism rename <target> <newName> | Rename edit sites |
prism test-impact <target> | Related tests |
| Command | Purpose |
|---|---|
prism deps | Graph size / hubs |
prism cycles [--fail-on any] | Import cycles |
prism symbol <name> | Find declaration |
prism refs <name> | Find references |
prism route <from> <to> | Dependency path |
| Command | Purpose |
|---|---|
prism engineering | Entropy, drift, debt, hotspots |
prism testing | Suites + on-disk coverage |
prism security | Left-shift checklist |
prism backend | Routes, data, env, jobs |
prism bundle | Bundle weight (ingested stats) |
CI sketch:
28 read-only tools + 3 optional prompts (orient, before_edit, review_diff).
No network. No consent APIs for agents.
You do not type tool names. After MCP is connected, ask in plain language — the server’s instructions tell the agent when to call which tool.
| You say | Agent should call |
|---|---|
| “What is this repo?” | repository_dna / landmarks |
| “Is it healthy?” | repository_health |
“What breaks if I edit src/…?” | blast_radius, test_impact |
| “Can I delete this?” | safe_delete |
| “Review my changes” | review_changes |
| Group | Tools |
|---|---|
| Orientation | repository_dna, repository_health, repository_map, repository_overview, list_packages, stack_profile, landmarks, explain_area |
| Graphs | dependency_graph, dependency_cycles, knowledge_graph, feature_graph, list_features, find_symbol, find_references, dependency_route |
| Impact | blast_radius, safe_delete, rename_impact, test_impact, breaking_change_hints, review_changes, explore_code |
| Reports | engineering_health, health_history, backend_report, testing_report, security_report |
Setup steps: MCP install · Full tool list: MCP tools.
Side-by-side script: plans/notes/M-063-demo.md · measured savings: prismhq.in/benchmarks
blast_radius replaces scanning the tree for imports.Reproduce numbers: bun run bench:orientation (after bun run build).
Site: https://www.prismhq.in/docs
| Topic | Link |
|---|---|
| What Prism is | docs/what-is-prism |
| Install (CLI / IDE / MCP) | docs/start/install |
| Quickstart | docs/start/quickstart |
| Capabilities | docs/reference/capabilities |
| Task guides | docs/guides |
| Usage (CLI / IDE / MCP) | docs/usage |
| Dispatch | docs/guides/dispatch |
| CLI reference | docs/reference/cli-commands |
| MCP tools | docs/reference/mcp-tools |
| Known limitations | docs/help/known-limitations |
| FAQ | docs/help/faq |
| Changelog | CHANGELOG.md |
Markdown sources also live in docs/ in this repo. Local preview: bun run docs:dev
Core analysis makes no network requests (proven by a trap test suite). Optional features (GitHub, PageSpeed, Gravatar, …) are off by default and gated per purpose in ~/.prism/workspaces/<key>/consent.json. Agents cannot grant consent.
For contributors (not required to use CLI/MCP):
See CONTRIBUTING.md.
Published npm packages under this org: @repo-prism (cli, mcp-server, core, and engine libraries).