Skip to main content
Glama

arxiv-search-mcp

An MCP server for searching arXiv.

Installation

Install the package directly with PyPI.

pip install arxiv-search-mcp

Once installed in your agent's environment, you can load it with the settings in sample_settings.json.

Usage

Once installed, you can run the server module directly.

python -m arxiv_search_mcp

To run the server using the MCP inspector, execute the following command.

uv run mcp dev arxiv_search_mcp/mcp_server.py

To include the server in your agent config, ensure it's installed in the agent's virtualenv and then add this to your config.

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

Tools

The following tools are available:

search_papers

Search for papers on arXiv.

Parameters:

  • query (str): The search query.

  • max_results (int, optional): The maximum number of results to return. Defaults to 10.

get_paper

Get detailed information about a specific paper.

Parameters:

  • paper_id (str): The ID of the paper to retrieve.

-
security - not tested
A
license - permissive license
-
quality - not tested

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/markmcd/arxiv-search-mcp'

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