Логотип Paper Distill MCP Server

Paper Distill MCP Server

Сообщество
Eclipse-Cj

MCP server for academic paper search, curation, and multi-platform push

ИздательEclipse-Cj
Репозиторийpaper-distill-mcp
ЯзыкPython
Форки
4
Звёзды
67
Доступные инструменты
0
Тип транспортаstdio, streamable-http
Категории
ЛицензияAGPL-3.0
Ссылки
  • Подключайте инструменты к рабочим процессам с ИИ

    Paper Distill MCP Server предоставляет возможности MCP, доступные совместимым ИИ-клиентам и агентам.

  • Доступные инструменты: 0

    Ниже представлены доступные для вызова действия с названиями и описаниями, если сервер их предоставляет.

  • Готовая конфигурация для копирования

    Используйте примеры конфигурации, чтобы настроить этот сервер в предпочитаемом MCP-клиенте.

  • Показатели интереса к открытому проекту

    Звёзды: 67, форки: 4 — в связанном репозитории.

📚 Paper Distill MCP Server

License: AGPL-3.0 Python 3.10+ PyPI version CI

Academic paper search, intelligent curation, and multi-platform delivery — built on the Model Context Protocol.

Compatible with all MCP clients: Claude Desktop, Claude Code, Cursor, Trae, Codex CLI, Gemini CLI, OpenClaw, VS Code, Zed, and more.

⚠️ Early development stage. Many features are still being validated and may contain bugs or instabilities. Feedback and bug reports are warmly welcome!


✨ Features

  • 🔍 11-source parallel search — OpenAlex, Semantic Scholar, PubMed, arXiv, Papers with Code, CrossRef, Europe PMC, bioRxiv, DBLP, CORE, Unpaywall
  • 🤖 Adaptive AI delivery — the agent tracks your evolving research interests and automatically refines search keywords and recommendations over time
  • 📊 4-dimensional weighted ranking — relevance × recency × impact × novelty, fully customizable weights
  • 👥 Dual-AI blind review — two AI reviewers independently shortlist papers; a chief reviewer synthesizes a final push/overflow/discard decision (optional)
  • 🧹 Scraper delegation — offload abstract extraction to a low-cost agent or API to cut token spend significantly
  • 🌐 Personal paper library site — Astro + Vercel auto-deploy; site updates within 30 seconds of each push
  • 📬 Multi-platform delivery — Telegram / Discord / Feishu / WeCom
  • 📦 Zotero integration — save papers to Zotero with one command
  • 📝 Obsidian integration — auto-generate paper note cards with Zotero backlinks; supports summary and template modes

🚀 Quick Install

bash
uvx paper-distill-mcp

That's it. Your AI client will discover all tools automatically. No API keys required for basic paper search.

No uv? → curl -LsSf https://astral.sh/uv/install.sh | sh or brew install uv

pip:

bash
pip install paper-distill-mcp

Homebrew:

bash
brew tap Eclipse-Cj/tap
brew install paper-distill-mcp

Docker:

bash
docker run -i --rm ghcr.io/eclipse-cj/paper-distill-mcp

From source (developers):

bash
git clone https://github.com/Eclipse-Cj/paper-distill-mcp.git
cd paper-distill-mcp
python3 -m venv .venv && .venv/bin/pip install --upgrade pip && .venv/bin/pip install -e .

🔗 Connecting to AI Clients

Claude Desktop

Add to claude_desktop_config.json (Settings → Developer → Edit Config):

json
{
  "mcpServers": {
    "paper-distill": {
      "command": "uvx",
      "args": ["paper-distill-mcp"]
    }
  }
}

Claude Code

bash
claude mcp add paper-distill -- uvx paper-distill-mcp

Or add to .mcp.json:

json
{
  "mcpServers": {
    "paper-distill": {
      "command": "uvx",
      "args": ["paper-distill-mcp"]
    }
  }
}

Codex CLI (OpenAI)

Add to ~/.codex/config.toml:

toml
[mcp_servers.paper-distill]
command = "uvx"
args = ["paper-distill-mcp"]

