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
- Docker
ghcr.io/tribal-memory/tribal:0.4.1Streamable HTTP
From the server's entry in the official MCP Registry.
Configuration
| Name | Set as | What it is |
|---|---|---|
TRIBAL_DATABASE__URLRequired | Env var | Postgres (pgvector) connection string. Tribal is self-hosted; you provide the database. The supported, complete deployment is docker-compose.yml. |
TRIBAL_PROJECT_REMOTERequired | Env var | First-run only: the git remote that identifies the project bootstrapped on first start. |
TRIBAL_PROJECT_NAMERequired | Env var | First-run only: the name of the project bootstrapped on first start. |
TRIBAL_SERVER__TRANSPORTOptional | Env var | Containerised transport: http or sse. The Docker image does not serve stdio; install the binary for stdio. |
TRIBAL_SERVER__BIND_ADDRESSOptional | Env var | Address 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_URLOptional | Env var | 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. |
OPENAI_API_KEYOptional · Secret | Env var | Optional; only if an ingest or retrieval stage is configured to use OpenAI (defaults target a local Ollama). |
ANTHROPIC_API_KEYOptional · Secret | Env var | Optional; only if a stage is configured to use Anthropic. |
Files
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
- 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
- 6415GodotLensio.github.pzalutski-pixel/godotlens10
- 6416Trading212 Mcp Serverkyurish/trading212-mcp-server10
- 6417Fw Context Mcpturbyho/fw-context-mcp10
- 64183D Print Logcom.3dprintlog/printlogLog and query 3D prints, printers, filament, and projects on 3dprintlog.com, and search its docs.10
- 6419Cleracom.getclera/cleraHire from your AI chat: search 210k+ vetted startup candidates, review matches, request intros.10
- 6420YouTube Transcript + YouTube Search MCPcom.getyoutubetranscript/youtube-transcript-and-youtube-searchYouTube transcripts, search, channel browsing, and playlists for AI agents via MCP.10