UniProt MCP Server
An MCP (Model Context Protocol) server that allows language models to fetch protein information from the UniProt database. This server can be integrated with Claude Desktop and other MCP-compatible AI applications.
Features
- Search UniProt: Search for proteins by name, gene, or other criteria
- Get Protein Details: Retrieve detailed information about a protein
- Get Protein Sequences: Fetch amino acid sequences
- Get Protein Functions: Retrieve functional annotations including GO terms
- Get Protein Structures: Find related PDB structures
Installation
- Clone this repository:Copy
- Create a virtual environment (optional but recommended):Copy
- Install dependencies:Copy
Local Setup with Claude Desktop
- Make the server script executable:Copy
- Configure Claude Desktop to use this MCP server:
For macOS/Linux:
CopyFor Windows:
Copy - Add the following configuration (update the path to match your actual file location):Copy
- Restart Claude Desktop
Usage Examples
Once set up with Claude Desktop, you can ask questions like:
- "Find proteins related to Alzheimer's disease"
- "Get the sequence for protein P05067 (Amyloid-beta precursor protein)"
- "What are the functions of the TP53 protein?"
- "Are there any known 3D structures for BRCA1 protein?"
Development
To run the server directly for testing:
Testing Utilities
This project includes two testing utilities to verify functionality:
1. Server Health Check
Verifies that the MCP server starts correctly without errors:
2. UniProt API Test
Tests connectivity with the UniProt API and verifies that all API calls work as expected:
Run these tests before using the server to ensure everything is properly configured.
License
MIT
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
An MCP server that enables language models to fetch protein information from the UniProt database, including protein details, sequences, functions, and structures.
Related MCP Servers
- AsecurityAlicenseAqualityEnables AI assistants to access protein information directly from UniProt, allowing retrieval of protein names, functions, sequences, and organism data by accession number.Last updated -21PythonMIT License
- AsecurityFlicenseAqualityA Model Context Protocol server that enhances language models with protein structure analysis capabilities, enabling detailed active site analysis and disease-related protein searches through established protein databases.Last updated -26TypeScript
- -securityFlicense-qualityAn MCP server that enables language models to access code intelligence features like completions, definitions, and references across multiple programming languages through the Language Server Protocol.Last updated -Python
- -security-license-qualityA server that enables communication with multiple unichat-based MCP servers simultaneously, allowing users to query different language models and combine their responses for more comprehensive results.Last updated -JavaScript