Gemini CLI (Google)

Add to ~/.gemini/settings.json:

json
{
  "mcpServers": {
    "paper-distill": {
      "command": "uvx",
      "args": ["paper-distill-mcp"]
    }
  }
}

OpenClaw

bash
mcporter config add paper-distill --command uvx --scope home -- paper-distill-mcp
mcporter list  # verify

To remove: mcporter config remove paper-distill

bash
git clone https://github.com/Eclipse-Cj/paper-distill-mcp.git ~/.openclaw/tools/paper-distill-mcp
cd ~/.openclaw/tools/paper-distill-mcp
uv venv .venv && uv pip install .
mcporter config add paper-distill \
  --command ~/.openclaw/tools/paper-distill-mcp/.venv/bin/python3 \
  --scope home \
  -- -m mcp_server.server
mcporter list

To remove: rm -rf ~/.openclaw/tools/paper-distill-mcp && mcporter config remove paper-distill

Other clients (Cursor, VS Code, Windsurf, Zed, Trae)

Same JSON config, different config file paths:

ClientConfig path
Claude Desktopclaude_desktop_config.json
TraeSettings → MCP → Add
Cursor~/.cursor/mcp.json
VS Code.vscode/mcp.json
Windsurf~/.codeium/windsurf/mcp_config.json
Zedsettings.json

HTTP transport (remote / hosted)

bash
paper-distill-mcp --transport http --port 8765

🎯 Getting Started

After connecting your client, tell the agent "initialize paper-distill". It will call setup() and walk you through:

  1. Research topics — describe your interests in plain language; the AI extracts keywords
  2. Delivery platform — set up Telegram / Discord / Feishu / WeCom (optional)
  3. Paper library site — build a personal paper library that updates automatically (optional)
  4. Scraper delegate — point to a low-cost agent or API for abstract extraction (recommended)
  5. Preferences — paper count, ranking weights, review mode, etc.
  6. First search — pool_refresh() populates the paper pool

All settings can be updated at any time through conversation:

  • "Push 8 papers next time"
  • "Add a new topic: RAG retrieval"
  • "Enable dual-AI blind review"
  • "Increase recency weight"

⚙️ Configuration Reference

All parameters are set via configure() or add_topic() — no manual file editing needed.

Research Topics (add_topic / manage_topics)

ParameterDescriptionDefault
keyTopic identifier (e.g. "llm-reasoning")—
labelDisplay name (e.g. "LLM Reasoning")—
keywordsSearch keywords, 3–5 recommended—
weightTopic priority 0.0–1.0 (higher = more papers)1.0
blockedTemporarily disable without deletingfalse

Paper Count & Review (configure)

ParameterOptionsDefaultDescription
paper_count_valueany integer6Papers per push
paper_count_mode"at_most" / "at_least" / "exactly""at_most"Count mode
picks_per_reviewerany integer5Shortlist size per reviewer
review_mode"single" / "dual""single"Single AI or dual blind review
custom_focusfree text""Custom selection criteria

💡 Dual blind review: two independent AI reviewers each shortlist papers; a chief reviewer makes the final push/overflow/discard call. Papers that don't make the cut are held for the next cycle rather than discarded. Enable with configure(review_mode="dual").

Ranking Weights (configure)

Controls paper scoring. The four weights should sum to approximately 1.0.

ParameterMeasuresDefault
w_relevanceKeyword and topic match0.55
w_recencyHow recently the paper was published0.20
w_impactCitation count (log-normalized)0.15
w_noveltyWhether this is the first appearance0.10

Example: "Prioritize recent papers" → configure(w_recency=0.35, w_relevance=0.40)

Scraper / Abstract Extraction Delegate (configure)

Abstract extraction is the most token-intensive step. It runs on the main agent by default, but can be delegated to a cheaper model to cut costs significantly.

ParameterValueDescription
summarizer"self"Main agent handles extraction (most expensive)
agent name (e.g. "scraper")Delegate to a low-cost sub-agent
API URLCall an external LLM API (DeepSeek, Ollama, etc.)

