Skip to content
Grok

Tribal for Grok

io.github.tribal-memory/tribal

Self-hosted semantic memory over MCP for an engineering team's tacit knowledge. Needs Postgres.

client:Grok transport:stdio runtime:oci

Install Tribal in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "tribal": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/tribal-memory/tribal:0.4.1"
      ],
      "env": {
        "TRIBAL_DATABASE__URL": "<TRIBAL_DATABASE__URL>",
        "TRIBAL_PROJECT_REMOTE": "<TRIBAL_PROJECT_REMOTE>",
        "TRIBAL_PROJECT_NAME": "<TRIBAL_PROJECT_NAME>",
        "TRIBAL_SERVER__TRANSPORT": "<TRIBAL_SERVER__TRANSPORT>",
        "TRIBAL_SERVER__BIND_ADDRESS": "<TRIBAL_SERVER__BIND_ADDRESS>",
        "TRIBAL_PUBLIC_MCP_URL": "<TRIBAL_PUBLIC_MCP_URL>",
        "OPENAI_API_KEY": "<OPENAI_API_KEY>",
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

Tribal in other clients