Ogham MCP Server

AI coding agents forget everything between sessions. Switch from Claude Code to Cursor to Kiro to OpenCode and the context is gone -- decisions

Remote serverstreamable-httpPython

What is the Ogham MCP MCP server?

Connect Ogham MCP to Claude, Cursor or any other MCP client and it stops being a tab you switch to. AI coding agents forget everything between sessions. Switch from Claude Code to Cursor to Kiro to OpenCode and the context is gone -- decisions, gotchas, the shape of your codebase -- so you repeat yourself, re-explain, and re-debug the. The ogham mcp mcp server is what makes that connection.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • Retrieval — ** 97.2% R@10 on LongMemEval with one Postgres query (pgvector + tsvector CCF hybrid search). The paper
  • End-to — end QA:** 85.8% on the AMB harness (500 questions, April 2026, strict substring judge
  • Typed — edge graph (v0.16)** -- store_triple / query_join for two-fact join queries against a controlled predicate vocabulary
  • Importers — - Claude Code auto-memory, Claude.ai export, Linear issues, and JSON
  • Skills — - ogham-research, ogham-recall, ogham-maintain
  • Self — hoster options** -- ONNX local embeddings (BGE-M3), optional FlashRank reranking, five embedding providers
  • ACT — R importance + Hebbian decay** -- recency, frequency, and surprise weighting (Anderson & Lebiere, 1998; [Hebb
  • Read — time fact extraction** -- verbatim storage with query-aware extraction at retrieval, so the ground truth stays re-extractable with different
  • Append — only audit trail** -- every store, search, delete, and update logged to an audit_log table in the same Postgres instance, aligned with GDPR Article
  • Method — Command
  • System — Accuracy
  • Ogham97.2%

Installation

Because this one is hosted, setup is mostly authentication — you point your client at the endpoint and approve access. Nothing runs on your machine, so there is no runtime to keep patched.

Credentials and setup notes

Configuration is passed through the environment: SUPABASE_URL, SUPABASE_KEY, EMBEDDING_PROVIDER, OPENAI_API_KEY, DATABASE_BACKEND, DATABASE_URL, OGHAM_HOST, MISTRAL_API_KEY. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Where it fits

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Ogham MCP's toolset — Retrieval, End-to, Typed and 11 more — is a fair guide to whether it matches your workflow. It is maintained by ogham-mcp; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Ogham MCP's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Worth knowing first

  • Your data travels to the provider's service, so the usual questions apply about what you send and what they retain.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Ogham MCP.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
Retrieval** **97.2% R@10 on LongMemEval** with **one Postgres query** (pgvector + tsvector CCF hybrid search). The [paper](https://arxiv.org/abs/2410.10813) baseline is 78.4%. Other systems that report similar R@10 typically stac
End-toend QA:** **85.8% on the [AMB harness](https://github.com/vectorize-io/agent-memory-benchmark)** (500 questions, April 2026, strict substring judge, GPT-5-mini reader; R@10 99.5%), and **0.554 nugget on [BEAM](https://ar
Typededge graph (v0.16)** -- store_triple / query_join for two-fact join queries against a controlled predicate vocabulary. [docs](https://ogham-mcp.dev/docs/typed-edges/)
Importers- Claude Code auto-memory, Claude.ai export, Linear issues, and JSON.
Skills- ogham-research, ogham-recall, ogham-maintain.
Selfhoster options** -- ONNX local embeddings (BGE-M3), optional FlashRank reranking, five embedding providers.
ACTR importance + Hebbian decay** -- recency, frequency, and surprise weighting ([Anderson & Lebiere, 1998](https://act-r.psy.cmu.edu/about/); [Hebb, 1949](https://doi.org/10.4324/9781315735368)). Unaccessed memories fade;
Readtime fact extraction** -- verbatim storage with query-aware extraction at retrieval, so the ground truth stays re-extractable with different questions later ([Anthropic, arXiv:2510.05179](https://arxiv.org/abs/2510.05179
Appendonly audit trail** -- every store, search, delete, and update logged to an audit_log table in the same Postgres instance, aligned with GDPR Article 15 and [OTEL GenAI conventions](https://opentelemetry.io/docs/specs/semc
MethodCommand
SystemAccuracy
Ogham**97.2%**
CategoryR@10
single-session-assistant100%

How to install the Ogham MCP MCP server

{
  "mcpServers": {
    "ogham": {
      "command": "uvx",
      "args": ["ogham-mcp"],
      "env": {
        "SUPABASE_URL": "your-value",
        "SUPABASE_KEY": "your-value",
        "EMBEDDING_PROVIDER": "your-value",
        "OPENAI_API_KEY": "your-value",
        "DATABASE_BACKEND": "your-value",
        "DATABASE_URL": "your-value",
        "OGHAM_HOST": "your-value",
        "MISTRAL_API_KEY": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
SUPABASE_URLEndpoint or connection string the server talks to.Yes
SUPABASE_KEYCredential the server authenticates with.Yes
EMBEDDING_PROVIDERConfiguration value read at startup.Optional
OPENAI_API_KEYCredential the server authenticates with.Yes
DATABASE_BACKENDConfiguration value read at startup.Optional
DATABASE_URLEndpoint or connection string the server talks to.Yes
OGHAM_HOSTEndpoint or connection string the server talks to.Optional
MISTRAL_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use Ogham MCP to Retrieval.
  • Use Ogham MCP to End-to.
  • Use Ogham MCP to Typed.

Frequently asked questions

It connects Ogham MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 14 tools (Retrieval, End-to, Typed, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Ogham MCP directly.