UniProt MCP Server

UniProt MCP Server

By vitamin3615 GitHub

-

uniprot mcp-server
Overview

what is UniProt MCP Server?

The UniProt MCP Server is a Model Context Protocol server that enables language models to access protein information from the UniProt database, facilitating integration with AI applications like Claude Desktop.

how to use UniProt MCP Server?

To use the UniProt MCP Server, clone the repository, set up a virtual environment, install dependencies, and configure it with Claude Desktop to fetch protein data.

key features of UniProt MCP Server?

  • Search for proteins by name, gene, or other criteria.
  • Retrieve detailed information about proteins, including sequences and functions.
  • Access related PDB structures for proteins.

use cases of UniProt MCP Server?

  1. Finding proteins associated with specific diseases.
  2. Retrieving amino acid sequences for research purposes.
  3. Exploring functional annotations of proteins for academic studies.

FAQ from UniProt MCP Server?

  • Can I use this server with other AI applications?

Yes! The server is designed to be compatible with any MCP-compatible AI application.

  • Is there a license for using the UniProt MCP Server?

Yes, it is licensed under the MIT license, allowing for free use and modification.

  • How can I contribute to the project?

Contributions are welcome! You can fork the repository and submit a Pull Request with your changes.

Content

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

  1. Clone this repository:

    git clone https://github.com/yourusername/uniprot-mcp-server.git
    cd uniprot-mcp-server
    
  2. Create a virtual environment (optional but recommended):

    python -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
    
  3. Install dependencies:

    pip install -r requirements.txt
    

Local Setup with Claude Desktop

  1. Make the server script executable:

    chmod +x server.py
    
  2. Configure Claude Desktop to use this MCP server:

    For macOS/Linux:

    code ~/Library/Application\ Support/Claude/claude_desktop_config.json
    

    For Windows:

    code $env:AppData\Claude\claude_desktop_config.json
    
  3. 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"
          ]
        }
      }
    }
    
  4. 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:

python server.py

Testing Utilities

This project includes two testing utilities to verify functionality:

1. Server Health Check

Verifies that the MCP server starts correctly without errors:

python server_health_check.py

2. UniProt API Test

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.

License

MIT

Contributing

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

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request
No tools information available.

Mirror of

image-generation mcp-server
View Details

Secure MCP server for analyzing Excel files with oletools

oletools mcp-server
View Details

Mirror of

bigquery mcp-server
View Details

MCPHubs is a website that showcases projects related to Anthropic's Model Context Protocol (MCP)

mcp mcp-server
View Details
Dealx
Dealx by DealExpress

-

dealx mcp-server
View Details

Google Analytics MCP server for accessing analytics data through tools and resources

google-analytics mcp-server
View Details

A Python-based MCP server that lets Claude run boto3 code to query and manage AWS resources. Execute powerful AWS operations directly through Claude with proper sandboxing and containerization. No need for complex setups - just pass your AWS credentials and start interacting with all AWS services.

aws mcp-server
View Details