Skip to main content
Glama

fathom-mcp

ドキュメントRAGシステム: ドキュメントサイトをクロール → ローカルでチャンク化+埋め込み (HuggingFace) → Postgres+pgvector に保存 → MCPサーバー、REST API、web UI によるセマンティック検索。

アーキテクチャ

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 — リモート埋め込み (Jina、OpenAI など) には EMBEDDING_PROVIDER=apiEMBEDDING_API_KEY を設定し、HuggingFace を使う場合は local のままにします。

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