Sources
Medical
Biomedical and clinical literature.
Copy as MarkdownOpen in ChatGPT (opens in a new tab)Open in Claude (opens in a new tab)
"sources": ["medical"]The medical source is biomedical and clinical literature. A result is one article, with its authors, journal and year, and a label for the kind of evidence it is, such as a randomized trial or a systematic review.
Good for
- Clinical and biomedical questions where the kind of study matters.
- Finding trials and reviews:
extra.evidencesays which a result is. - Giving an agent citable literature instead of health advice pages.
Not the place for
- Advice for a patient. These are research articles, and the snippet is an abstract, not guidance.
- Papers outside medicine and biology. Use
academic.
What a result carries
Every result has the same fields whatever the source; the Search reference lists them. What differs is which of them are filled in:
| Field | In this source |
|---|---|
published_date | Set on every result. |
page_type, topic | null. |
popularity | The popularity of the site that hosts the article record, so it says little here. |
signals (with explain) | text_rank is set; the others are usually null. |
extra | authors, venue (the journal), year, doi, pmid and evidence, for example randomized trial, meta-analysis / systematic review, observational / comparative or review / journal article. |
The extra keys are what this source returns today. Treat every one of them as optional: read it if it is there.
Example queries
statin side effectsmigraine prophylaxisvitamin d supplementation randomized trial
Ten articles with the kind of evidence each is:
curl https://api.millionshort.com/v1/search \
-H "Authorization: Bearer $MILLIONSHORT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "migraine prophylaxis",
"sources": ["medical"],
"num_results": 10
}'import os
from millionshort import MillionShort
client = MillionShort(api_key=os.environ["MILLIONSHORT_API_KEY"])
r = client.search(
"migraine prophylaxis",
sources=["medical"],
num_results=10,
)
for hit in r.results:
print(hit["extra"].get("year"), hit["extra"].get("evidence"), hit["title"])
print(r.usage.credits, "credit(s)")import { MillionShort } from 'millionshort';
const client = new MillionShort({ apiKey: process.env.MILLIONSHORT_API_KEY });
const r = await client.search('migraine prophylaxis', {
sources: ['medical'],
numResults: 10,
});
for (const hit of r.results) {
console.log(hit.extra.year, hit.extra.evidence, hit.title);
}
console.log(r.usage?.credits, 'credit(s)');The same call as a tool of the MCP server:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "search",
"arguments": {
"query": "migraine prophylaxis",
"sources": [
"medical"
],
"num_results": 10
}
}
}Combine it with
academic for neighbouring fields, news for coverage of a new result. One call can ask up to five sources and returns one merged list; each result says which source it came from in source. See Mixture of Experts.
Cost and limits
A search of this source costs 1 credit, like every source, and covers the first 10 results of the call. It is not one of the heavy sources, so only the plan's ordinary requests-per-minute limit applies. Credits and limits has the numbers.
With Monitor, a query monitor can watch this source, with a shortest interval of 24 hours.