Model Context Protocol server enabling AI applications to access comprehensive protein data from UniProt, including search, sequences, functions, and 3D structures for enhanced biological insights.
Unlock the full potential of UniProt MCP Server through LangDB's AI Gateway. Get enterprise-grade security, analytics, and seamless integration with zero configuration.
Free tier available • No credit card required
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.
Clone this repository:
git clone https://github.com/yourusername/uniprot-mcp-server.git cd uniprot-mcp-server
Create a virtual environment (optional but recommended):
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
Install dependencies:
pip install -r requirements.txt
Make the server script executable:
chmod +x server.py
Configure Claude Desktop to use this MCP server:
code ~/Library/Application\ Support/Claude/claude_desktop_config.json
code $env:AppData\Claude\claude_desktop_config.json
Add the following configuration (update the path to match your actual file location):
{ "mcpServers": { "uniprot": { "command": "python", "args": [ "/ABSOLUTE/PATH/TO/uniprot-mcp-server/server.py" ] } } }
Restart Claude Desktop
Once set up with Claude Desktop, you can ask questions like:
To run the server directly for testing:
python server.py
This project includes two testing utilities to verify functionality:
Verifies that the MCP server starts correctly without errors:
python server_health_check.py
Tests connectivity with the UniProt API and verifies that all API calls work as expected:
python test_server.py
Run these tests before using the server to ensure everything is properly configured.
MIT
Contributions are welcome! Please feel free to submit a Pull Request.
git checkout -b feature/amazing-feature
)git commit -m 'Add some amazing feature'
)git push origin feature/amazing-feature
)Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!