query-uniprot

Retrieve protein function, sequence, and annotations from the UniProt REST API.

30|2|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/IDEA-XL/MolClaw --skill query-uniprot-idea-xl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: query-uniprot
Source: https://github.com/IDEA-XL/MolClaw/tree/main/.claude/skills/query-uniprot
Command: npx skills add https://github.com/IDEA-XL/MolClaw --skill query-uniprot-idea-xl

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

UniProt is the go-to resource for protein information, and this skill streamlines obtaining accurate protein data without manual API queries.

Core Features & Use Cases

  • Gene-to-entry lookup: search by gene name to find corresponding UniProt entries.
  • Accession-based retrieval: fetch the full UniProt entry for a given accession.
  • Annotation and sequence data: extract protein function, domains, and amino acid sequences when available.
  • Use Case: a researcher needs the function and length of TP53 to summarize its role in a report.

Quick Start

Ask me to look up a protein by gene name or accession and I will fetch its UniProt entry, function, and sequence data.

Frequently Asked Questions about query-uniprot

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I retrieve UniProt protein data using a gene name?

To retrieve UniProt protein data, search by gene name to find the corresponding entry. The lookup returns the accession, protein name, organism, length, function, and amino acid sequence when available.

Can I fetch the full UniProt entry for a given accession directly?

Yes, you can fetch the full UniProt entry using a specific accession number. This retrieval extracts comprehensive protein information, including functional annotations, domains, and sequence data directly from the UniProt REST API.

What protein annotations are available when querying the UniProt REST API?

Querying the UniProt REST API provides protein annotations including function, domains, gene name, organism, and sequence length. It handles API errors gracefully and provides sensible defaults when specific information is missing.

Does this method for fetching protein sequences work across different organisms?

Yes, this method applies to protein-level inquiries across multiple organisms. By querying the UniProt REST API with a gene name or accession, you obtain organism-specific protein data and functional summaries.

What happens if a UniProt query returns missing information for a protein?

When a UniProt query returns missing information, the retrieval process handles API errors gracefully and provides sensible defaults. This ensures you still receive available data like accession and protein name without complete failure.

What is the best way to get the function and length of a protein like TP53?

The best way to get the function and length of a protein like TP53 is to perform a gene-to-entry lookup. Querying the UniProt REST API retrieves the specific protein function, length, and sequence for your report.