Access UniProt protein information with batch retrieval, caching, error handling, and easy API integration.
The UniProt MCP Server is a specialized Model Context Protocol (MCP) server that integrates seamlessly with AI applications, specifically Claude Desktop and other compatible clients. It functions as a bridge between AI applications and the vast repository of protein information provided by UniProt. This makes it an invaluable tool for developers building intelligent applications that require detailed biological data.
The UniProt MCP Server offers several features that enhance its utility in various AI workflows, making it a robust MCP client:
The UniProt MCP Server is built using the Model Context Protocol (MCP), a protocol designed for uniform interaction between AI applications and external data sources. It leverages the MCP Python SDK to ensure seamless integration with other MCP clients, adhering strictly to the protocol specifications provided by Anthropic.
MCP Client | Resources | Tools | Prompts | Status |
---|---|---|---|---|
Claude Desktop | ✅ | ✅ | ✅ | Full Support |
Continue | ✅ | ✅ | ❌ | Full Support (Tools Only) |
Cursor | ❌ | ✅ | ❌ | Tools Only |
To set up the UniProt MCP Server, follow these steps:
git clone https://github.com/TakumiY235/uniprot-mcp-server.git
cd uniprot-mcp-server
uv
(recommended) or pip
:
uv pip install -r requirements.txt # For uv command support
pip install -r requirements.txt # Using standard pip
For developers focusing on bioinformatics and genomics, the UniProt MCP Server plays a crucial role by providing quick access to critical protein data. Its integration with tools like Claude Desktop allows for real-time interaction and analysis, enabling researchers to work more efficiently.
To ensure compatibility with other MCP clients, add the following configuration snippet to your Claude Desktop config file:
{
"mcpServers": {
"uniprot": {
"command": "uv",
"args": ["--directory", "path/to/uniprot-mcp-server", "run", "uniprot-mcp-server"]
}
}
}
This setup ensures that Claude Desktop can natively communicate with the UniProt MCP Server when performing relevant commands.
Client | AI Application Features |
---|---|
Claude Desktop | - Full support for all API calls <br> - Real-time integration <br> - High availability and reliability |
This matrix highlights the strength of integration, ensuring optimal performance and reliability when using Claude Desktop with the UniProt MCP Server.
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
pip install -e ".[dev]"
Execute the necessary checks to ensure code integrity and security:
black .
isort .
flake8 .
mypy .
bandit -r src/
safety check
How does the UniProt MCP Server handle caching? The server uses an OrderedDict-based cache with a 24-hour TTL, which helps in managing memory-efficiently and keeping up with frequently accessed data.
What error scenarios does the server support? The server is equipped to handle various errors such as invalid accessions, network issues, rate limits, malformed responses, and cache management through detailed logging mechanisms.
Can I use different MCP clients with this server? Yes, while Claude Desktop has full support, other tools like Continue are also compatible but might have limitations in some functionalities due to their architecture differences.
How can I contribute to the project? Contributions are welcome! Fork the repository, make your changes, and submit a Pull Request adhering to our existing coding style guidelines.
Is there any specific tool or library for managing MCP connections in this setup? The server utilizes tools like Black for code formatting, isort for import sorting, flake8 for linting, mypy for type checking, bandit for security checks, and safety for detecting potential vulnerabilities.
git checkout -b feature/your-feature-name
git commit -m 'Implemented new feature x'
git push origin feature/your-feature-name
Ensure tests are updated and adhere to our coding style guidelines for smooth integration into the project.
The UniProt MCP Server is part of a broader ecosystem supporting developers engaged in building intelligent applications that require data from various sources. Explore additional resources, such as Anthropic’s Model Context Protocol documentation, to enhance your understanding and implementation strategies.
graph TD
A[AI Application] -->|MCP Client| B[MCP Protocol]
B --> C[MCP Server]
C --> D[Data Source/Tool]
style A fill:#e1f5fe
style C fill:#f3e5f5
style D fill:#e8f5e8
MCP Client | Resources | Tools | Prompts | Status |
---|---|---|---|---|
Claude Desktop | ✅ | ✅ | ✅ | Full Support |
Continue | ✅ | ✅ | ❌ | Full Support (Tools Only) |
By following this comprehensive documentation, developers will be well-equipped to utilize the UniProt MCP Server for efficient and reliable access to protein information within their AI applications.
RuinedFooocus is a local AI image generator and chatbot image server for seamless creative control
Access NASA APIs for space data, images, asteroids, weather, and exoplanets via MCP integration
Simplify MySQL queries with Java-based MysqlMcpServer for easy standard input-output communication
Build stunning one-page websites track engagement create QR codes monetize content easily with Acalytica
Learn to set up MCP Airflow Database server for efficient database interactions and querying airflow data
Explore CoRT MCP server for advanced self-arguing AI with multi-LLM inference and enhanced evaluation methods