Skip to main content
Glama

fathom-mcp

RAG-система для документации: обход сайта документации → разбиение на чанки и локальная генерация эмбеддингов (HuggingFace) → хранение в Postgres+pgvector → семантический поиск через MCP-сервер, REST API и веб-интерфейс.

Архитектура

flowchart LR
    A[Browser] --> B[API Server]
    B --> D[Web UI]
    B --> C[(Postgres + pgvector)]
    B --> G[Ingestion Pipeline]
    G --> H[Scraper Subprocess]
    G --> C
    I[AI Client<br/>Claude, Cursor] -->|MCP over stdio| F[MCP Server]
    F --> C

Related MCP server: MCPDocSearch

Быстрый старт

git clone ... fathom-mcp && cd fathom-mcp
python -m venv .venv && source .venv/bin/activate
pip install -e ".[local]"
docker compose up -d
cp .env.example .env              # set LLM_API_KEY
.venv/bin/docs-mcp-api            # http://127.0.0.1:8000

npm (без клонирования)

npx @fathom-mcp/server            # first run installs ~5GB deps, then instant
npx @fathom-mcp/server --api      # REST API + web UI

MCP-инструменты

add_documentation · search_documentation · list_sources · get_ingest_status · add_local_docs

REST API

Endpoint

Описание

GET /search?q=...

Семантический поиск

GET /sources

Индексированные источники

POST /upload

Загрузка файлов

POST /upload-folder

Индексация локальной папки

GET /llm-chat?q=...

Чат с документацией

GET /about

Информация о системе

OpenCode

Добавьте в ~/.config/opencode/opencode.jsonc:

{
  "mcp": {
    "fathom-mcp": {
      "type": "local",
      "command": ["npx", "-y", "@fathom-mcp/server"]
    }
  }
}

Конфигурация

~/.fathom-mcp/.env — укажите EMBEDDING_PROVIDER=api и EMBEDDING_API_KEY для удалённых эмбеддингов (Jina, OpenAI и т. д.) или оставьте local для HuggingFace.

A
license - permissive license
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Shared knowledge base for AI agents. Semantic search across agents, no setup required — just a URL.

  • Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.

  • Persistent docs and memory for AI agents — read, write, organize & search a shared workspace.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/veer-mehta/fathom-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server