🔧 Strongly recommended: for 30+ papers, frontier model costs add up fast. A $0.14/M-token model handles extraction just as well. Set this with configure(summarizer="scraper").

Paper Pool & Scan Batches (configure)

ParameterDescriptionDefault
scan_batchesSplit the paper pool into N batches, reviewed over N+1 days2 (3 days)

pool_refresh() searches all 11 APIs and fills the pool. The pool is then split into batches for daily AI review — avoiding a single 60+ paper dump.

  • scan_batches=2 (default): review first half on day 1, second half on day 2, finalize on day 3
  • scan_batches=3: review one-third per day, finalize on day 4

When all batches are reviewed, the pool is exhausted and the next run triggers a fresh API search automatically.

Delivery Platforms (Environment Variables)

PlatformEnvironment variablesplatform value
TelegramTELEGRAM_BOT_TOKEN + TELEGRAM_CHAT_ID"telegram"
DiscordDISCORD_WEBHOOK_URL"discord"
FeishuFEISHU_WEBHOOK_URL"feishu"
WeComWECOM_WEBHOOK_URL"wecom"

⚠️ Important: set environment variables in the MCP client config env field, not as system environment variables. Otherwise send_push() cannot access the webhook URL and the AI may generate scripts that call webhooks directly, causing encoding issues.

Config example (WeCom + Claude Desktop):

json
{
  "mcpServers": {
    "paper-distill": {
      "command": "uvx",
      "args": ["paper-distill-mcp"],
      "env": {
        "WECOM_WEBHOOK_URL": "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=YOUR_KEY"
      }
    }
  }
}

Restart the MCP client after editing the config.

Push message format (fixed):

1. Paper Title (Year)
   Journal Name
   - One-sentence summary
   - Why it was selected
   https://doi.org/...

Paper Library Site (configure)

Personal paper library website, auto-updated on every push. Built on Astro + Vercel (free tier).

ParameterDescription
site_deploy_hookVercel deploy hook URL (triggers site rebuild)
site_repo_pathLocal path to the paper-library repository

Setup steps (the AI agent will guide you):

  1. Create a repo from the paper-library-template
  2. Connect to Vercel and deploy
  3. Create a deploy hook in Vercel (Settings > Git > Deploy Hooks)
  4. Tell the agent the hook URL → saved via configure(site_deploy_hook=...)

After setup, every finalize_review() call pushes the digest JSON to the site repo and triggers a Vercel rebuild. The site updates in ~30 seconds.

Zotero Integration

Save papers to Zotero with one command. Requires a Zotero account and API key.

Getting credentials:

  1. API Key: go to zotero.org/settings/keys/new → check "Allow library access" + "Allow write access" → Save Key
  2. Library ID: go to zotero.org/settings/keys → your userID is shown at the top

Add to MCP client config:

json
{
  "mcpServers": {
    "paper-distill": {
      "command": "uvx",
      "args": ["paper-distill-mcp"],
      "env": {
        "ZOTERO_LIBRARY_ID": "your userID",
        "ZOTERO_API_KEY": "your API key"
      }
    }
  }
}

After setup, reply collect 1 3 after a push to save papers 1 and 3 to Zotero, automatically sorted into per-topic folders.

All Environment Variables

VariableDescriptionRequired
OPENALEX_EMAILIncreases OpenAlex API rate limit; also used for Unpaywalloptional
CORE_API_KEYCORE API key (free registration)optional
DEEPSEEK_API_KEYEnhanced search via DeepSeekoptional
ZOTERO_LIBRARY_ID + ZOTERO_API_KEYSave papers to Zoterooptional
SITE_URLPaper library website URLoptional
PAPER_DISTILL_DATA_DIRData directorydefault: ~/.paper-distill/

🛠️ Tools (19 total)

Setup & Configuration

ToolDescription
setup()First call — detects fresh install and returns guided initialization instructions
add_topic(key, label, keywords)Add a research topic with search keywords
configure(...)Update any setting: paper count, ranking weights, review mode, etc.

Search & Curation

