teddytesfa
MCP Serverteddytesfapublic

research mcp server

基于 FastMCP 框架实现的学术论文搜索和管理服务,支持 AI 分析与 RESTful API。

Repository Info

1
Stars
0
Forks
1
Watchers
0
Issues
Python
Language
-
License

About This Server

基于 FastMCP 框架实现的学术论文搜索和管理服务,支持 AI 分析与 RESTful API。

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

MCP Research Server

A demonstration project showcasing how to create a custom MCP (Model Control Protocol) server using the FastMCP framework. This implementation serves as a practical example of building an MCP server that integrates with arXiv to search, retrieve, and manage academic papers, providing a structured interface for AI-assisted research. The project leverages FastMCP's capabilities to create custom tools, resources, and prompts, making it an excellent reference for developing your own MCP servers.

🚀 Features

  • Paper Search: Search for academic papers on arXiv by topic
  • Persistent Storage: Automatically saves paper metadata for future reference
  • Topic Organization: Organizes papers by research topics
  • RESTful API: Exposes endpoints through FastMCP for easy integration
  • AI Integration: Includes prompts for Claude AI to analyze research papers

🛠️ Prerequisites

  • Python 3.11.11 (recommended)
  • pip (Python package manager)
  • Virtual environment (recommended)

Note: This project is developed and tested with Python 3.11.11. While it may work with other Python 3.7+ versions, using 3.11.11 is recommended for compatibility.

🚀 Installation

  1. Clone the repository:

    git clone https://github.com/teddytesfa/research-mcp-server.git
    cd mcp_project
    
  2. Create and activate a virtual environment:

    python -m venv venv
    source venv/bin/activate  # On Windows use `venv\Scripts\activate`
    
  3. Install the required packages:

    pip install -r requirements.txt
    

🏃‍♂️ Getting Started

  1. Start the MCP server:

    python research_server.py
    
  2. The server will start on http://localhost:8001 by default.

🛠️ API Endpoints

Tools

  • search_papers(topic: str, max_results: int = 5)

    • Search for papers on arXiv
    • Returns: List of paper IDs
  • extract_info(paper_id: str)

    • Get detailed information about a specific paper
    • Returns: Paper metadata as JSON

Resources

  • papers://folders

    • List all available topic folders
  • papers://{topic}

    • Get papers for a specific topic

🤖 AI Integration

The server includes a prompt template for Claude AI to analyze research papers. Use the generate_search_prompt function to get started with AI-assisted research.

📁 Project Structure

mcp_project/
├── papers/                  # Directory for storing paper metadata
│   └── {topic}/             # Topic-specific directories
│       └── papers_info.json  # Paper metadata
├── research_server.py        # Main server implementation
└── README.md                # This file

📝 Example Usage

  1. Search for papers on a topic:

    # Example search for papers about "machine learning"
    paper_ids = search_papers("machine learning", max_results=3)
    
  2. Get information about a specific paper:

    paper_info = extract_info("2103.00001")
    print(paper_info)
    

📚 Learning Resources

This project is an implementation to demonstrate how to create your own MCP (Model Control Protocol) server. It showcases:

  • Creating custom tools with @mcp.tool()
  • Defining resources with @mcp.resource()
  • Generating AI prompts with @mcp.prompt()
  • Managing server state and persistence
  • Integrating with external APIs (arXiv)

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Quick Start

1

Clone the repository

git clone https://github.com/teddytesfa/research-mcp-server
2

Install dependencies

cd research-mcp-server
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerteddytesfa
Reporesearch-mcp-server
LanguagePython
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation