Paperqa MCP Server

MCP server exposing PaperQA2 for deep synthesis across scientific papers

Local serverstdioPython

What is the Paperqa MCP server?

If you already use Paperqa, the paperqa mcp server is the piece that lets your assistant work with it directly. MCP server exposing PaperQA2 for deep synthesis across scientific papers.

What the server does

Give Claude the ability to read, search, and synthesize across your entire PDF library. Built on PaperQA2.

Credentials and setup notes

Configuration is passed through the environment: OPENAI_API_KEY, PAPER_DIRECTORY, PQA_LLM, PQA_SUMMARY_LLM, ANTHROPIC_API_KEY. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Installation

Installation goes through your MCP client rather than a global install: point it at paperqa-mcp-server on PyPI and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

Where it fits

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

How to install the Paperqa MCP server

{
  "mcpServers": {
    "paperqa": {
      "command": "/Users/yourname/.local/bin/uvx",
      "args": ["--from", "git+https://github.com/menyoung/paperqa-mcp-server", "paperqa-mcp-server"],
      "env": {
        "OPENAI_API_KEY": "sk-your-key-here"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
OPENAI_API_KEYCredential the server authenticates with.Yes
PAPER_DIRECTORYFilesystem location the server is allowed to use.Optional
PQA_LLMConfiguration value read at startup.Optional
PQA_SUMMARY_LLMConfiguration value read at startup.Optional
ANTHROPIC_API_KEYCredential the server authenticates with.Yes

Frequently asked questions

It connects Paperqa to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with Paperqa directly.