← Back to Ogham MCP

Install Ogham MCP

Pick your client, copy the command, done.

1

Add it to Claude Code

claude mcp add -e "DATABASE_URL=${DATABASE_URL}" ogham-mcp -- uvx ogham-mcp
Required:DATABASE_URL

Environment Variables

Set these before running Ogham MCP.

VariableDescriptionRequired
DATABASE_URLConnection string for the PostgreSQL database (Supabase, Neon, or self-hosted).Yes

Available Tools (5)

Once configured, Ogham MCP gives your AI agent access to:

memoryStore and retrieve persistent memories across AI sessions.
contentmetadata
searchPerform hybrid search (pgvector + tsvector) on stored memories.
query
graphInteract with the knowledge graph of stored information.
actionentity
profilesManage user or agent profiles for memory scoping.
profile_id
import_exportImport or export memory data.
formatdata

Try 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 init

Keep 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.

Remember this setup