Cover image
Try Now
2025-04-01

3 years

Works with Finder

1

Github Watches

0

Github Forks

0

Github Stars

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

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Lists Tailwind CSS classes in monospaced font

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • Yasir Eryilmaz
  • AI scriptwriting assistant for short, engaging video content.

  • https://appia.in
  • Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • jae-jae
  • MCP服务器使用剧作《无头浏览器》获取网页内容。

  • HiveNexus
  • 一个适用于中小型团队的AI聊天机器人,支持DeepSeek,Open AI,Claude和Gemini等车型。 专为中小团队设计的ai聊天应用,支持deepSeek,打开ai,claude,双子座等模型。

  • ravitemer
  • 一个功能强大的Neovim插件,用于管理MCP(模型上下文协议)服务器

  • patruff
  • Ollama和MCP服务器之间的桥梁,使本地LLMS可以使用模型上下文协议工具

    Reviews

    5 (1)
    Avatar
    user_nJsfBkyL
    2025-04-16

    Uniprot-mcp-server is an outstanding tool by vitamin3615 that has revolutionized my research workflow. The intuitive interface and powerful features have made protein data analysis more seamless and efficient. Highly recommend it to fellow researchers and bioinformatics enthusiasts. Check it out at https://github.com/vitamin3615/uniprot-mcp-server.