paper-mcp
Provides tools to retrieve academic papers from arXiv, including preprint information and full text.
Provides tools to retrieve academic paper metadata, citations, and references from Semantic Scholar.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@paper-mcpGet metadata for 'Attention Is All You Need'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
π paper-mcp
An MCP server built with FastMCP that lets Claude (or any LLM) retrieve academic papers by title.
Run it in one command with uvx β no manual install needed.
β¨ Features
5 tools, all taking paper_title as the only argument:
Tool | Returns |
| Title, authors, abstract, DOI, arXiv ID, citation count, TL;DR, OA status, fields of study |
| Best open-access PDF URL |
| Full plain text (up to 50,000 chars) |
| Up to 100 papers that cite this one |
| Up to 100 papers this one cites |
Data sources (priority order): Semantic Scholar β arXiv β Unpaywall β Lightpanda browser via gomcp
Related MCP server: Claude Desktop Research MCP Server
π Quick Start
Run without installing (uvx)
# stdio mode β for Claude Desktop / most MCP clients
uvx paper-mcp
# SSE mode β for remote or multi-client setups
uvx paper-mcp --transport sse --port 8000
uvxdownloads, installs (in an isolated env), and runs the package β zero setup.
Install permanently
uv tool install paper-mcp
paper-mcp # now available globally
paper-mcp --transport sseLocal development
git clone https://github.com/imnotdev25/paper-search
cd paper-search
uv sync # install all deps from pyproject.toml
uv run paper-mcp # run directly
uv run paper-mcp --transport sseπ₯ Claude Desktop Config
Add to claude_desktop_config.json:
{
"mcpServers": {
"papers": {
"command": "uvx",
"args": ["paper-mcp"]
}
}
}No Python paths, no venv activation β uvx handles everything.
π Browser Fallback (gomcp / Lightpanda)
For JS-rendered publisher pages, the server automatically starts a Lightpanda headless browser via gomcp.
One-time setup:
# Download gomcp binary from GitHub releases:
# https://github.com/lightpanda-io/gomcp/releases
# Then download the Lightpanda browser binary:
gomcp downloadIf gomcp is not installed, the server still works β browser-dependent
paths fall back to abstract/metadata gracefully.
π Architecture
Claude (LLM)
β MCP (stdio or SSE)
βΌ
paper-mcp [FastMCP, Python]
β
βββ Semantic Scholar API ββ metadata, citations, references
βββ arXiv API + HTML ββ preprint info + full text
βββ Unpaywall API ββ open-access PDF by DOI
βββ gomcp SSE βββββββββββββ Lightpanda browser (JS fallback)
β CDP
βββ Lightpanda Browser (headless)π¦ Publishing to PyPI
# Build
uv build
# Publish (needs PyPI token)
uv publish --token $PYPI_TOKENOnce on PyPI, anyone can run it with uvx paper-mcp.
βοΈ CLI Options
usage: paper-mcp [-h] [--transport {stdio,sse}] [--port PORT] [--host HOST]
options:
--transport stdio (default) or sse
--port SSE port (default: 8000)
--host SSE host (default: 127.0.0.1)π Notes
Semantic Scholar free tier: ~100 req/5 min. For higher throughput, set
S2_API_KEYin the environment and add it to the httpx client headers inserver.py.Unpaywall requires a valid contact email β update
UNPAYWALL_EMAILinserver.py.Full text is only available for arXiv papers (HTML renderer) and JS-rendered pages reachable via gomcp. Paywalled PDFs require institutional access.
π Project Structure
paper-mcp/
βββ pyproject.toml β packaging, entry point, deps
βββ README.md
βββ src/
βββ paper_mcp/
βββ __init__.py
βββ server.py β all 5 FastMCP tools + main()Available Tools
6 toolsdoi_get_metadataResolve DOI to Full Paper MetadataARead-onlyIdempotent
Resolve a DOI to comprehensive paper metadata from multiple authoritative sources.
This is the reverse of paper_get_metadata: given a DOI you already know, retrieve everything about the paper without needing its title.
Data is merged from three complementary sources (all queried in parallel):
Crossref β canonical DOI registry; best for bibliographic data, publisher, volume/issue/page, funders, license.
Semantic Scholar β adds citation count, references, fields of study, TL;DR, and open-access PDF link.
Unpaywall β adds detailed open-access status and every known PDF URL.
Returns a merged JSON object with: doi, title, abstract, authors, year, publication_date, venue, publisher, volume, issue, page, type, subjects, issn, funders, license, citation_count, reference_count, is_referenced_by_count, fields_of_study, tldr, publication_types, is_open_access, oa_status, open_access_pdf, oa_locations (list of all known PDF URLs with host_type / version / license), arxiv_id, semantic_scholar_id, sources (list of which APIs responded successfully)
Args: params (DoiInput): { doi: str } Accepts bare DOI or full URL, e.g.: "10.1145/3442188.3445922" "https://doi.org/10.1145/3442188.3445922"
Returns: str: JSON-encoded metadata dict or { "error": "..." }.
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes | Input model for DOI-based lookups. |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true, covering safety. The description adds valuable behavioral detail: it queries three sources in parallel (Crossref, Semantic Scholar, Unpaywall) and merges results. It also describes the output fields and error format, going beyond annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is somewhat long but well-structured with bullet points for sources and a clear list of returned fields. Each part adds value for a complex tool. Could be slightly more concise, but the structure helps readability.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity (multiple data sources, merged output), the description is thorough. It explains the parameter format, the sources queried, the full list of output fields, and error handling. With annotations covering safety and output schema existing, it is completely adequate.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% with doi parameter already documented in schema. The description repeats the accepted formats (bare DOI or URL) but does not add significant new meaning beyond what the schema provides. Baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states 'Resolve a DOI to comprehensive paper metadata' and explicitly differentiates from sibling tool paper_get_metadata by stating 'This is the reverse of paper_get_metadata'. It specifies the verb (resolve), resource (DOI to metadata), and scope (multiple sources).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explains that this tool is for when you already know the DOI, and that it is the reverse of paper_get_metadata (which likely uses title). It implicitly guides when to use this vs. siblings, but does not explicitly state when not to use it or list alternative tools for different scenarios.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
paper_get_citationsGet Papers That Cite This PaperARead-onlyIdempotent
Return up to 100 papers that cite the given paper (forward citations).
Returns JSON with: paper_title, total_citations, returned, citations (list of {title, authors, year, venue, doi, arxiv_id, citation_count}).
Args: params (PaperInput): { paper_title: str }
Returns: str: JSON-encoded citations or { "error": "..." }.
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes | Shared input accepted by every tool in this server. |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, destructiveHint=false, and idempotentHint=true. The description adds valuable behavioral context: a limit of 100 papers, the specific output fields (title, authors, year, etc.), and potential error response. This goes beyond the annotations, though it does not address rate limits or authentication.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded with the purpose, then details output structure. It is efficient with no extraneous information, though the Args/Returns section partly duplicates the initial description. Still, it is well-structured and concise, earning a 4.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (one parameter, list output) and the presence of an output schema, the description is complete. It covers purpose, parameters, and return format thoroughly, with no gaps. Annotations further cover safety and idempotency, making this fully informative.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the description's parameter section merely repeats the schema. The description does not add new meaning beyond what the schema already provides (paper_title with min/max length). Baseline of 3 is appropriate as the description adds no extra semantics.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states 'Return up to 100 papers that cite the given paper (forward citations).' This uses a specific verb ('return') and resource ('papers that cite'), and explicitly mentions 'forward citations' to distinguish it from the sibling tool paper_get_references.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for obtaining forward citations, but does not explicitly state when to use this vs. alternatives like paper_get_references. However, the mention of 'forward citations' and the sibling context (paper_get_references for backward) provides clear contextual guidance. A slight lack of explicit exclusions or when-not-to-use prevents a perfect score.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
paper_get_fulltextGet Paper Full TextARead-onlyIdempotent
Retrieve the full text of a paper by title (up to 50,000 characters).
Fetch order: arXiv HTML5 renderer β gomcp browser β abstract-only fallback.
Returns JSON with: title, abstract, tldr, fulltext (str|null), fulltext_length (int), source.
Args: params (PaperInput): { paper_title: str }
Returns: str: JSON-encoded result or { "error": "..." }.
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes | Shared input accepted by every tool in this server. |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description discloses the fetch order (arXiv HTML5 β gomcp browser β abstract-only fallback), character limit, return fields (title, abstract, tldr, fulltext, etc.), and source, adding significant value beyond the annotations which only state readOnly, idempotent, and openWorld hints.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded with the core purpose, and the fetch order and return structure are clearly presented. It is not excessively long, though it could be slightly more concise by removing the 'Args' and 'Returns' lines that duplicate schema info.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the existence of an output schema, the description adequately explains the return fields and error format. It covers the fetch order and fallback behavior, making the tool's behavior complete for an agent to invoke correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema has 100% coverage for the single parameter, with a detailed description and example in the schema. The tool description only restates the parameter without adding new semantics, so baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states it retrieves the full text of a paper by title, with a character limit. It lists the specific verb-resource pattern and distinguishes itself from siblings like paper_get_pdf and paper_get_metadata by focusing on full text.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description does not explicitly state when to use this tool versus siblings. It implies usage for full-text retrieval but provides no guidance on when not to use it or alternatives for PDF or metadata.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
paper_get_metadataGet Paper MetadataARead-onlyIdempotent
Return comprehensive metadata for an academic paper searched by title.
Queries Semantic Scholar first (richest metadata), then falls back to arXiv.
Returns JSON with: title, authors, abstract, year, venue, doi, arxiv_id, semantic_scholar_id, citation_count, reference_count, fields_of_study, publication_types, publication_date, is_open_access, open_access_pdf, tldr.
Args: params (PaperInput): { paper_title: str }
Returns: str: JSON-encoded metadata dict or { "error": "..." }.
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes | Shared input accepted by every tool in this server. |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations indicate read-only, idempotent, non-destructive. Description adds value by detailing the two-step query strategy (Semantic Scholar then arXiv) and listing return fields, providing behavioral insight beyond annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Concise and well-structured: opening sentence, source explanation, enumerated return fields, explicit args and returns. No unnecessary text.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Description covers purpose, behavior, return format, and parameters. With annotations and implied output schema, it provides sufficient context for an agent to use the tool correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% with full parameter description. Description restates the parameter structure but does not add significant new meaning; baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description clearly states it returns comprehensive metadata for an academic paper by title, specifies sources (Semantic Scholar first, arXiv fallback), and distinguishes from sibling tools that focus on citations, fulltext, or PDF.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Description implies use when you have a paper title and need metadata, but does not explicitly state when not to use or compare with alternatives like doi_get_metadata. The fallback behavior provides useful context.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
paper_get_pdfGet Paper PDF URLARead-onlyIdempotent
Find the best open-access PDF URL for a paper by title.
Source priority: Semantic Scholar OA β arXiv PDF β Unpaywall β gomcp browser.
Returns JSON with: pdf_url, source, title, year. May include browser_excerpt if gomcp fallback was used.
Args: params (PaperInput): { paper_title: str }
Returns: str: JSON-encoded result or { "error": "..." }.
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes | Shared input accepted by every tool in this server. |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description adds behavioral details beyond annotations: it explains the source priority order, what the returned JSON contains (pdf_url, source, title, year, browser_excerpt), and that errors are returned as strings. Annotations already indicate read-only, idempotent, and open-world behavior, so the description complements well without contradiction.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise with three main sections: purpose, source priority, and return format. It front-loads the core purpose and avoids unnecessary details. Minor redundancy exists in describing the return format twice (JSON fields and str type), but overall it is efficient and well-structured.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple tool with one parameter and a clear output, the description covers the key aspects: input, processing logic (source priority), and output format. It also notes the possibility of browser_excerpt in fallback. It is thorough enough for an agent to use effectively, though could have mentioned what happens when no PDF is found beyond returning an error.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema covers 100% of parameters with descriptions (paper_title). The description restates the parameter structure but adds no new semantic meaning beyond what the schema provides. Given high schema coverage, a score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Find the best open-access PDF URL for a paper by title.' It specifies the action (find best PDF URL) and the resource (paper by title). This distinguishes it from sibling tools like paper_get_fulltext or paper_get_metadata, which serve different purposes.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
While the description provides a source priority chain (Semantic Scholar OA β arXiv PDF β Unpaywall β gomcp browser), it does not explicitly state when to use this tool versus its siblings. The usage context is implied by the tool's name and purpose, but explicit guidance on edge cases (e.g., when to prefer other tools) is missing.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
paper_get_referencesGet Paper Reference ListARead-onlyIdempotent
Return the bibliography of a paper β the papers it cites (backward citations).
Returns JSON with: paper_title, total_references, returned, references (list of {title, authors, year, venue, doi, arxiv_id}).
Args: params (PaperInput): { paper_title: str }
Returns: str: JSON-encoded references or { "error": "..." }.
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes | Shared input accepted by every tool in this server. |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations declare readOnlyHint=true, destructiveHint=false, idempotentHint=true. The description adds that it returns JSON with specific fields (paper_title, total_references, returned, references) and an error object on failure. This provides behavioral context beyond annotations, such as output structure and error handling.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise (4 sentences), front-loaded with purpose, and structured with clear sections for return fields, arguments, and return format. Every sentence adds value without redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the low complexity (one parameter), the presence of annotations and output schema, the description is complete. It covers purpose, output structure, input requirements, and error handling, leaving no apparent gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% with a detailed description of 'paper_title'. The description only repeats 'paper_title: str' without adding new meaning, so baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states 'Return the bibliography of a paper β the papers it cites (backward citations)', which is a specific verb+resource. It implicitly distinguishes from sibling tool 'paper_get_citations' (forward citations) by specifying 'backward citations'.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No explicit guidance on when to use this tool vs alternatives. The term 'backward citations' implies use for getting cited papers, but no exclusion or alternative mention. This is implied usage, fitting the score 3.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
TDQS
Each tool has a clearly distinct purpose: metadata by DOI, metadata by title, forward citations, full text, PDF URL, and backward citations. The slight overlap between doi_get_metadata and paper_get_metadata is clarified by their different inputs (DOI vs title).
Tool names are somewhat inconsistent: most use 'paper_get_' prefix, but one uses 'doi_get_' instead. While all are readable, the mix of prefixes and the inversion in 'doi_get_metadata' compared to 'paper_get_metadata' breaks the otherwise verb_noun pattern.
With 6 tools, the server is well-scoped for its purpose. Each tool provides a distinct function without unnecessary bloat, and the count is within the ideal 3-15 range.
The tool set covers key operations for a paper metadata server: metadata retrieval (by title and DOI), full text, PDF URL, citations, and references. Minor gaps like search by author or keyword are absent, but the core workflow is supported.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Find academic papers across major sources like arXiv, PubMed, bioRxiv, and more. Download PDFs wheβ¦
Search and download academic papers from arXiv, PubMed, bioRxiv, medRxiv, Google Scholar, Semanticβ¦
Search arXiv/Semantic Scholar/OpenAlex + medical evidence (PubMed/Europe PMC) + LaTeX/PDF tools.
Academic literature search, retrieval, and private library management on top of OpenAlex.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceEnables comprehensive academic research through the Semantic Scholar API, including paper search, author discovery, citation network analysis, and full-text access from arXiv and Wiley sources.4728ISC
- FlicenseAqualityBmaintenanceEnables searching, retrieving, and reading academic papers from arXiv while analyzing citation networks via Semantic Scholar. It allows users to extract full-text content from PDFs and explore references or citations sorted by impact.19
- AlicenseNot gradedqualityDmaintenanceEnables searching and retrieving academic paper metadata from Semantic Scholar, including paper details, citations, and author information.21MIT
- AlicenseAqualityDmaintenanceEnables searching academic papers on Semantic Scholar and downloading their PDFs, with support for multiple publishers.22GPL 3.0
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/imnotdev25/paper-search-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server