Ossian MCP server
Ask your own documents with citations, plus durable memory for agents. Safe by default.
2 stars238 downloads/wk
Reviews
Write oneNobody has reviewed Ossian yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Ossian tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.10 · 2026-10-03 · same rubric, same numbers if you re-run it
- Code scan12 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 5 days ago15/15
- Maintainer identityregistry namespace matches repository owner6/10
How Ossian compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 80/100
- higher than 60% of 48,255 servers
- GitHub stars
- 2
- more than 75% of 28,688 servers
- Downloads a week
- 238
- more than 78% of 12,191 servers with a package
Install Ossian in Claude Code, Cursor or VS Code
Runs npx -y ossian-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add ossian-mcp -- npx -y ossian-mcp
What the publisher says
From the Ossian repository's README, as published. We do not edit it. Read it on GitHub
ossian-mcp
MCP server for Ossian — ask your organisation's own documents and get the passages the answer came from, plus a memory for your agent that outlives the conversation.
Ossian is the server; this is the adapter that puts it in front of an agent. You need a running Ossian to point it at — see its README for a docker compose up.
What it gives an agent
Tools are gated by access mode (see Safe by default) — the server starts read-only, exposing only the four read tools until you raise the mode.
Install
npm install -g ossian-mcpYou need a running Ossian and an API key. Issue one from the console (Console → API keys) or:
curl -X POST "$OSSIAN_URL/api/admin/api-keys" \
-H "Authorization: Bearer $TOKEN" -H 'Content-Type: application/json' \
-d '{"name":"mcp","roles":["ossian-user"],"namespace":"handbooks"}'Give the key the narrowest scope that works. namespace confines it to one slice, so a key that leaks reads only what that agent was for.
Configure
{
"mcpServers": {
"ossian": {
"command": "ossian-mcp",
"env": {
"OSSIAN_URL": "http://localhost:8081",
"OSSIAN_API_KEY": "osk_...",
"OSSIAN_AGENT_ID": "support-bot",
"OSSIAN_MODE": "read-only"
}
}
}
}OSSIANAGENTID separates one agent's memories from another's; two agents sharing an id share their recollections, which is occasionally what you want and usually not.
See docs/CLIENTS.md for Claude Code / Cursor / Codex / VS Code / Windsurf snippets, and .env.example for every supported variable.
Safe by default
The server enforces an access model on top of the Ossian API key — defence in depth over the key's own roles and namespace confinement. It reads its policy from the environment (.env.example) and enforces it in src/security.ts:
the mode allows its capability. Read-only exposes four tools; ingest and remember need read-write; forget needs admin.
- OSSIANMODE** — read-only (default) → read-write → admin. A tool is registered only if
mode it also requires this flag.
- OSSIANALLOWFORGET — forget_session erases memory irreversibly, so on top of admin
touched, and mark slices that may be read but never ingested into.
- OSSIANNAMESPACEALLOWLIST / OSSIANPROTECTEDNAMESPACES — confine which slices can be
- OSSIANDRYRUN — validate and log writes (ingest / remember / forget) without executing.
- OSSIANAUDITLOG — a JSON audit line per guarded operation, on stderr (default on).
- Interactive confirmation — when the client supports MCP elicitation, forgetsession prompts the human to approve before erasing a session's memory; clients that can't elicit fall back to the OSSIANALLOW_FORGET gate.
The primary control remains the API key: issue the narrowest one that works. See SECURITY.md.
Two things worth knowing
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Ossian: common questions
- Is Ossian MCP server safe?
- Mostly: it is graded B (80/100). Read the Ossian safety report
- How do I install Ossian?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Ossian need an API key?
- Yes. The registry entry asks for
OSSIAN_API_KEY. - Is Ossian maintained?
- The last commit was 37 days ago (2026-09-28). The latest release is v0.2.2.
- How does Ossian compare with other MCP servers?
- safety score 80/100 (higher than 60% of 48,255 servers); github stars 2 (more than 75% of 28,688 servers); downloads a week 238 (more than 78% of 12,191 servers with a package). Full comparison.