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.1The 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__URLEnv var· requiredPostgres (pgvector) connection string. Tribal is self-hosted; you provide the database. The supported, complete deployment is docker-compose.yml.TRIBAL_PROJECT_REMOTEEnv var· requiredFirst-run only: the git remote that identifies the project bootstrapped on first start.TRIBAL_PROJECT_NAMEEnv var· requiredFirst-run only: the name of the project bootstrapped on first start.OPENAI_API_KEYEnv var· optional· secretOptional; only if an ingest or retrieval stage is configured to use OpenAI (defaults target a local Ollama).ANTHROPIC_API_KEYEnv var· optional· secretOptional; only if a stage is configured to use Anthropic.TRIBAL_SERVER__TRANSPORTEnv var· optionalContainerised transport: http or sse. The Docker image does not serve stdio; install the binary for stdio.Default:http
Show 3 moreShow fewer
TRIBAL_SERVER__BIND_ADDRESSEnv var· optionalAddress 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:8725TRIBAL_PUBLIC_MCP_URLEnv var· optionalThe 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-pArgument· optionalNo description.
Links
Listed in the official MCP Registry since Jun 28, 2026. Mirrored daily; last checked Nov 26, 2026.