# fortemi [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/Fortemi/fortemi  
**GitHub Stars:** 30  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/fortemi

## Description
Self-hosted AI knowledge base with hybrid semantic search (pgvector + FTS + RRF), MCP server, multi-provider LLM inference (Ollama, OpenAI, OpenRouter, llama.cpp), multimodal ingestion (vision, audio transcription, speaker diarization), and knowledge graph. Rust + PostgreSQL.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/Fortemi/fortemi), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Start the server:

```sh
docker compose -f docker-compose.bundle.yml up -d
```

2. Run:

```sh
mkdir -p fortemi && cd fortemi
```

3. Install:

```sh
git clone --depth 1 https://github.com/Fortemi/fortemi.git .
```

4. Configure:

```sh
scripts/init-bundle-env.sh
```

## Documentation

## What fortemi does

fortemi exposes Fortémi’s AI-oriented database to agent workflows through the Model Context Protocol. Fortémi stores organizational information as normalized, linkable records rather than treating files and notes as isolated blobs. The resulting data can support knowledge management, retrieval-augmented generation, agent memory, and team documentation.

The repository describes 44 MCP agent tools. They provide access to the platform’s knowledge workflows, including hybrid search, content handling, graph-based discovery, and related data operations. The backend is written in Rust, uses PostgreSQL, and is intended for self-hosted deployments ranging from local or edge hardware to GPU-backed infrastructure.

## How it works

Search combines BM25 full-text retrieval with dense vector similarity and Reciprocal Rank Fusion. MMR diversity reranking can reduce repetitive results. Full-text search includes language-aware processing, CJK bigrams, emoji trigrams, and multiple language stemmers; search expressions can use AND, OR, NOT, and phrase operators.

Fortémi also builds relationships between records. Automatic links can be created from embedding similarity, while graph features support recursive exploration, similarity scoring, sparsification, and community detection. W3C SKOS vocabularies provide hierarchical concepts for semantic organization.

The documented extraction adapters cover images, audio, video, 3D models, email, spreadsheets, and archives. Audio processing includes Whisper transcription and pyannote speaker diarization. Video processing can combine keyframes, scene detection, and transcript alignment. Document handling includes content-aware processing for 131 document types.

## Setup and configuration

The repository provides a Docker bundle for headless deployments. Start it with:

```bash
docker compose -f docker-compose.bundle.yml up -d
```

Fortémi supports local, edge, hosted, and air-gapped backend arrangements. Its inference layer can use Ollama, OpenAI, OpenRouter, or llama.cpp, with runtime provider changes supported by the platform. GPU profiles include edge, 12 GB, and 24 GB configurations, while the project also describes CPU-only operation.

## Tools and capabilities

- Hybrid semantic and full-text retrieval with RRF fusion
- Knowledge-graph linking and recursive exploration
- Multimodal extraction from images, audio, video, 3D files, email, spreadsheets, and archives
- Content-aware handling for 131 document types
- Multilingual full-text search and structured search operators
- Multi-memory archives with federated cross-archive search
- Embedding sets, automatic embedding rules, and two-stage retrieval
- Synchronous multi-turn chat with configurable inference providers
- Real-time events through SSE, WebSocket, and webhooks
- Spatial and temporal queries using location and time ranges

## Limitations and notes

Running the headless deployment requires operating the Docker and PostgreSQL-backed stack. Authentication is fail-closed by default, with an explicit anonymous mode intended for local development. Large files use resumable TUS uploads and HTTP Range downloads. The project is licensed under BSL-1.1.

_Full upstream README: https://allmcps.com/mcp/fortemi/readme_

