Prism Coder logo

Prism Coder

Local MCP memory, inference routing, knowledge graphs, and token savings tracking for coding agents.

Install Prism Coder

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "prism-coder": {
      "command": "npx",
      "args": [
        "-y",
        "prism-mcp-server"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

prism-coder MCP server gives Claude, Cursor, and other AI tools persistent project memory across sessions, including handoff notes, TODOs, and context retrieval. It routes bounded work to locally installed Ollama models, with optional Apple Silicon oMLX support, and exposes usage accounting through the local_savings tool. Install the npm package, run prism connect, and use prism dashboard to configure and inspect the local Mind Palace. Reach for it when coding workflows need offline recall, local tool routing, or measurable cloud-token displacement.

Use cases

  • Resume coding projects with persistent handoff notes and TODOs
  • Route bounded coding requests to local Ollama models
  • Inspect locally served token volume with savings reports
  • Configure Prism across multiple AI coding clients
  • Review project state through the local Mind Palace dashboard

Key features

  • Persistent cross-session coding memory
  • Local Ollama and Apple Silicon oMLX routing
  • ACT-R-ranked memory search
  • Auditable local token accounting
  • Knowledge graphs and project history
  • Host configuration through prism connect

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

9/9 checks healthy over the last 41d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 16d ago via OSV.dev · prism-mcp-server (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars157Stargazers on the source repository.
npm downloads8.3kPackage downloads in the last 30 days.
Last commit2d agoMost recent push to the default branch.

How Prism Coder works

What prism-coder does

prism-coder adds persistent memory to coding agents through MCP. Project context can survive client restarts and include handoff notes, recent work, open TODOs, and configurable quick, standard, or deep context. Memory search applies ACT-R ranking using relevance, recency, frequency, and associations unless automatic ranking is disabled.

The package also provides local inference and routing. Bounded requests can be sent to Ollama models running on the developer’s machine, with automatic selection among 2B, 4B, 9B, and 27B models based on installed models, available RAM, context fit, and subscription entitlements. On Apple Silicon, an oMLX path can be configured for eligible coding tasks.

How it works

The MCP server runs locally through the npm package and connects to supported AI hosts. Its startup metadata and instructions request Prism context without requiring lifecycle hooks or a Prism-owned launcher. Claude Code and Codex can receive additional hooks for mid-session prompt routing and post-compaction reinjection of a protected context digest.

Local and cloud usage is recorded. The local_savings tool and prism savings command report tokens served locally, including local share and per-model details. Reports include assumptions and known undercounts rather than converting usage into an estimated dollar value.

For bounded implementation requests, the optional Factory flow can start and monitor a recommended pipeline when the request identifies files, an allowed write list, and a verification command. Route enforcement accepts only well-formed calls to tools advertised by the host. Cloud fallback and verification behavior can be controlled per request.

Setup and configuration

Install the package globally and connect the detected hosts:

Terminal
npm install -g prism-mcp-server
prism connect
prism dashboard

Use prism connect --dry-run to preview edits, --all to configure every detected host, or --refresh to reconcile Prism-managed entries after an upgrade. Restart the AI client after connecting. The connector supports Claude Code, Claude Desktop, Cursor, Gemini CLI, and Codex while preserving unrelated settings.

Claude Code and Codex can instead install the repository plugin. The plugin registers the MCP server through npx -y prism-mcp-server; use either the plugin or prism connect, not both. The local dashboard does not require a Synalux login, account, API key, or subscription.

Automatic memory ranking can be disabled in the dashboard or with PRISM_ACTR_ENABLED=false. Factory can be disabled with PRISM_DARK_FACTORY_ENABLED=false, followed by an MCP restart.

Tools and capabilities

  • Persistent session memory and project handoff context
  • Knowledge-graph associations and neural-graph state
  • Local Ollama routing with model-tier selection
  • Optional oMLX coding inference on Apple Silicon
  • local_savings token accounting and the prism savings report
  • Subscription-aware skill synchronization with offline last-good recovery
  • Prompt-triggered Factory workflows for bounded implementation requests
  • Local dashboard for project state, TODOs, intent health, and history

Limitations and notes

Local coding depends on the required runtime and suitable installed models. The oMLX path requires Prism’s oMLX integration and separate classifier; stock oMLX alone is insufficient. Explicit oMLX selection does not fall back to Ollama or cloud inference, and generated drafts still require host review and tests.

A paid Synalux subscription adds cloud sync, higher model tiers, and team features. Prism remains usable locally without a subscription. When cloud fallback, route correction, and verification are disabled together under the documented conditions, prompts, drafts, and evidence remain local; entitlement checks and telemetry still contact the portal without carrying that content.

Host subagent behavior differs by client: Claude Code keeps subagents on an economy model, while Gemini CLI and Codex are configured with subagents off by prism connect.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Prism Coder

prism-coder is an MCP server that connects AI coding tools such as Claude, Cursor, Claude Code, Gemini CLI, and Codex to persistent local memory and on-device inference. Its main capabilities include session recall, local tool routing through Ollama or oMLX, and the local_savings tool for reporting tokens served without cloud inference.

Install it with `npm install -g prism-mcp-server`, then run `prism connect` and restart your AI client. Use `prism connect --dry-run` to preview configuration changes, `--all` to configure every detected supported host, or `--refresh` to reconcile Prism-managed entries.

Yes, prism-coder supports Cursor. Run `prism connect` to configure the detected Cursor installation, then restart the client so it can load the local MCP server and its startup context.

Yes, Prism works locally without an account, API key, or cloud subscription. Local inference uses installed Ollama models, while Apple Silicon users can configure the supported oMLX integration for eligible coding tasks.

Run `prism savings --period month` or call the `local_savings` tool from an MCP host. The report shows locally served token volume, local share, and per-model breakdowns, along with its assumptions and known undercounts.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewPrism Coder AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/prism-coder?style=directory)](https://allmcps.com/mcp/prism-coder)
HTML Embed
<a href="https://allmcps.com/mcp/prism-coder"><img src="https://allmcps.com/api/badge/prism-coder?style=directory" alt="Prism Coder on AllMCPs" /></a>