Tribal

io.github.tribal-memory/tribal

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

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "tribal": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/tribal-memory/tribal:0.4.1"
      ],
      "env": {
        "TRIBAL_DATABASE__URL": "<your TRIBAL_DATABASE__URL>",
        "TRIBAL_PROJECT_REMOTE": "<your TRIBAL_PROJECT_REMOTE>",
        "TRIBAL_PROJECT_NAME": "<your TRIBAL_PROJECT_NAME>",
        "TRIBAL_SERVER__TRANSPORT": "http",
        "TRIBAL_SERVER__BIND_ADDRESS": "0.0.0.0:8725",
        "TRIBAL_PUBLIC_MCP_URL": "http://127.0.0.1:8725/mcp",
        "OPENAI_API_KEY": "<your OPENAI_API_KEY>",
        "ANTHROPIC_API_KEY": "<your ANTHROPIC_API_KEY>"
      }
    }
  }
}
Environment variables
  • TRIBAL_DATABASE__URLrequiredPostgres (pgvector) connection string. Tribal is self-hosted; you provide the database. The supported, complete deployment is docker-compose.yml.
  • TRIBAL_PROJECT_REMOTErequiredFirst-run only: the git remote that identifies the project bootstrapped on first start.
  • TRIBAL_PROJECT_NAMErequiredFirst-run only: the name of the project bootstrapped on first start.
  • TRIBAL_SERVER__TRANSPORTContainerised transport: http or sse. The Docker image does not serve stdio; install the binary for stdio.
  • TRIBAL_SERVER__BIND_ADDRESSAddress the server binds inside the container. Must be 0.0.0.0 (not the loopback default) for the published port to be reachable.
  • TRIBAL_PUBLIC_MCP_URLThe URL clients use to reach the server (for example http://127.0.0.1:8725/mcp). Needed for OAuth dynamic client registration once the server binds a routable interface.
  • OPENAI_API_KEYsecretOptional; only if an ingest or retrieval stage is configured to use OpenAI (defaults target a local Ollama).
  • ANTHROPIC_API_KEYsecretOptional; only if a stage is configured to use Anthropic.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.4.1
Registry
active
Published
6/28/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that Tribal is listed here — it’s also the link we check for a free listing.

Tribal — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-tribal-memory-tribal?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Tribal — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![Tribal — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-tribal-memory-tribal?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.