Agent skill

Ncbi Blast API

by wentorai in wentorai/research-plugins

Run sequence similarity searches via the NCBI BLAST REST API

MITAuto-check passedBackend & APIs

Install Ncbi Blast API

skills CLI
$ npx skills add wentorai/research-plugins --skill ncbi-blast-api -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install wentorai/research-plugins ncbi-blast-api --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/domains/biomedical/ncbi-blast-api .claude/skills/ncbi-blast-api && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ncbi-blast-api
GitHub stars
298
Used in
1 other repo
Token cost
~1.6k tokens
SKILL.md length
245 words
Files
1
Skills in repo
405
Repo updated
First seen
Licence
MIT

At a glance

Run sequence similarity searches via the NCBI BLAST REST API

  • Works in 3 steps: Submit Search → Check Status → Retrieve Results
  • Tasks that involve REST APIs
  • SKILL.md covers Overview, API Workflow, Python Usage and Rate Limits, plus 1 more section
  • Calls curl; reaches blast.ncbi.nlm.nih.gov

What it does

Ncbi Blast API is an agent skill from wentorai/research-plugins. Run sequence similarity searches via the NCBI BLAST REST API

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Backend & APIs, covering REST APIs and Vector databases. It works with NCBI. The repository describes itself as: 350+ academic research skills, MCP configs, and plugins for Research-Claw and AI agents. The licence is MIT.

When your agent uses it

  • Tasks that involve REST APIs
  • Tasks that involve Vector databases

Example prompts

  • “/ncbi-blast-api”

Requirements

  • Python 3

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Submit Search
  2. Check Status
  3. Retrieve Results

What it can do on your machine

Read from SKILL.md and the folder at commit bf44b3c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • curl

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • blast.ncbi.nlm.nih.gov

    Also links to:

    • ncbi.nlm.nih.gov

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Ncbi Blast API loads about 1.6k tokens when it runs. Until then it costs about 19 tokens; SKILL.md has 245 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~19
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from wentorai/research-plugins at commit bf44b3c, republished under its MIT licence (© wentorai). 245 words, ~1,630 tokens.

