ArxivMCP
A tool for searching and retrieving academic papers from arXiv.
Prerequisites
- Python 3.10 or higher
- uv (Python package installer)
If you don't have uv installed, you can install it via pip:
pip install uv
Or follow the official installation guide.
Installation
-
Clone the repository:
git clone <repository-url> # Replace with the actual URL cd paper-search -
Set up the Python environment using
uv: This command creates a virtual environment (.venv) if it doesn't exist and installs the dependencies listed inpyproject.toml.uv sync -
Activate the virtual environment:
source .venv/bin/activate(On Windows, use:
.venv\\Scripts\\activate)
Usage
To run the main script:
python main.py
IDE Configuration (Cursor/MCP)
To configure an MCP-enabled client (like Cursor or Claude Desktop) to use this paper search server, you need to modify the client's configuration file. For example, in Claude Desktop, the file is typically located at ~/Library/Application Support/Claude/claude_desktop_config.json (Mac/Linux) or $env:AppData\\Claude\\claude_desktop_config.json (Windows).
Add an entry for this server under the mcpServers key like this:
{
"mcpServers": {
"paper-search": { // You can name this server entry
"command": "uv", // Or provide the full path from `which uv` / `where uv`, something you might adjust it like '/opt/homebrew/bin/uv'
"args": [
"--directory",
"/ABSOLUTE/PATH/TO/THIS/PROJECT/paper-search", // <-- IMPORTANT: Use the absolute path here
"run",
"search.py"
]
}
// ... other servers can be listed here
}
}
Key points:
- Replace
/ABSOLUTE/PATH/TO/THIS/PROJECT/paper-searchwith the actual absolute path to this project's directory on your system. - If the client cannot find
uv, replace"uv"in the"command"field with the full path to youruvexecutable (found usingwhich uvon MacOS/Linux orwhere uvon Windows). - After saving the configuration file, restart your MCP client (e.g., Claude Desktop).
Once configured and restarted, the client should recognize the server and its tools (often indicated by an icon, like a hammer 🔨 in Claude Desktop).
Dependencies
This project relies on the following main libraries:
beautifulsoup4: For parsing HTML content.httpx: For making asynchronous HTTP requests.mcp[cli]: For MCP tooling integration.
Dependencies are managed using uv and defined in the pyproject.toml file.
TODO: Backend Code
Recommend MCP Servers 💡
lightdash-mcp-server
A MCP server that provides access to Lightdash's API for AI assistants
@mcpfun/mcp-server-leetcode
A Model Context Protocol (MCP) server for LeetCode that provides access to problems, user data, and contest information through GraphQL
optuna/optuna-mcp
An MCP server for Optuna, enabling LLM control and interactive optimization of hyperparameter search.
optimade-mcp-server
An MCP tool for querying Optimade-compatible material databases with configurable filter presets and provider endpoints.
sdi2200262/eclass-mcp-server
An MCP server for interacting with Open eClass platform instances, with specific support for UoA's SSO authentication system.
@pluggedin/mcp-proxy
Plugged.in MCP Server manages all your other MCPs in one MCP.