Skip to main content

Tribal

io.github.tribal-memory/tribal

v0.4.1Updated Jun 28, 2026local · Docker

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

Install

Replace 3 placeholders with your own values.

Run in your terminal. Replace 3 placeholders.

claude mcp add tribal -e 'TRIBAL_DATABASE__URL=<your-tribal-database-url>' -e 'TRIBAL_PROJECT_REMOTE=<your-tribal-project-remote>' -e 'TRIBAL_PROJECT_NAME=<your-tribal-project-name>' -e TRIBAL_SERVER__TRANSPORT=http -e TRIBAL_SERVER__BIND_ADDRESS=0.0.0.0:8725 -e TRIBAL_PUBLIC_MCP_URL=http://127.0.0.1:8725/mcp -- docker run -i --rm -e TRIBAL_DATABASE__URL -e TRIBAL_PROJECT_REMOTE -e TRIBAL_PROJECT_NAME -e TRIBAL_SERVER__TRANSPORT -e TRIBAL_SERVER__BIND_ADDRESS -e TRIBAL_PUBLIC_MCP_URL ghcr.io/tribal-memory/tribal:0.4.1

The registry lists extra launch arguments or environment variables for this server that could change what runs. They are left out here; check its repository before adding any.

Configuration

9 settings.

  • TRIBAL_DATABASE__URL
    Env var· required
    Postgres (pgvector) connection string. Tribal is self-hosted; you provide the database. The supported, complete deployment is docker-compose.yml.
  • TRIBAL_PROJECT_REMOTE
    Env var· required
    First-run only: the git remote that identifies the project bootstrapped on first start.
  • TRIBAL_PROJECT_NAME
    Env var· required
    First-run only: the name of the project bootstrapped on first start.
  • OPENAI_API_KEY
    Env var· optional· secret
    Optional; only if an ingest or retrieval stage is configured to use OpenAI (defaults target a local Ollama).
  • ANTHROPIC_API_KEY
    Env var· optional· secret
    Optional; only if a stage is configured to use Anthropic.
  • TRIBAL_SERVER__TRANSPORT
    Env var· optional
    Containerised transport: http or sse. The Docker image does not serve stdio; install the binary for stdio.Default: http
Show 3 more
  • TRIBAL_SERVER__BIND_ADDRESS
    Env var· optional
    Address the server binds inside the container. Must be 0.0.0.0 (not the loopback default) for the published port to be reachable.Default: 0.0.0.0:8725
  • TRIBAL_PUBLIC_MCP_URL
    Env var· optional
    The 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.Default: http://127.0.0.1:8725/mcp
  • -p
    Argument· optional
    No description.

Listed in the official MCP Registry since Jun 28, 2026. Mirrored daily; last checked Nov 26, 2026.