1
Add it to Claude Code
claude mcp add -e "DATABASE_URL=${DATABASE_URL}" ogham-mcp -- uvx ogham-mcpRequired:
DATABASE_URLEnvironment Variables
Set these before running Ogham MCP.
VariableDescriptionRequired
DATABASE_URLConnection string for the PostgreSQL database (Supabase, Neon, or self-hosted).YesAvailable Tools (5)
Once configured, Ogham MCP gives your AI agent access to:
memoryStore and retrieve persistent memories across AI sessions.contentmetadatasearchPerform hybrid search (pgvector + tsvector) on stored memories.querygraphInteract with the knowledge graph of stored information.actionentityprofilesManage user or agent profiles for memory scoping.profile_idimport_exportImport or export memory data.formatdataTry It Out
After setup, try these prompts with your AI agent:
→Remember that I prefer using Tailwind CSS for all new UI components in this project.
→Search my memory for the architectural decisions we made regarding the database schema last week.
→What are the common gotchas I encountered when setting up the authentication flow in this codebase?
→Summarize the key project requirements I've shared across my sessions so far.
Prerequisites & system requirements
- An MCP-compatible client (Claude Code, Cursor, Windsurf, Claude Desktop, or Codex)
- Python 3.8+ with pip installed
DATABASE_URL— Connection string for the PostgreSQL database (Supabase, Neon, or self-hosted).
Alternative installation methods
Postgres Support
uvx --from 'ogham-mcp[postgres]' ogham-mcp initKeep this setup from going cold
Save the docs, env vars, and workflow around Ogham MCP in Conare so Claude Code, Codex, and Cursor remember it next time.