search
Pack: uniprot · Endpoint: https://gateway.pipeworx.io/uniprot/mcp
“Find protein [name]” / “look up [gene] in UniProt” / “BRCA1 / TP53 / insulin protein info” / “all proteins for [organism]” — UniProtKB search via Lucene-style queries (e.g. “gene:BRCA1 AND organism_id:9606” for human BRCA1). UniProt is the authoritative protein-sequence-and-function database — use for protein characterization, function annotation, sequence retrieval, and cross-references to PDB/GO/PubMed.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | |
format | string | no | json (default) | tsv | fasta | xml |
size | number | no | 1-500 (default 25) |
fields | string | no | Comma-sep returned fields (json/tsv only). |
Example call
Arguments
{
"query": "gene:BRCA1 AND organism_id:9606"
}
curl
curl -X POST https://gateway.pipeworx.io/uniprot/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search","arguments":{"query":"gene:BRCA1 AND organism_id:9606"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('search', {
"query": "gene:BRCA1 AND organism_id:9606"
});
More examples
{
"query": "protein_name:hemoglobin AND organism_id:9606",
"format": "fasta",
"size": 50
}
Response shape
| Field | Type | Description |
|---|---|---|
results | array | Array of search result entries |
facets | array | Search facets for filtering |
Full JSON Schema
{
"type": "object",
"description": "UniProtKB search results",
"properties": {
"results": {
"type": "array",
"description": "Array of search result entries",
"items": {
"type": "object",
"description": "Protein entry result"
}
},
"facets": {
"type": "array",
"description": "Search facets for filtering"
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"uniprot": {
"url": "https://gateway.pipeworx.io/uniprot/mcp"
}
}
}
See Getting Started for client-specific install steps.