# Contextator

> Contextator is an open-source MCP server for knowledge and memory. Turn folders, repos, Notion and Confluence into one searchable MCP endpoint per project. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** self-hosted, Linux, API, Web
- **Website:** https://contextator.com
- **Repository:** https://github.com/contextator/contextator
- **MCP Registry name:** io.github.Contextator/contextator
- **Categories:** knowledge and memory, developer tools
- **Listing updated:** 2026-11-14

## About

Contextator runs as a single Docker container that holds both PostgreSQL with pgvector and the app. Each project gets its own isolated MCP URL, such as /mcp/billing, built from any mix of sources: a mounted folder, a git repository, an upload, Notion, Confluence, a published documentation site, an S3 bucket, a Google Drive folder or a GitHub issue tracker. A client connected to one project never sees another.

Embeddings are computed locally on the CPU with a multilingual model by default, with OpenAI embeddings available through two environment variables. If the best hit scores below a configurable floor (0.82 by default), it replies with no good match rather than guessing. Files are hashed so only changed ones are re-embedded, and formats like PDF, Word, PowerPoint and Excel are converted to Markdown during indexing.

Access is by bearer token, open, or account-based, with roles for admins, editors and viewers. It is AGPL-3.0-or-later with a commercial licence offered. The project's own comparison admits it is weaker on setup effort and has no catalogue of public library docs.

## Features

- **One endpoint per project:** Isolated collections and embeddings for each project.
- **Many source types:** Folders, git, uploads, Notion, Confluence, doc sites, S3, Drive and GitHub issues.
- **Local embeddings:** CPU-generated by default, so nothing leaves your machine with local sources.
- **No-guess threshold:** Returns no good match below a score floor.
- **Incremental indexing:** Only changed files are re-embedded.
- **Access controls:** Bearer token, open or account-based, with roles and API tokens.

## Good for

- Give a coding agent a company handbook stored in Notion
- Search internal docs across several repositories from one endpoint
- Keep private documentation off hosted RAG services
- Index PDFs and Word files alongside Markdown
- Expose separate doc sets to different teams

## FAQ

### How do I run it?

As one Docker container, published as contextator/contextator, started with docker compose.

### Is it free?

It is free software under AGPL-3.0-or-later, with a commercial licence available.

### Does it send my documents elsewhere?

With local sources and a cached model there is no egress; OpenAI embeddings are optional.

### Which public library docs are included?

None; it indexes only the sources you add.

### Is Contextator free?

Yes. Contextator is open source, so you can use and self-host it for free.

### What are the best alternatives to Contextator?

The closest alternatives to Contextator are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Nautilus Compass Memory](https://ai-powered.com/mcp/nautilus-compass-memory): Nautilus Compass Memory is an open-source MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/contextator