ToolDescription
search_papers(query)Parallel search across 11 sources
rank_papers(papers)4-dimensional weighted scoring
filter_duplicates(papers)Deduplicate against previously pushed papers

Daily Pipeline (paper pool mode)

ToolDescription
pool_refresh(topic?)Search all 11 APIs and build the paper pool
prepare_summarize(custom_focus?)Generate AI abstract extraction prompt
prepare_review(dual?)Generate review prompt — AI makes push/overflow/discard decisions
finalize_review(selections)Process AI decisions, update pool, output push message
pool_status()Pool status: count, scan day, exhausted or not
collect(paper_indices)Save papers to Zotero + generate Obsidian notes

Session & Output

ToolDescription
init_sessionDetect delivery platform and load research context
load_session_contextLoad historical research context
generate_digest(papers, date)Generate output files (JSONL, site, Obsidian)
send_push(date, papers, platform)Deliver to Telegram / Discord / Feishu / WeCom
collect_to_zotero(paper_ids)Save to Zotero via DOI
manage_topics(action, topic)List / disable / enable / reweight topics
ingest_research_context(text)Inherit research context across sessions

🏗️ Architecture

AI client (Claude Code / Codex CLI / Gemini CLI / Cursor / ...)
    ↓ MCP (stdio or HTTP)
paper-distill-mcp
    ├── search/         — 11-source academic search (with OA full-text enrichment)
    ├── curate/         — scoring + deduplication
    ├── generate/       — output (JSONL, Obsidian, site)
    ├── bot/            — push formatting (4 platforms)
    └── integrations/   — Zotero API

The server does not call any LLM internally. Search, ranking, and deduplication are pure data operations. Intelligence comes from your AI client.


📖 Paywalled Papers & Open Access

The system searches all papers by default (including subscription journals) and maximizes free full-text access through:

  1. CORE — world's largest OA aggregator (200M+ papers), covering author self-archived versions from institutional repositories
  2. Unpaywall — after merging results, automatically looks up legal free PDFs via DOI (preprints, green OA, author versions)

For papers with no free version, the system returns a DOI link. If you have institutional VPN access, clicking the DOI link while connected is usually enough — publishers identify your institution by IP.

open_access_url priority: arXiv > CORE > Unpaywall > OpenAlex > Semantic Scholar > Papers with Code


❓ FAQ

Review stage hangs / no response for 30+ minutes

Symptom: the review prompt generated by prepare_review() causes the AI client to hang or time out.

Cause: too many candidate papers in the pool (e.g. 80–100), making the prompt exceed the client's context window or output token limit. VS Code Copilot and some IDE plugins have limited context capacity.

Solutions (pick one):

  1. Increase scan_batches (recommended) — split the pool into more batches:
    configure(scan_batches=5)
  2. Reduce topics or keywords — fewer topics → fewer search results → smaller pool.
  3. Switch to a higher-context client — Claude Code (200k), Claude Desktop (200k), or Cursor handle long prompts better.

Install error: Requires-Python >=3.10

Python 3.10+ is required. macOS ships with Python 3.9 by default — install a newer version with brew install python@3.13 or use uv.

Docker image fails to pull (mainland China)

ghcr.io is blocked in mainland China. Use pip with a Chinese mirror:

bash
pip install paper-distill-mcp -i https://pypi.tuna.tsinghua.edu.cn/simple

🧑‍💻 Development

bash
git clone https://github.com/Eclipse-Cj/paper-distill-mcp.git
cd paper-distill-mcp
python3 -m venv .venv && .venv/bin/pip install --upgrade pip && .venv/bin/pip install -e .
python tests/test_mcp_smoke.py   # 9 tests, no network required

📄 License

This project is licensed under AGPL-3.0. See LICENSE for details.

Unauthorized commercial use is prohibited. For commercial licensing inquiries, contact the author.


📬 Contact

Bug reports and feature requests are welcome. The project is in active early development — thank you for your patience and support 🙏

Установка

TypingMind
{
  "mcpServers": {
    "paper-distill-mcp": {
      "command": "uvx",
      "args": [
        "paper-distill-mcp"
      ]
    }
  }
}

