Simple MCP arXiv Client
by om4r932
A simple Python client to interact with the arXiv MCP server. It uses Groq as a language model to process user queries and call the appropriate server tools in a chat-based interface.
Last updated: N/A
Simple MCP arXiv client
A simple Python client to interact with the arXiv MCP server.
Description
This project is a MCP (Model Context Protocol) client that connects to the arXiv MCP server to perform searches on arXiv. It uses Groq as a language model to process user queries and call the appropriate server tools in a chat-based interface.
Prerequisites
- Python 3.10.6 or higher
- A Groq API key
Installation
- Clone this repository:
git clone https://github.com/om4r932/mcp-simple-arxiv-server.git
cd mcp-simple-arxiv-server
- Install dependencies:
pip install -r requirements.txt
Configuration
Create a .env
file at the project root with your Groq API key:
GROQ_API_KEY=your_groq_api_key
An .env.example
file is provided as a template.
Usage
Run the client:
python client.py
This will start an interactive chat interface where you can ask questions about scientific papers.
Future updates
This repository will change and will become a universal MCP client with multiple MCP servers support at the same time (maybe change it to a FastAPI-type client). Stay tuned !
Credits
Andy Brandt and his ArXiv server "mcp-simple-arxiv" : Repository