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 💡
ghost-mcp
An MCP server that integrates Ghost CMS with Claude AI to create blog posts.
@mastergo/magic-mcp
A standalone MCP service connecting MasterGo design tools with AI models to retrieve DSL data from design files.
mcpjungle/MCPJungle
A self-hosted Model Context Protocol (MCP) Registry and Gateway that allows AI agents to discover and consume tools from various registered MCP servers, providing centralized management, security, and access control for private AI agents within an organization.
@66julienmartin/mcp-server-qwen_max
A Model Context Protocol (MCP) server implementation for the Qwen Max language model
@pab1it0/prometheus-mcp-server
A Model Context Protocol (MCP) server that enables AI agents and LLMs to query and analyze Prometheus metrics through standardized interfaces.
@xiaohui-wang/mcpadvisor
A discovery and recommendation service that helps AI assistants find and leverage Model Context Protocol (MCP) servers using natural language queries.