- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Documented (README)
- !No description
claude mcp add prism -- npx -y @repo-prism/cli{
"mcpServers": {
"prism": {
"command": "npx",
"args": ["-y", "@repo-prism/cli"]
}
}
}MCP Servers overview
# Prism
[](https://nodejs.org)
[](https://www.prismhq.in)
[](https://www.npmjs.com/package/@repo-prism/cli)
[](https://www.npmjs.com/package/@repo-prism/mcp-server)
[](https://marketplace.visualstudio.com/items?itemName=prismhq.repo-prism)
[](https://open-vsx.org/extension/prismhq/repo-prism)
[](./LICENSE)
**Local-first Software Intelligence Engine** for humans and AI agents.
**Website:** [https://www.prismhq.in](https://www.prismhq.in) · **Docs:** [https://www.prismhq.in/docs](https://www.prismhq.in/docs) · **Get started:** [https://www.prismhq.in/docs/start/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.
---
## Table of contents
1. [Get started in 60 seconds](#get-started-in-60-seconds)
2. [Install — step by step](#install--step-by-step)
- [A. CLI](#a-cli--repo-prismcli)
- [B. MCP (agents)](#b-mcp--repo-prismmcp-server)
- [C. IDE extension](#c-ide-extension-prism)
3. [CLI — commands](#cli--commands)
4. [MCP — tools & how agents use them](#mcp--tools--how-agents-use-them)
5. [Docs](#docs)
6. [Privacy](#privacy)
7. [Build from source](#build-from-source)
8. [License](#license)
---
## Get started in 60 seconds
**Needs Node.js 22+.** No need to clone this repository.
```bash
# 1) Go to your project
cd /path/to/your/project
# 2) CLI — no --workspace; uses git root from where you run
npx -y @repo-prism/cli doctor
npx -y @repo-prism/cli dna
npx -y @repo-prism/cli health
# 3) MCP once (Claude Code), then ask in plain English — no tool names:
# claude mcp add prism -- npx -y @repo-prism/mcp-server
# “How healthy is this repo?” / “What breaks if I change src/index.ts?”
```
| You want… | Follow |
|---|---|
| Terminal / CI | [A. CLI](#a-cli--repo-prismcli) |
| Cursor / Claude / Codex agents | [B. MCP](#b-mcp--repo-prismmcp-server) |
| Visual map & dashboards | [C. IDE extension](#c-ide-extension-prism) |
| Embed in code | [`@repo-prism/core`](https://www.npmjs.com/package/@repo-prism/core) |
All surfaces call the same Core SDK. None re-implements analysis.
---
## Install — step by step
### A. CLI — `@repo-prism/cli`
1. `cd` into your project.
2. Run doctor:
```bash
npx -y @repo-prism/cli doctor
```
3. Confirm **Workspace** points at your repo (`from git root` is normal). A
**warn** on Index cache on first run is expected.
4. Analyse:
```bash
npx -y @repo-prism/cli dna
npx -y @repo-prism/cli health
npx -y @repo-prism/cli blast src/index.ts --fail-on high
```
5. Optional global install:
```bash
npm install -g @repo-prism/cli
prism doctor
prism health --verbose # shows workspace + index timing
```
Package: [npmjs.com/package/@repo-prism/cli](https://www.npmjs.com/package/@repo-prism/cli) · Guide: [CLI docs](https://www.prismhq.in/docs/cli/usage)
### B. MCP — `@repo-prism/mcp-server`
**Set 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.
#### One-click (Cursor)
[Add to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=prism&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIi0tcHJlZmVyLW9ubGluZSIsIkByZXBvLXByaXNtL21jcC1zZXJ2ZXJAbGF0ZXN0Il0sImVudiI6eyJOT0RFX1VTRV9TWVNURU1fQ0EiOiIxIn19) · [Install guide](https://www.prismhq.in/docs/mcp/install) · [Benchmarks](https://www.prismhq.in/benchmarks)
#### Copy-paste config (Cursor / Claude Desktop)
```json
{
"mcpServers": {
"prism": {
"command": "npx",
"args": ["-y", "@repo-prism/mcp-server"]
}
}
}
```
Save as `.cursor/mcp.json` (project) or add to Claude Desktop config. Enable in **Settings → MCP** (~40 tools).
#### Claude Code
1. `cd /path/to/your/project`
2. `claude mcp add prism -- npx -y @repo-prism/mcp-server`
3. Restart Claude Code if it was already running.
4. Ask: “What is this repository?” or “How healthy is this codebase?”
#### Cursor (manual)
If the one-click link above does not work:
1. Open the project folder in Cursor.
2. Create `.cursor/mcp.json`:
```json
{
"mcpServers": {
"prism": {
"command": "npx",
"args": ["-y", "@repo-prism/mcp-server"]
}
}
}
```
3. **Settings → MCP** → enable **prism** → wait for ~40 tools.
4. In Agent chat, ask normally (no tool names).
#### Claude Desktop / Codex
Same `npx` / `@repo-prism/mcp-server` config — no `--workspace`. Full numbered
steps for every client: [MCP install](https://www.prismhq.in/docs/mcp/install).
Only add `--workspace` / `PRISM_WORKSPACE` if auto-detection picks the wrong folder.
Package: [npmjs.com/package/@repo-prism/mcp-server](https://www.npmjs.com/package/@repo-prism/mcp-server)
### C. IDE extension (Prism)
1. Install **Prism** (Marketplace / Open VSX id `prismhq.repo-prism`):
- **VS Code** — [Marketplace](https://marketplace.visualstudio.com/items?itemName=prismhq.repo-prism) or search `Prism`
- **Cursor** — [Open VSX](https://open-vsx.org/extension/prismhq/repo-prism) or Install from VSIX
2. **Open Folder** on your project.
3. Command Palette → **Prism: Open Prism**.
4. Wait for indexing; use the UI.
5. (Cursor) Also complete [B. MCP](#b-mcp--repo-prismmcp-server) so the agent
shares the same analysis — [IDE install](https://www.prismhq.in/docs/ide/install).
---
## CLI — commands
Global 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.
### Diagnostics
| Command | Purpose |
|---|---|
| `prism doctor` | Environment, workspace chosen, index |
| `prism index` | Build / refresh the index |
### Understand
| 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 |
### Assess a change
| 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 |
### Structure
| 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 |
### Reports
| 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:**
```yaml
- uses: actions/setup-node@v4
with:
node-version: "26.5.0"
- run: npx -y @repo-prism/cli review --base origin/main --fail-on high
- run: npx -y @repo-prism/cli cycles --fail-on any
```
---
## MCP — tools & how agents use them
**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](https://www.prismhq.in/docs/mcp/install) · Full tool list: [MCP tools](https://www.prismhq.in/docs/reference/mcp-tools).
---
## Demo — with vs without Prism
Side-by-side script: [`plans/notes/M-063-demo.md`](./plans/notes/M-063-demo.md) · measured savings: [prismhq.in/benchmarks](https://www.prismhq.in/benchmarks)
1. Ask **“What is this repository?”** — Prism returns DNA + landmarks in 2–3 calls; a naive agent walks directories.
2. Ask **“Is this edit safe?”** on a file — `blast_radius` replaces scanning the tree for imports.
Reproduce numbers: `bun run bench:orientation` (after `bun run build`).
---
## Docs
**Site:** [https://www.prismhq.in/docs](https://www.prismhq.in/doWhat people ask about prism
What is Shailesh200/prism?
+
Shailesh200/prism is mcp servers for the Claude AI ecosystem with 1 GitHub stars.
How do I install prism?
+
You can install prism by cloning the repository (https://github.com/Shailesh200/prism) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is Shailesh200/prism safe to use?
+
Our security agent has analyzed Shailesh200/prism and assigned a Trust Score of 77/100 (tier: Trusted). See the full breakdown of passed checks and flags on this page.
Who maintains Shailesh200/prism?
+
Shailesh200/prism is maintained by Shailesh200. The last recorded GitHub activity is dated 2026-08-26, with 0 open issues.
Are there alternatives to prism?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy prism to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/shailesh200-prism)<a href="https://claudewave.com/repo/shailesh200-prism"><img src="https://claudewave.com/api/badge/shailesh200-prism" alt="Featured on ClaudeWave: Shailesh200/prism" width="320" height="64" /></a>More 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.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
The fastest path to AI-powered full stack observability, even for lean teams.
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!