arxiv-semantic-search-mcp
A lightweight MCP server for querying arXiv with semantic and keyword search, supporting natural language queries and structured filters.
README
arXiv Search MCP
A lightweight Model Context Protocol server that lets AI assistants query the arXiv API. It provides two powerful search approaches:
- Semantic Search: Uses vector embeddings to understand the meaning of your query, powered by ArxivSearch
Note: Currently, semantic search only supports papers in Computer Science (cs.*) categories
- Keyword Search: Supports structured queries with multiple filters including categories, date ranges, and field-specific searches
Note: Supports papers from all arXiv categories
Requirements
- Python 3.12 or higher
- uv package manager (dependency resolver & runner)
Getting Started
1. Clone & install dependencies
# Clone the repository
git clone https://github.com/icyclv/arxiv-semantic-search-mcp.git
cd arxiv-semantic-search-mcp
# Install all project dependencies listed in pyproject.toml
uv sync
2. Run the server locally
# Start the MCP server
uv run main.py
Editor / Client Configuration
To use this MCP server with your AI assistant tools (e.g. Claude Desktop, VS Code MCP extension), add the following configuration:
{
"mcpServers": {
"arxiv-semantic-search": {
"command": "uv",
"args": [
"--directory",
"/path/to/arxiv-semantic-search-mcp", // Replace with actual path
"run",
"main.py"
]
}
}
}
Note: Replace /path/to/arxiv-semantic-search-mcp with the actual path where you cloned the repository.
Available Functions
| Function | Description |
|---|---|
search_semantic |
Semantic search for papers using natural language queries and embeddings |
search_keyword |
Search papers using structured keyword queries with multiple filters |
get_details |
Retrieve detailed information for a specific paper by arXiv ID |
get_categories |
Get list of arXiv categories and their descriptions |
get_current_time |
Get current server time in specified format |
See src/server.py for detailed documentation and examples.
Usage Examples
Semantic Search
# Search for papers about deep learning in computer vision
search_semantic(
query="recent advances in vision transformers for medical image segmentation",
categories=["cs.CV", "cs.AI"]
)
Keyword Search
# Search for recent machine learning papers in multiple categories
search_keyword(
categories=["cs.AI", "cs.LG"],
start_date="2024-01-01",
all_fields="transformer",
sort_by="submittedDate",
sort_order="descending"
)
Get Paper Details
# Get detailed information for a specific paper
get_details("2401.00001")
License
This project is released under the MIT License.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.