# PubTator 3: entity search and annotations over PubMed

NCBI PubTator 3 finds PubMed articles by gene, disease, chemical, variant and species entities, resolves entity names to identifiers, and lists the entities and relations text-mined from specific articles.

- No API key needed to call
- Source: [NCBI PubTator 3](https://www.ncbi.nlm.nih.gov/research/pubtator3/)
- Licence and terms: [US government work \(see source\)](https://www.ncbi.nlm.nih.gov/home/about/policies/)
- Coverage: PubMed and PMC open access literature
- Answers are shared and cached for 21600 seconds.

## Questions you can ask

- Which papers does PubTator return for BRCA1 and breast cancer? (operation `ncbi_pubtator_search`)
- What is the PubTator and NCBI Gene identifier for BRCA1? (operation `ncbi_pubtator_entity_lookup`)
- Which chemicals and diseases are mentioned in PubMed article 29355051? (operation `ncbi_pubtator_annotations`)

## Operations

### Search articles with PubTator

Answers: which PubMed articles match this text or entity \(for example @GENE\_BRCA1 or a free text query\), ranked by relevance? Returns PMID, title, journal, date and DOI.

- `text`: required, string, Free text or a PubTator entity id such as @GENE\_BRCA1.
- `page`: optional, integer, default 1, Result page \(10 per page\).

Example: Which papers does PubTator return for BRCA1 and breast cancer?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"ncbi_pubtator","operation":"ncbi_pubtator_search","params":{"text":"BRCA1 breast cancer"}}}
```

Over HTTP:

```
curl '/v1/connectors/ncbi_pubtator/ncbi_pubtator_search?text=BRCA1+breast+cancer'
```

### Resolve an entity name to a PubTator identifier

Answers: what is the PubTator and database identifier \(NCBI Gene, MeSH, dbSNP\) of this gene, disease, chemical, variant or species name?

- `query`: required, string, Entity name or prefix.
- `concept`: optional, string, gene \| disease \| chemical \| species \| variant \| cellline, default gene, Entity type.
- `limit`: optional, integer, default 5, Matches to return.

Example: What is the PubTator and NCBI Gene identifier for BRCA1?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"ncbi_pubtator","operation":"ncbi_pubtator_entity_lookup","params":{"query":"BRCA1","concept":"gene","limit":3}}}
```

Over HTTP:

```
curl '/v1/connectors/ncbi_pubtator/ncbi_pubtator_entity_lookup?query=BRCA1&concept=gene&limit=3'
```

### Entities mined from PubMed articles

Answers: which genes, diseases, chemicals, variants and species are mentioned in these PubMed articles, and what relations did PubTator find?

- `pmids`: required, string, Comma separated PMIDs, up to 5.

Example: Which chemicals and diseases are mentioned in PubMed article 29355051?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"ncbi_pubtator","operation":"ncbi_pubtator_annotations","params":{"pmids":"29355051"}}}
```

Over HTTP:

```
curl '/v1/connectors/ncbi_pubtator/ncbi_pubtator_annotations?pmids=29355051'
```

## Source notice

Source: National Center for Biotechnology Information \(NCBI\), US National Library of Medicine. Terms were not quoted here: see the terms page. NCBI describes content created by or for the US government as free of copyright; some linked records carry their own submitter terms. Annotations are machine generated.

## Missing something?

Tell us what data, endpoint or feature you wish we had. It is free and needs no signup: call the MCP tool request_capability, or POST a short description to https://agentnative.dennery.ai/v1/capabilities/request.
