Skip to main content

MCP server for querying, retrieving, and reading arXiv papers

Project description

arxiv-query-mcp

An MCP (Model Context Protocol) server that gives AI assistants direct access to arXiv. Search papers, retrieve full metadata, browse categories, and read paper text.

Table of Contents

  1. Features
  2. Installation
  3. Usage
  4. Contributing

Features

  • Search arXiv — Full query syntax support with title, author, abstract, and category filters
  • Get paper metadata — Retrieve complete details for any paper by ID (abstract, authors, categories, DOI, links)
  • Browse by category — List recent papers in specific subject areas (ML, AI, NLP, Computer Vision, etc.)
  • Read paper text — Fetch HTML-rendered paper content or fallback to abstracts with links
  • Flexible formatting — Response support for both markdown (human-readable) and JSON (programmatic)
  • Pagination — Handle large result sets with configurable limits and offsets

Installation

Prerequisites

  • Python 3.11 or later
  • Dependencies mcp[cli]>=1.0.0, httpx>=0.27.0, pydantic>=2.0.0 (see pyproject.toml) (project uses poetry for dependency management)

Install from PyPI

pip install arxiv-query-mcp

Build from Source

git clone https://github.com/LWaetzig/google-scholar-mcp.git
cd google-scholar-mcp
pip install -e .

Usage

  • Detailed documentation about single tools can be found here

Integration with Claude Desktop

Add the server to your Claude Desktop configuration:

Platform Path
macOS ~/Library/Application Support/Claude/claude_desktop_config.json
Windows %APPDATA%\Claude\claude_desktop_config.json

Add the arxiv entry under mcpServers, replacing the path with the absolute path to your clone:

{
  "mcpServers": {
    "arxiv": {
      "command": "python",
      "args": ["-m", "arxiv-query-mcp"]
    }
  }
}

Restart Claude Desktop. You should see the arxiv tools available in the tool picker.

Integration with Other MCP Clients

Any MCP client (e.g., Cline, Continue, or custom tools) can use this server. Configure the connection to:

Command: python -m arxiv-query-mcp.server
Transport: stdio

Contributing

Contributions are welcome! Please:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/your-feature)
  3. Commit your changes with clear messages
  4. Push to your fork
  5. Open a pull request

Support

For issues, questions, or feature requests, please open an issue on GitHub.

License

See LICENSE file

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

arxiv_query_mcp-1.3.1.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

arxiv_query_mcp-1.3.1-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

Details for the file arxiv_query_mcp-1.3.1.tar.gz.

File metadata

  • Download URL: arxiv_query_mcp-1.3.1.tar.gz
  • Upload date:
  • Size: 13.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: poetry/2.3.2 CPython/3.12.13 Linux/6.8.0-1048-raspi

File hashes

Hashes for arxiv_query_mcp-1.3.1.tar.gz
Algorithm Hash digest
SHA256 306d4f1febdb69c677156ac96b150c180cb593aea28931166451fa1429bd1c4a
MD5 23aa5df950b45b89c434f18e55223dc6
BLAKE2b-256 ff15e582c6cb5373803222789ffb156706d7f1663ac7479b382664fd3726a0de

See more details on using hashes here.

File details

Details for the file arxiv_query_mcp-1.3.1-py3-none-any.whl.

File metadata

  • Download URL: arxiv_query_mcp-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 14.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: poetry/2.3.2 CPython/3.12.13 Linux/6.8.0-1048-raspi

File hashes

Hashes for arxiv_query_mcp-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 848e9d4f41a9c89336492e01bb40e8c5015b9a23014695d3ba3c828c4d427950
MD5 6da5e3c7816ee015fafe38c9600441c8
BLAKE2b-256 0dc012db10c465a08da0ab6d214a11f449febb2337fc374470f26e1d7f8a4f38

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page