Download SKILL.mdSave it as .claude/skills/ncbi-blast-api/SKILL.md (or your agent's skills folder).
name
ncbi-blast-api
description
Run sequence similarity searches via the NCBI BLAST REST API

NCBI BLAST REST API

Overview

BLAST (Basic Local Alignment Search Tool) is the most widely used bioinformatics tool, comparing nucleotide or protein sequences against databases to find regions of similarity. The NCBI BLAST REST API enables programmatic submission of searches, status polling, and result retrieval. Free, no authentication required (but rate-limited).

API Workflow

BLAST searches are asynchronous: submit → poll → retrieve.

bash
# Nucleotide BLAST (blastn)
curl -X POST "https://blast.ncbi.nlm.nih.gov/blast/Blast.cgi" \
  -d "CMD=Put&PROGRAM=blastn&DATABASE=nt&QUERY=ATGCGATCGATCG..."

# Protein BLAST (blastp)
curl -X POST "https://blast.ncbi.nlm.nih.gov/blast/Blast.cgi" \
  -d "CMD=Put&PROGRAM=blastp&DATABASE=nr&QUERY=MKTLLLTLVVVTIVCL..."

# BLAST with specific parameters
curl -X POST "https://blast.ncbi.nlm.nih.gov/blast/Blast.cgi" \
  -d "CMD=Put&PROGRAM=blastn&DATABASE=nt&QUERY=SEQUENCE&\
EXPECT=0.001&WORD_SIZE=11&HITLIST_SIZE=50"
Step 2: Check Status
bash
# Poll for completion (returns XML with Status field)
curl "https://blast.ncbi.nlm.nih.gov/blast/Blast.cgi?CMD=Get&FORMAT_OBJECT=SearchInfo&RID=YOUR_RID"
Step 3: Retrieve Results
bash
# Get results in XML
curl "https://blast.ncbi.nlm.nih.gov/blast/Blast.cgi?CMD=Get&FORMAT_TYPE=XML&RID=YOUR_RID"

# Get results in JSON
curl "https://blast.ncbi.nlm.nih.gov/blast/Blast.cgi?CMD=Get&FORMAT_TYPE=JSON2_S&RID=YOUR_RID"

# Get results in tabular format
curl "https://blast.ncbi.nlm.nih.gov/blast/Blast.cgi?CMD=Get&FORMAT_TYPE=Tabular&RID=YOUR_RID"
BLAST Programs
ProgramQuery → DatabaseUse case
blastnNucleotide → NucleotideDNA/RNA similarity
blastpProtein → ProteinProtein homology
blastxTranslated nuc → ProteinFind protein homologs of DNA
tblastnProtein → Translated nucFind DNA encoding similar protein
tblastxTranslated nuc → Translated nucCompare at protein level
Common Databases
DatabaseContent
ntAll GenBank nucleotide sequences
nrNon-redundant protein sequences
refseq_rnaRefSeq RNA sequences
refseq_proteinRefSeq protein sequences
swissprotUniProtKB/Swiss-Prot (curated)
pdbProtein Data Bank sequences
Key Parameters
ParameterDescriptionDefault
PROGRAMBLAST programRequired
DATABASETarget databaseRequired
QUERYSequence or accessionRequired
EXPECTE-value threshold10
WORD_SIZEWord size11 (blastn), 6 (blastp)
HITLIST_SIZEMax results100
MATRIXScoring matrix (protein)BLOSUM62
FILTERLow complexity filterL
ENTREZ_QUERYRestrict to organismHomo sapiens[ORGN]

Python Usage

python
import time
import requests
from xml.etree import ElementTree

BLAST_URL = "https://blast.ncbi.nlm.nih.gov/blast/Blast.cgi"


def submit_blast(sequence: str, program: str = "blastn",
                 database: str = "nt",
                 evalue: float = 0.001) -> str:
    """Submit a BLAST search, return Request ID."""
    resp = requests.post(BLAST_URL, data={
        "CMD": "Put",
        "PROGRAM": program,
        "DATABASE": database,
        "QUERY": sequence,
        "EXPECT": evalue,
        "HITLIST_SIZE": 50,
    })
    resp.raise_for_status()

    for line in resp.text.split("\n"):
        if "RID = " in line:
            return line.split("=")[1].strip()
    raise ValueError("No RID in response")


def wait_for_results(rid: str, poll_interval: int = 15,
                     max_wait: int = 300) -> bool:
    """Poll until BLAST search completes."""
    elapsed = 0
    while elapsed < max_wait:
        resp = requests.get(BLAST_URL, params={
            "CMD": "Get",
            "FORMAT_OBJECT": "SearchInfo",
            "RID": rid,
        })
        if "Status=READY" in resp.text:
            return True
        if "Status=FAILED" in resp.text:
            raise RuntimeError("BLAST search failed")
        time.sleep(poll_interval)
        elapsed += poll_interval
    raise TimeoutError(f"BLAST timed out after {max_wait}s")


def get_results(rid: str) -> list:
    """Retrieve BLAST results as parsed hits."""
    resp = requests.get(BLAST_URL, params={
        "CMD": "Get",
        "FORMAT_TYPE": "XML",
        "RID": rid,
    })
    resp.raise_for_status()

    root = ElementTree.fromstring(resp.text)
    ns = ""
    hits = []
    for hit in root.iter(f"{ns}Hit"):
        hsps = hit.find(f"{ns}Hit_hsps")
        hsp = hsps.find(f"{ns}Hsp") if hsps is not None else None
        hits.append({
            "accession": hit.findtext(f"{ns}Hit_accession", ""),
            "description": hit.findtext(f"{ns}Hit_def", ""),
            "length": int(hit.findtext(f"{ns}Hit_len", "0")),
            "evalue": float(hsp.findtext(f"{ns}Hsp_evalue", "999"))
                     if hsp is not None else 999,
            "identity": float(hsp.findtext(f"{ns}Hsp_identity", "0"))
                       if hsp is not None else 0,
            "score": float(hsp.findtext(f"{ns}Hsp_bit-score", "0"))
                    if hsp is not None else 0,
        })
    return hits


# Example: BLAST a short DNA sequence
rid = submit_blast("ATGCGATCGATCGATCGATCGATCG", program="blastn")
print(f"Submitted BLAST search: {rid}")

wait_for_results(rid)
hits = get_results(rid)
for h in hits[:5]:
    print(f"{h['accession']}: {h['description'][:60]}...")
    print(f"  E-value: {h['evalue']:.2e} | Identity: {h['identity']}")

Rate Limits

  • Max 1 request per 10 seconds for search submission
  • Max concurrent searches: varies by load
  • NCBI requests a contact email in User-Agent header

References

© wentorai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/domains/biomedical/ncbi-blast-api of wentorai/research-plugins.

Open the folder on GitHubat commit bf44b3c

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in wentorai/research-plugins, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Ncbi Blast API next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Ncbi Blast API compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Ncbi Blast API this skillwentorai/research-plugins2981 repos~1.6kAutomated safety check: PassMIT
Bio Pathway Kegg PathwaysGPTomics/bioSkills1.2k1 repos~5.4kAutomated safety check: PassMIT
Bio Clinical Databases Clinvar LookupFreedomIntelligence/OpenClaw-Medical-Skills3.1k—~1.4kAutomated safety check: PassNone
Chem Similarity Searchlearningmatter-mit/AtomisticSkills176—~614Automated safety check: PassMIT
Open NotebookK-Dense-AI/scientific-agent-skills48k1 repos~2.8kAutomated safety check: PassMIT
CohesivityAnil-matcha/awesome-muse-connectors1.3k—~1.1kAutomated safety check: PassMIT

Similar skills

  • Bio Pathway Kegg Pathways

    GPTomics/bioSkills

    Tests gene lists, ranked vectors, and fold-change vectors against KEGG pathways and modules with clusterProfiler enrichKEGG/enrichMKEGG (ORA), gseKEGG (GSEA), and SPIA/graphite (signed-topology…

    1.2k GitHub starsUsed in 1 repo~5.4k tokens
    Backend & APIsAuto-check passed
  • Bio Clinical Databases Clinvar Lookup

    FreedomIntelligence/OpenClaw-Medical-Skills

    Query ClinVar for variant pathogenicity classifications, review status, and disease associations via REST API or local VCF.

    3.1k GitHub stars~1.4k tokensUpdated 2 mo ago
    Backend & APIsAuto-check passed
  • Chem Similarity Search

    learningmatter-mit/AtomisticSkills

    Find structurally similar chemical compounds using PubChem's 2D fast similarity engine via the PUG-REST API.

    176 GitHub stars~614 tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Open Notebook

    K-Dense-AI/scientific-agent-skills

    Organizes research with the self-hosted Open Notebook alternative to NotebookLM.

    48k GitHub starsUsed in 1 repo~2.8k tokens
    AI & LLM EngineeringAuto-check passed
  • Cohesivity

    Anil-matcha/awesome-muse-connectors

    Backend infrastructure for a project via Cohesivity (cohesivity.ai).

    1.3k GitHub stars~1.1k tokensUpdated 3 days ago
    DatabasesAuto-check passed
  • DB

    oracle/skills

    Official

    Oracle Database guidance for SQL, PL/SQL, SQLcl, ORDS, Oracle Vector SDK, administration, app development, performance, security, migrations, and agent-safe database workflows.

    876 GitHub stars~1.4k tokensUpdated 3 days ago
    DatabasesAuto-check passed

More from wentorai/research-plugins

All 405 skills in this repo
  • Abstract Writing Guide

    wentorai/research-plugins

    Craft structured research abstracts that maximize clarity and journal acceptance

    298 GitHub starsUsed in 1 repo~1.7k tokens
    Auto-check passed
  • Academic Citation Manager

    wentorai/research-plugins

    Manage academic citations across BibTeX, APA, MLA, and Chicago formats

    298 GitHub starsUsed in 1 repo~2.7k tokens
    Auto-check passed
  • Academic Paper Summarizer

    wentorai/research-plugins

    Summarize academic papers with structured extraction of key elements

    298 GitHub starsUsed in 1 repo~1.4k tokens
    Auto-check passed
  • Academic Study Methods

    wentorai/research-plugins

    Evidence-based study techniques for academic learning and retention

    298 GitHub starsUsed in 1 repo~1.8k tokens
    Auto-check passed
  • Academic Tone Guide

    wentorai/research-plugins

    Adjust writing tone and register for academic audiences and venues

    298 GitHub starsUsed in 1 repo~1.9k tokens
    Auto-check passed
  • Academic Translation Guide

    wentorai/research-plugins

    Academic translation, post-editing, and Chinglish correction guide

    298 GitHub starsUsed in 1 repo~1.6k tokens
    Auto-check passed

Works with

Categories

Questions about Ncbi Blast API

What does Ncbi Blast API do?

Run sequence similarity searches via the NCBI BLAST REST API. Ncbi Blast API is an agent skill from wentorai/research-plugins.

When should I use Ncbi Blast API?

Ncbi Blast API fits situations like: tasks that involve REST APIs; tasks that involve Vector databases.

How do I install Ncbi Blast API in Claude Code?

Run `npx skills add wentorai/research-plugins --skill ncbi-blast-api -a claude-code`. Or copy the skill folder (skills/domains/biomedical/ncbi-blast-api in wentorai/research-plugins) into .claude/skills/ncbi-blast-api in your project. Claude Code loads it when a task matches its description.

How do I install Ncbi Blast API in Codex?

Run `npx skills add wentorai/research-plugins --skill ncbi-blast-api -a codex`. Or copy the skill folder (skills/domains/biomedical/ncbi-blast-api in wentorai/research-plugins) into .agents/skills/ncbi-blast-api in your project. Codex loads it when a task matches its description.

Can I use Ncbi Blast API in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add wentorai/research-plugins --skill ncbi-blast-api -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ncbi-blast-api, .gemini/skills/ncbi-blast-api, .github/skills/ncbi-blast-api and .opencode/skills/ncbi-blast-api in your project.

What does Ncbi Blast API need to run?

Going by SKILL.md and its folder, Ncbi Blast API needs the command-line tools its instructions call (curl). Our summary lists: Python 3.

Does Ncbi Blast API access the network?

SKILL.md names 2 domains. In commands or code: blast.ncbi.nlm.nih.gov; the agent is likely to contact it when it follows the instructions. As links in the text: ncbi.nlm.nih.gov. This is read from the text; nothing was executed.

Is Ncbi Blast API safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Ncbi Blast API use?

Ncbi Blast API is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Ncbi Blast API use?

About 1.6k tokens (SKILL.md is roughly 6.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Ncbi Blast API?

Skills that share tags, products or a category with Ncbi Blast API: Bio Pathway Kegg Pathways (GPTomics/bioSkills, 1.2k stars), Bio Clinical Databases Clinvar Lookup (FreedomIntelligence/OpenClaw-Medical-Skills, 3.1k stars), Chem Similarity Search (learningmatter-mit/AtomisticSkills, 176 stars) and Open Notebook (K-Dense-AI/scientific-agent-skills, 48k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Ncbi Blast API?

wentorai (a GitHub user) maintains it in wentorai/research-plugins, which has 298 GitHub stars. The repository holds 405 skills in this directory. The repository was last updated on June 19, 2026.

Source: wentorai/research-plugins on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.