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.0.tar.gz (13.4 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.0-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: arxiv_query_mcp-1.3.0.tar.gz
  • Upload date:
  • Size: 13.4 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.0.tar.gz
Algorithm Hash digest
SHA256 0b9c14ceac91fb8b223c58631ca57f828c90efcd5fa3472631a3f1a6669adab7
MD5 60f0bc977865f5a46d4756ddfe269759
BLAKE2b-256 0c3df91fe328e74687a0b6634ff6c091d6a2e4143dc6d2b68ab28e024953a27c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: arxiv_query_mcp-1.3.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 32f04996388731dbfa5127c3c91e5fad505699066b9238dc97929745d679315a
MD5 6a8c15099b9f2dd9cdeb3fb739fcb4ec
BLAKE2b-256 4d4397766648ee29529dc448385acebaf8b572d6d105c681a9a5309fc0e76e66

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