PRIDE Archive mcp pride archive search

PRIDE Archive mcp pride archive search avatar

by PRIDE-Archive

Model Context Protocol (MCP) PRIDE API Server implementation.

What is PRIDE Archive mcp pride archive search

🧬 MCP PRIDE Archive Search Server

This project implements a Model Context Protocol (MCP)-compliant API server that exposes tools to search the PRIDE Archive, a major repository for proteomics data. It allows AI models (such as Claude or other MCP-compatible LLMs) to interact with proteomics datasets programmatically using structured function calling.


🚀 Features

  • MCP Server powered by FastMCP
  • 🔍 PRIDE Archive Search Tool to query datasets by keyword, submission date, popularity, etc.
  • 🤖 AI-friendly tools for biomedical and proteomics-related research
  • ⚡ Supports both http (SSE) and stdio connection modes
  • 🛠️ Easily extendable with additional tools

📦 Installation

Clone the repo and install dependencies:

git clone https://github.com/PRIDE-Archive/mcp_pride_archive_search.git
cd mcp_pride_archive_search
poetry install  # or pip install -r requirements.txt

👨‍💻 Usage

Start the MCP server with your preferred connection type (http or stdio):

python -m mcp_pride_archive_search --connection_type http --port 9999

Command-line Arguments

Argument Description Default
--connection_type Type of connection: http or stdio http
--port Port to run the server (for HTTP mode) 9999

🔧 Tool APIs

search_archive_tool(...)

Fetches proteomics datasets from the PRIDE Archive database.

Use this when:

  • Searching for proteomics research data
  • Mass spectrometry dataset queries
  • Biomedical dataset exploration (e.g., cancer-related)
  • Finding popular or specific proteomics projects

🤝 Integration with LLMs

This server works with any LLM that supports Model Context Protocol, including:

  • Anthropic Claude
  • Google Gemini
  • Open-source MCP clients
  • Custom RAG pipelines

🧠 Architecture Overview

+---------------------+       Tool Calls        +-----------------------------+
|  Claude / Gemini AI |  <--------------------> | MCP PRIDE API Server        |
+---------------------+                         | - search_archive_tool()     |
                                                | - server_status()           |
                                                +-----------------------------+
                                                           |
                                                           v
                                              +---------------------------+
                                              | PRIDE Archive REST API    |
                                              | (https://www.ebi.ac.uk    |
                                              |   /pride/ws/archive/      |
                                              |  v3/search/projects)      |
                                              +---------------------------+

📝 License

MIT License. See LICENSE for details.

Leave a Comment

Frequently Asked Questions

What is MCP?

MCP (Model Context Protocol) is an open protocol that standardizes how applications provide context to LLMs. Think of MCP like a USB-C port for AI applications, providing a standardized way to connect AI models to different data sources and tools.

What are MCP Servers?

MCP Servers are lightweight programs that expose specific capabilities through the standardized Model Context Protocol. They act as bridges between LLMs like Claude and various data sources or services, allowing secure access to files, databases, APIs, and other resources.

How do MCP Servers work?

MCP Servers follow a client-server architecture where a host application (like Claude Desktop) connects to multiple servers. Each server provides specific functionality through standardized endpoints and protocols, enabling Claude to access data and perform actions through the standardized protocol.

Are MCP Servers secure?

Yes, MCP Servers are designed with security in mind. They run locally with explicit configuration and permissions, require user approval for actions, and include built-in security features to prevent unauthorized access and ensure data privacy.

Submit Your MCP Server

Share your MCP server with the community

Submit Now