Skip to main content
Glama
daheepk

arXiv Research Assistant MCP Server

by daheepk

🧠 arXiv Research Assistant MCP Server

This project is an MCP (Model Context Protocol) server built to interact with the vast arXiv.org paper database.

It allows clients like Claude AI to search, explore, and compare arXiv papers efficiently β€” all through a custom-built, local server. It’s built with Python and the FastMCP framework, and uses uv for lightweight package management.

✨ Features

  • πŸ” Keyword-based Paper Search
    Search arXiv papers by keywords, with options to sort by relevance or most recent.

  • πŸ“š Latest Papers by Category
    Specify an arXiv category code (e.g., cs.AI, math.AP) to fetch the most recent papers in that field.

  • πŸ“„ Paper Details Lookup
    Fetch detailed metadata using a paper's arXiv ID: title, authors, abstract, categories, DOI, PDF link, and more.

  • πŸ§‘β€πŸ”¬ Author-based Paper Search
    Retrieve a list of papers published by a specific author.

  • πŸ“Š Trend Analysis (Experimental)
    Get an overview of trending keywords or topics based on recent papers in a category (currently uses mock data).

  • πŸ“ Summarization Prompt Generator
    Dynamically generate prompts that help LLMs summarize a selected paper more effectively.

  • πŸ†š Comparison Prompt Generator
    Provide two paper IDs to generate a structured prompt for comparing their content.


Related MCP server: scholar-search-mcp

πŸ› οΈ Tech Stack

  • Python 3.11+

  • FastMCP

  • uv (for dependency & environment management)

  • requests (for API communication)

  • xml.etree.ElementTree (for parsing XML responses)


πŸš€ Getting Started

Installing via Smithery

To install arXiv Research Assistant MCP Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install arxiv-paper-mcp --client claude

Installation from PyPI

uv pip install arxiv-paper-mcp

πŸ”§ Clone the repository (for development)

git clone https://github.com/daheepk/arxiv-mcp-server.git
cd arxiv-mcp-server

πŸ”§ Install Dependencies (for development)

Use uv to install all dependencies in editable mode:

uv pip install -e .

βš™οΈ How to Run

▢️ Run the server (locally)

arxiv-paper-mcp

πŸ”Œ Use with Claude

To use this MCP server with Claude, add the following JSON configuration to Claude's MCP settings:

{
  "mcpServers": {
    "arXivPaper": {
      "command": "uv",
      "args": [
        "tool",
        "run",
        "arxiv-paper-mcp"
      ]
    }
  }
}

Project Structure

arxiv-mcp-server/
β”œβ”€β”€ arxiv_mcp/              # Main package
β”‚   β”œβ”€β”€ __init__.py
β”‚   β”œβ”€β”€ app.py              # FastMCP app setup
β”‚   β”œβ”€β”€ server.py           # Server entry point
β”‚   β”œβ”€β”€ utils.py            # arXiv API communication logic
β”‚   β”œβ”€β”€ resources/          # MCP resources (categories, authors, etc.)
β”‚   β”œβ”€β”€ tools/              # MCP tools (search, detail lookup, trends)
β”‚   └── prompts/            # Prompt templates (summarize, compare)
β”œβ”€β”€ pyproject.toml          # Project config & dependencies
└── README.md               # This file

Available Tools

4 tools
get_paper_infoC

λ…Όλ¬Έ ID둜 상세 정보λ₯Ό κ°€μ Έμ˜΅λ‹ˆλ‹€.

ParametersJSON Schema
NameRequiredDescriptionDefault
paper_idYes

TDQS

C2.6/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states it 'gets detailed information' but doesn't describe what that includes (e.g., title, authors, abstract), whether it's a read-only operation, potential errors (e.g., invalid ID), or performance aspects. This leaves significant gaps for a tool with no annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, clear sentence with no wasted words. It's appropriately sized for a simple tool and front-loaded with the core purpose. Every part of the sentence contributes directly to explaining the tool's function.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity (a read operation with one parameter), lack of annotations, and no output schema, the description is incomplete. It doesn't specify what 'detailed information' includes, error handling, or return format, making it inadequate for an agent to use the tool effectively without additional context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema description coverage is 0%, so the description must compensate. It mentions 'λ…Όλ¬Έ ID' (paper ID) as the parameter, which adds some meaning beyond the schema's generic 'paper_id' property. However, it doesn't explain the format, constraints, or examples (e.g., numeric, alphanumeric, DOI), leaving the parameter poorly documented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states the purpose: 'λ…Όλ¬Έ ID둜 상세 정보λ₯Ό κ°€μ Έμ˜΅λ‹ˆλ‹€' (Get detailed information by paper ID). It specifies a verb ('κ°€μ Έμ˜΅λ‹ˆλ‹€' - get/fetch) and resource ('상세 정보' - detailed information), but is vague about what 'detailed information' entails. It doesn't differentiate from sibling tools like 'search_papers' or 'scrape_recent_category_papers'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., needing a paper ID), exclusions, or comparisons to sibling tools like 'search_papers' (which might retrieve multiple papers) or 'scrape_recent_category_papers' (which might fetch recent papers by category).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

scrape_recent_category_papersC

[크둀링] νŠΉμ • μΉ΄ν…Œκ³ λ¦¬μ˜ 'recent' νŽ˜μ΄μ§€λ₯Ό μŠ€ν¬λž©ν•˜μ—¬ μ΅œμ‹  λ…Όλ¬Έ λͺ©λ‘μ„ κ°€μ Έμ˜΅λ‹ˆλ‹€.

ParametersJSON Schema
NameRequiredDescriptionDefault
categoryYes
max_resultsNo

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions scraping, implying network operations and potential rate limits or permissions, but doesn't detail these aspects, response format, or error handling. The description adds minimal context beyond the basic action.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that front-loads the key action ('scrape') and purpose. It avoids unnecessary details, though it could be slightly more structured for clarity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of a scraping tool with no annotations, no output schema, and low parameter coverage, the description is incomplete. It lacks details on behavior, output format, error cases, and integration with siblings, making it inadequate for full agent understanding.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate for undocumented parameters. It implies 'category' is used to specify the target and 'max_results' limits output, but doesn't explain valid categories, format, or constraints. This adds some meaning but doesn't fully bridge the coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: it scrapes a 'recent' page for a specific category to fetch the latest paper list. It uses specific verbs ('scrape', 'fetch') and identifies the resource ('recent page', 'paper list'), but it doesn't explicitly differentiate from sibling tools like 'search_papers' or 'get_paper_info', which might handle similar data differently.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It mentions scraping a 'recent' page, but doesn't specify contexts, exclusions, or compare to siblings like 'search_papers' or 'analyze_trends'. This leaves the agent without clear usage direction.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

search_papersC

ν‚€μ›Œλ“œλ‘œ arXiv 논문을 κ²€μƒ‰ν•©λ‹ˆλ‹€.

ParametersJSON Schema
NameRequiredDescriptionDefault
keywordYes
max_resultsNo

TDQS

C2.8/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries full burden. It mentions searching arXiv papers by keyword but lacks behavioral details such as rate limits, authentication needs, result format, pagination, or error handling. This is inadequate for a search tool with zero annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence in Korean that directly states the tool's function without unnecessary words. It is appropriately sized and front-loaded with the core action.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (search operation with 2 parameters), lack of annotations, and no output schema, the description is incomplete. It doesn't cover behavioral aspects, parameter details, or return values, leaving significant gaps for agent understanding.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It only mentions 'ν‚€μ›Œλ“œ' (keyword) implicitly, without explaining the 'max_results' parameter or providing any additional context like format constraints or usage examples. This fails to address the undocumented parameters adequately.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('κ²€μƒ‰ν•©λ‹ˆλ‹€' - searches) and resource ('arXiv λ…Όλ¬Έ' - arXiv papers) with a specific method ('ν‚€μ›Œλ“œλ‘œ' - by keyword). It doesn't distinguish from sibling tools like 'scrape_recent_category_papers' or 'get_paper_info', but the purpose is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives like 'scrape_recent_category_papers' or 'get_paper_info'. The description implies usage for keyword-based searches but doesn't specify contexts, exclusions, or prerequisites.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 4 tool updatesv1.0.0
    • First observedanalyze_trends
    • First observedget_paper_info
    • First observedscrape_recent_category_papers
    • First observedsearch_papers

TDQS

B3/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: analyze_trends focuses on trends analysis, get_paper_info retrieves detailed paper information, scrape_recent_category_papers scrapes recent papers from a category, and search_papers searches by keywords. There is no overlap or ambiguity in their functions.

Naming Consistency4/5

The tool names follow a consistent snake_case pattern and use descriptive verbs (analyze, get, scrape, search). However, scrape_recent_category_papers includes a Korean annotation '[크둀링]' in its description, which slightly deviates from the pure English naming convention, though this does not affect the tool name itself.

Tool Count4/5

With 4 tools, the server is well-scoped for an arXiv research assistant, covering key operations like searching, scraping, analyzing trends, and fetching details. It is slightly lean but reasonable, as it handles core research workflows without unnecessary bloat.

Completeness3/5

The toolset covers essential functions for arXiv research, including search, scrape, analysis, and info retrieval. However, there are minor gaps such as no tools for filtering or sorting results, managing user preferences, or accessing advanced arXiv features like citation tracking, which could limit agent capabilities in complex scenarios.

Maintenance

ActivityInactive
ResponsivenessNo issues

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

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    An MCP server for searching and downloading academic papers from multiple sources including arXiv, PubMed, bioRxiv, and Sci-Hub, designed for seamless integration with large language models like Claude Desktop.
    795
    57
    2,564
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    An MCP server for academic paper search that integrates with AI assistants (e.g., Claude Code, Cursor), enabling them to search and retrieve academic paper metadata.
    248
    MIT
  • F
    license
    A
    quality
    D
    maintenance
    A streamlined MCP server that connects AI assistants to arXiv's vast collection of academic papers, enabling search, retrieval, and analysis of research papers.
    7
    1
    -
  • F
    license
    A
    quality
    C
    maintenance
    A local MCP server for searching and reading arXiv papers, enabling paper search, retrieval, and summarization through Claude.
    6
    -

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/daheepk/arxiv-paper-mcp'

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