ClaudeCodeMod

All shelves / MCP servers

Tribal

tribal-memory/tribal · 10 stars · Rust

MCP server A personal knowledge context engine for software development. Tribal captures learnings, debugging insights, heuristics, and decision rationale from development work, then makes that knowledge retrievable by coding agents via MCP (Model Context Protocol).

Install

The repo has no one-line install. Follow its README.

Published as

  • Dockerghcr.io/tribal-memory/tribal:0.4.1Streamable HTTP

From the server's entry in the official MCP Registry.

Open the repo

Configuration

NameSet asWhat it is
TRIBAL_DATABASE__URLRequiredEnv varPostgres (pgvector) connection string. Tribal is self-hosted; you provide the database. The supported, complete deployment is docker-compose.yml.
TRIBAL_PROJECT_REMOTERequiredEnv varFirst-run only: the git remote that identifies the project bootstrapped on first start.
TRIBAL_PROJECT_NAMERequiredEnv varFirst-run only: the name of the project bootstrapped on first start.
TRIBAL_SERVER__TRANSPORTOptionalEnv varContainerised transport: http or sse. The Docker image does not serve stdio; install the binary for stdio.
TRIBAL_SERVER__BIND_ADDRESSOptionalEnv varAddress 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_URLOptionalEnv varThe 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_KEYOptional · SecretEnv varOptional; only if an ingest or retrieval stage is configured to use OpenAI (defaults target a local Ollama).
ANTHROPIC_API_KEYOptional · SecretEnv varOptional; only if a stage is configured to use Anthropic.

Files

README.md

Tribal

A personal knowledge context engine for software development. Tribal captures learnings, debugging insights, heuristics, and decision rationale from development work, then makes that knowledge retrievable by coding agents via MCP (Model Context Protocol).

Prerequisites

  • Rust (stable toolchain, 1.89+)
  • Rust nightly (for rustfmt — rustup toolchain install nightly)
  • Docker (for local Postgres and test containers)
  • just — cargo install just
  • sqlx-cli — cargo install sqlx-cli --no-default-features --features postgres
  • cargo-deny — cargo install cargo-deny

Setup

git clone git@github.com:samfolo/tribal.git
cd tribal
just db-up
just db-migrate
just check
just test

Running

# Run the MCP server (stdio transport)
just serve

# Run with a specific project
just serve-project <project_id>

Development

# Format code (requires nightly rustfmt)
just fmt

# Lint and format check
just check

# Run all tests
just test

# Run unit tests only (no database required)
just test-unit

# Full pre-push check (format, lint, test)
just pre-push

# Regenerate sqlx offline query metadata
just sqlx-prepare

Licence

MIT

Facts

Kind
MCP server
Repo
tribal-memory/tribal
Group
Uncategorized
Stars
10
Language
Rust
Last push
2026-08-06
MCP Registry
io.github.tribal-memory/tribal
Homepage
tribal.build
Topics
developer-tools, knowledge-graph, mcp, pgvector, postgres, rust, tacit-knowledge, claude-code, embeddings, llm, memory, model-context-protocol, semantic-search, vector-search, ai, knowledge-management, mcp-server, semantic-memory

Next on this shelf

  1. 6415GodotLensio.github.pzalutski-pixel/godotlens10
  2. 6416Trading212 Mcp Serverkyurish/trading212-mcp-server10
  3. 6417Fw Context Mcpturbyho/fw-context-mcp10
  4. 64183D Print Logcom.3dprintlog/printlogLog and query 3D prints, printers, filament, and projects on 3dprintlog.com, and search its docs.10
  5. 6419Cleracom.getclera/cleraHire from your AI chat: search 210k+ vetted startup candidates, review matches, request intros.10
  6. 6420YouTube Transcript + YouTube Search MCPcom.getyoutubetranscript/youtube-transcript-and-youtube-searchYouTube transcripts, search, channel browsing, and playlists for AI agents via MCP.10