Используйте MCP Paper Distill MCP Server с разными ИИ-моделями

TypingMind подключает инструменты MCP на уровне рабочего пространства, поэтому после подключения Paper Distill MCP Server вы можете использовать их с разными моделями ИИ в TypingMind, не настраивая подключение отдельно для каждой модели. Вы можете запустить MCP локально на своём устройстве или подключиться к удалённому серверу MCP по URL.

Вариант 1: используйте локальный коннектор

Выберите этот способ, если серверу MCP нужен доступ к локальным файлам, приложениям или закрытым ресурсам на вашем компьютере.

1

Откройте настройки MCP

В TypingMind откройте «Настройки», затем «Расширенные настройки», перейдите в раздел «Протокол контекста модели» и выберите «Настроить коннектор».

  1. Откройте TypingMind в браузере.
  2. Нажмите значок настроек.
  3. Перейдите в «Расширенные настройки».
  4. Откройте раздел «Протокол контекста модели».
  5. Нажмите «Настроить коннектор» и выберите «Это устройство».
Экран настройки коннектора MCP в TypingMind с выбранным вариантом «Это устройство»
2

Выполните команду коннектора

Выберите «Это устройство», скопируйте команду из TypingMind и выполните её в терминале. Не останавливайте процесс, пока используете MCP.

  1. Скопируйте команду настройки, показанную в TypingMind.
  2. Откройте «Терминал» в macOS или Windows Terminal в Windows.
  3. Вставьте и выполните команду.
  4. Подтвердите установку пакета, если терминал запросит разрешение продолжить.
  5. Не закрывайте окно терминала и не останавливайте процесс, пока используете инструменты MCP.
3

Добавьте Paper Distill MCP Server как сервер

Когда статус коннектора сменится на «Готов», нажмите «Изменить серверы» и вставьте конфигурацию сервера MCP.

  1. Дождитесь, пока статус коннектора сменится на «Готов».
  2. Нажмите «Изменить серверы».
  3. Вставьте конфигурацию сервера MCP для Paper Distill MCP Server.
  4. Сохраните список серверов.
  5. Обновите статус, если хотите убедиться, что коннектор по-прежнему готов к работе.
