TU

takumiy235/uniprot-mcp-server

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

14 stars 6 forks 품질 77 트렌드 17MIT

UniProt 단백질 데이터 액세스를 위한 MCP 서버

개요

UniProt Protein 정보에 액세스 할 수있는 Model Context Protocol (MCP) 서버. 이 서버는 AI 조수가 UniProt에서 단백질 기능 및 시퀀스 정보를 직접 fetch 할 수 있습니다. - 액세스 번호가 아직 알려지지 않은 경우 단백질 이름, 유전자 이름 또는 키워드로 UniProtKB를 검색하십시오 - UniProt 액세스 번호로 단백질 정보를 얻으십시오 - 다수 단백질의 표백 retrieval - 그들의 위치에 할당된 순서 특징을 얻으십시오: 신호 펩티드, propeptide, 성숙한 사슬, 활동 및 의무적인 위치, disulfide 유대, 도메인, glycosylation, 자연적인 변종 및 mutagenesis - 방법을 가진 PDB 입장을 얻으십시오, 해결책 및 알파로그로그로그로그로그로그로그로그로그로그로그로그로그로그로그로그로그로그로그로브로그로그로그로그로그로그로그로그로그로그로그로그로그로그로그로그로그로그로그로브를 위한 성과 (것). - Python 3.10 이상 - MCP Python SDK (mcp>=1.1,<2) MCP SDK의 2.0 릴리스는 @server.list tools() / @server를 제거했습니다.

개요(AI 번역)

UniProt Protein 정보에 액세스 할 수있는 Model Context Protocol (MCP) 서버. 이 서버는 AI 조수가 UniProt에서 단백질 기능 및 시퀀스 정보를 직접 fetch 할 수 있습니다.

특징

  • UniProtKB를 단백질 이름, 유전자 이름 또는 키워드로 검색 숫자는 아직 알려지지 않았습니다.
  • UniProt 액세스 번호로 단백질 정보를 얻기
  • 다수 단백질의 배치 retrieval
  • 자신의 위치에 할당된 순서 특징을 얻으십시오: 신호 펩티드, propeptide, 성숙한 사슬, 활동 적이고 및 의무적인 위치, disulfide 노예, 도메인, glycosylation, 자연적인 변종 및 mutagenesis
  • 유효한 구조를 얻으십시오: 방법, 해결책 및 덮음을 가진 PDB 입장 잔류물 범위, AlphaFold DB 모델
  • 향상된 성능을위한 캐싱 (24 시간 TTL), 공구를 통해 공유 동일한 항목을 읽으십시오
  • 오류 처리 및 로깅

요구 사항

  • Python 3.10 이상
  • MCP 파이썬 SDK ** 1.x** (mcp>=1.1, The MCP SDK's 2.0 release removed the ]@server.list tools()/@server.call tool()`

저수준 Server의 장식자는 이 프로젝트가 내장 된 클래스입니다. 설치하기 mcp 2.x에 대하여, 서버가 상승

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

UniProt MCP Server

A Model Context Protocol (MCP) server that provides access to UniProt protein information. This server allows AI assistants to fetch protein function and sequence information directly from UniProt.

Features

  • Search UniProtKB by protein name, gene name or keyword when the accession number is not known yet
  • Get protein information by UniProt accession number
  • Batch retrieval of multiple proteins
  • Get annotated sequence features with their positions: signal peptide, propeptide, mature chain, active and binding sites, disulfide bonds, domains, glycosylation, natural variants and mutagenesis
  • Get the available structures: PDB entries with method, resolution and covered residue ranges, plus the AlphaFold DB model
  • Caching for improved performance (24-hour TTL), shared across the tools that read the same entry
  • Error handling and logging

Requirements

  • Python 3.10 or higher
  • MCP Python SDK 1.x (mcp>=1.1,<2)

The MCP SDK’s 2.0 release removed the @server.list_tools() / @server.call_tool() decorators from the low-level Server class that this project is built on. Installed against mcp 2.x, the server raises AttributeError: 'Server' object has no attribute 'list_tools' at startup, so the dependency is pinned to the 1.x line. Migrating to the 2.x server API is tracked separately.

Quick Start

  1. Ensure you have Python 3.10 or higher installed
  2. Clone this repository:
    git clone https://github.com/TakumiY235/uniprot-mcp-server.git
    cd uniprot-mcp-server
    
  3. Install dependencies:
    # Using uv (recommended)
    uv pip install -r requirements.txt
    
    # Or using pip
    pip install -r requirements.txt
    

Configuration

Add to your Claude Desktop config file:

  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "uniprot": {
      "command": "uv",
      "args": ["--directory", "path/to/uniprot-mcp-server", "run", "uniprot-mcp-server"]
    }
  }
}

Usage Examples

After configuring the server in Claude Desktop, you can ask questions like:

Can you get the protein information for UniProt accession number P98160?

For batch queries:

Can you get and compare the protein information for both P04637 and P02747?

When you do not have an accession number to hand:

Find the reviewed human phospholipase A2 entries and show me their lengths.

Before designing a construct or a variant panel, to get the boundaries and the

GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "uniprot": { "command": "uv", "args": ["--directory", "path/to/uniprot-mcp-server", "run", "uniprot-mcp-server"] } } }