
takumiy235/uniprot-mcp-server
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
UniProt タンパク質データアクセスのための MCP サーバー
概要
UniProt タンパク質情報へのアクセスを提供するモデルコンテキストプロトコル (MCP) サーバー。 このサーバーは、AIアシスタントがUniProtから直接タンパク質機能とシーケンス情報を取得することができます。 - アクセス番号がまだ知られていないときにタンパク質名、遺伝子名またはキーワードでUniProtKBを検索 - UniProtアクセス番号によってタンパク質情報を取得する - 複数のタンパク質のバッチ検索 - 自分の位置で注釈付けされたシーケンス機能を入手してください:信号ペプチド、プロペプチド、成熟したチェーン、アクティブおよびバインディングサイト、硫化債券、ドメイン、糖化、自然多様体および突然変異 - 利用可能な構造を入手してください: PDBエントリと方法、解像度、およびAlphaideは、同じデータを読み込みます。 - Python 3.10以上 - MCP Python SDK (mcp>=1.1、<2) MCP SDK の 2.0 が @server.list tools()/ @server を削除しました.
概要(AI 翻訳)
UniProt タンパク質情報へのアクセスを提供するモデルコンテキストプロトコル (MCP) サーバー。 このサーバーは、AIアシスタントがUniProtから直接タンパク質機能とシーケンス情報を取得することができます。
##特徴
- アクセス時にタンパク質名、遺伝子名、キーワードでUniProtKBを検索 番号はまだ知られていません -UniProtアクセス番号でタンパク質情報を取得する
- 複数のタンパク質のバッチ検索
- 自分の位置でアノテーションされたシーケンス機能を取得する: シグナルペプチド, ペプチッド、成長した鎖、活動的および結合の場所、硫化物の結束、ドメイン、 グリコシレーション、自然な変形および突然変異
- 利用可能な構造を取得します。: 方法、解像度、カバー付きPDBエントリ 残余の範囲、プラスアルファフォールドDBモデル
- 改善された性能のためのキャッシュ(24時間TTL)、用具を渡る共有 同じエントリを読みます
- エラー処理とロギング
要件
- Python 3.10以上
- MCP Python SDK 1.x (
mcp>=1.1, The MCP SDK's 2.0 release removed the])@server.list tools()[/]@server.call tool()`
このプロジェクトが構築された低レベル[
Serverクラスのデコレータ。 インストール済み [[[T3]に対して] 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-levelServerclass that this project is built on. Installed againstmcp2.x, the server raisesAttributeError: '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
- Ensure you have Python 3.10 or higher installed
- Clone this repository:
git clone https://github.com/TakumiY235/uniprot-mcp-server.git cd uniprot-mcp-server - 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
インストール
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"]
}
}
}