Arxivloader MCP Server and Client
About
This project provides an MCP (Microservice Communication Protocol) server and client setup for fetching research papers from the arXiv. The MCP server processes queries and fetches relevant research papers, while the client communicates with the server using the MCP protocol.
Details
- Author
- alihassanml
- GitHub stars
- 1
- Downloads
- 351
- Categories
- Search
Jump to
- MCP protocol for efficient server-client communication.
- Fetches research papers from arXiv based on user queries.
- Streamlit web interface for simple query input and result display.
- Integrates Groq and LangChain for advanced query handling.
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Arxivloader MCP Server and ClientCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Install Python 3.8+, clone the repository, install dependencies from requirements.txt, and configure a .env file for Groq and MCP settings. Start the MCP server by running python arxivloader.py, then launch the Streamlit client with streamlit run client.py. Enter a query (e.g., "Medical Claim Processing OR Health Insurance Billing") in the UI to fetch and display paper details such as title, authors, and publication date.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"arxivloader mcp server and client": {
"Arxivloader-MCP-Server-and-Client": {
"command": "python",
"args": [
"arxivloader.py"
]
}
}
}
}
McpServers
{
"Arxivloader-MCP-Server-and-Client": {
"command": "python",
"args": [
"arxivloader.py"
]
}
}
Arxivloader MCP Server and Client
This project provides an MCP (Microservice Communication Protocol) server and client setup for fetching research papers from the arXiv. The MCP server processes queries and fetches relevant research papers, while the client communicates with the server using the MCP protocol. This project uses Streamlit for a simple UI and integrates tools such as LangChain, Groq, and MCP for communication.
Features
- MCP Communication: Efficient communication between server and client using MCP protocol.
- Research Paper Retrieval: Fetches research papers from arXiv based on user queries.
- Streamlit UI: A simple web interface to input queries and display research paper results.
- Tool Integration: Uses Groq and LangChain for enhanced query handling and processing.
Requirements
- Python 3.8 or higher
- streamlit
- mcp
- langchain
- langchain_groq
- dotenv
- asyncio
You can install the required dependencies using the following:
pip install -r requirements.txt
Installation
1. Clone this repository:
git clone https://github.com/alihassanml/Arxivloader-MCP-Server-and-Client.git
cd Arxivloader-MCP-Server-and-Client
2. Install the necessary dependencies:
pip install -r requirements.txt
3. Set up the .env file with any required configuration for Groq and MCP settings.
Usage
1. Start the MCP Server:
Run the server script to start the MCP server:
python arxivloader.py
2. Run the Client with Streamlit:
Start the Streamlit client interface to interact with the server:
streamlit run client.py
3. Query Research Papers:
Once the client interface is running, you can enter the name of a research paper or a query in the input field. The server will fetch relevant papers and display them.
Example
Here is an example of how the system works:
1. The user enters a query like "Medical Claim Processing OR Health Insurance Billing" into the Streamlit interface.
2. The MCP server processes the query and fetches relevant research paper data from arXiv.
3. The client displays the fetched paper details, such as title, authors, and publication date.
Project Structure
.
├── arxivloader.py # MCP server code for handling queries and fetching research papers
├── client.py # Streamlit client UI to interact with the server
├── requirements.txt # Python dependencies
├── .env # Environment variables for configuration
└── README.md # Project documentation
Contributing
Feel free to fork this repository and contribute to the project. If you find any bugs or have feature requests, please open an issue.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.

