Sponsored by Deepsite.site

Arxivloader MCP Server and Client

Created By
alihassanml8 months ago
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.
Content

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
  1. Install the necessary dependencies:
pip install -r requirements.txt
  1. 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.

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Amap Maps高德地图官方 MCP Server
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
DeepChatYour AI Partner on Desktop
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
ChatWiseThe second fastest AI chatbot™
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
WindsurfThe new purpose-built IDE to harness magic
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Playwright McpPlaywright MCP server
CursorThe AI Code Editor
Serper MCP ServerA Serper MCP Server
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Tavily Mcp
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code