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 💡
@shortcut/mcp
An MCP server that integrates with Shortcut, a project management tool, to provide project context and information to large language models.
@notionhq/notion-mcp-server
Official MCP Server for Notion API integration, enabling AI agents to interact with Notion content
@suekou/mcp-notion-server
MCP Server for the Notion API, enabling LLM to interact with Notion workspaces. Additionally, it employs Markdown conversion to reduce context size when communicating with LLMs, optimizing token usage and making interactions more efficient.
mcp-filesys
A Model Context Protocol (MCP) server implementation that provides filesystem access capabilities for AI models through standardized JSON-RPC requests
boostspace-mcp-server
A Model Context Protocol (MCP) server proxying Boost.Space’s REST API for MCP clients (e.g., Claude Desktop).
CaptainCrouton89/alaria-wiki-mcp
An MCP server boilerplate for storing and retrieving information using vector embeddings, integrating with AI assistants like Claude for a personal knowledge base or semantic search.