Настройки MCP в TypingMind с активным сервером и кнопкой «Изменить серверы»
{
  "mcpServers": {
    "paper-distill-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Используйте подключение с разными моделями

Сохраните список серверов, откройте раздел «Плагины», включите инструменты MCP для Paper Distill MCP Server, затем выберите любую поддерживаемую модель ИИ в TypingMind и используйте инструменты в чате или назначьте их ИИ-агенту.

  1. Откройте страницу «Плагины» в TypingMind.
  2. Включите инструменты MCP для Paper Distill MCP Server.
  3. Начните чат и выберите модель ИИ, которую хотите использовать.
  4. Используйте инструменты MCP в чате или назначьте их ИИ-агенту.
  5. При необходимости переключайтесь на другую модель ИИ без повторного подключения MCP.
Чат TypingMind с включёнными инструментами MCP и выбранной ИИ-моделью
Можете помочь мне с этой задачей с помощью Paper Distill MCP Server?
Paper Distill MCP Server
Конечно. Я всё прочитал.
Вот что я нашёл с помощью Paper Distill MCP Server.

Вариант 2: добавьте URL сервера MCP

Выберите этот способ, если Paper Distill MCP Server уже размещён на удалённом сервере или вашей команде нужен общий коннектор для нескольких пользователей.

1

Откройте коннекторы MCP

В TypingMind перейдите в раздел «Плагины», откройте «Коннекторы MCP» и выберите «Добавить URL».

  1. Откройте TypingMind в браузере.
  2. Перейдите в раздел «Плагины».
  3. Откройте раздел «Коннекторы MCP».
  4. Нажмите «Добавить URL».
Форма «Добавить URL своего сервера MCP» в TypingMind
2

Вставьте URL сервера

Введите URL сервера MCP, предоставленный поставщиком в поле «URL сервера». Добавьте название подключения, описание, значок, пользовательские HTTP-заголовки или настройки клиента OAuth, если они требуются серверу.

  1. Вставьте URL сервера MCP, предоставленный поставщиком в поле «URL сервера».
  2. Введите название подключения для Paper Distill MCP Server.
  3. Добавьте описание и значок, чтобы подключение было проще узнать.
  4. Добавьте пользовательские HTTP-заголовки или данные клиента OAuth, если сервер требует аутентификации.
3

Создайте подключение

Нажмите «Создать подключение», затем вернитесь к списку плагинов и убедитесь, что новое подключение MCP активно.

  1. Нажмите «Создать подключение».
  2. Вернитесь к списку коннекторов MCP.
  3. Убедитесь, что подключение Paper Distill MCP Server отображается как активное.
  4. Обновите список плагинов, если подключение не появится сразу.
4

Переключайте модели без повторного подключения

Начните чат с предпочитаемой моделью, включите инструменты Paper Distill MCP Server в разделе «Плагины» и при необходимости переключитесь на другую модель. Подключение MCP останется доступным в рабочем пространстве TypingMind.

  1. Начните новый чат в TypingMind.
  2. Выберите модель ИИ, которую хотите использовать.
  3. Включите инструменты Paper Distill MCP Server в разделе «Плагины».
  4. При необходимости попросите модель использовать инструмент.
  5. Переключитесь на другую модель ИИ и используйте то же подключение MCP.
Чат TypingMind с включёнными инструментами MCP и выбранной ИИ-моделью
Можете помочь мне с этой задачей с помощью Paper Distill MCP Server?
Paper Distill MCP Server
Конечно. Я всё прочитал.
Вот что я нашёл с помощью Paper Distill MCP Server.

Часто задаваемые вопросы

Для чего используется сервер MCP Paper Distill MCP Server?

Paper Distill MCP Server — это сервер MCP, который позволяет совместимым ИИ-клиентам подключаться к внешним инструментам и получать контекст. В TypingMind достаточно один раз добавить этот сервер MCP, чтобы его инструменты стали доступны в вашем рабочем пространстве с ИИ.

Можно ли использовать сервер MCP Paper Distill MCP Server с несколькими ИИ-моделями в TypingMind?

Да. TypingMind подключает инструменты MCP на уровне рабочего пространства, поэтому вы можете использовать Paper Distill MCP Server с разными ИИ-моделями, например Claude, ChatGPT, Gemini или другими моделями, настроенными в TypingMind, без отдельной настройки сервера MCP для каждой модели.

Зачем использовать MCP Paper Distill MCP Server с TypingMind?

TypingMind — один из лучших интерфейсов для чата с LLM: он объединяет разные ИИ-модели, промпты, плагины, ИИ-агентов, ключи API и инструменты MCP в одном рабочем пространстве. Подключив Paper Distill MCP Server, вы сможете использовать его инструменты MCP с предпочитаемыми моделями, сохраняя удобную организацию работы с чатами в TypingMind.

Как подключить сервер MCP Paper Distill MCP Server к TypingMind?

Paper Distill MCP Server можно подключить к TypingMind через локальный коннектор MCP или добавив URL удалённого сервера MCP. Используйте локальный коннектор, если серверу нужен доступ к файлам, приложениям или закрытым ресурсам на вашем устройстве, и URL сервера, если сервер MCP размещён удалённо.

Какие инструменты предоставляет сервер MCP Paper Distill MCP Server в TypingMind?

Paper Distill MCP Server предоставляет возможности MCP, которые можно включить на странице «Плагины» в TypingMind и использовать в чате или назначить ИИ-агентам.

Нужно ли передавать TypingMind свои ключи API для использования сервера MCP Paper Distill MCP Server?

Нет. TypingMind ориентирован прежде всего на локальную работу и позволяет вам контролировать выбор провайдеров моделей, ключи API, промпты и конфигурацию MCP. Если Paper Distill MCP Server требует аутентификации, при создании подключения добавьте необходимые заголовки, настройки OAuth или локальную конфигурацию для этого сервера MCP.

Похожие серверы MCP

Все

Создайте свою рабочую ИИ-среду сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