For developers and AI tools
Developers
The scores, labs, test dates and report links on this site, and the rules behind them, are open to software. Read them as JSON, as plain text for AI tools or through an MCP server, with no key or sign-up.
- JSON endpoints
- 18
- MCP tools
- 5
- Ranked categories
- 32
- Requests a minute
- 120
About the scores
Nothing on this site is medical advice. Alternative Health has not tested any product itself. Every score comes from lab reports, test results and certifications that others published, worked out by the rules on Methodology and Brand evidence grades.
Scores are ours
They follow the published method. They are not buyer ratings.
Brands with no score
They have no lab results on file we can judge, which says nothing either way about their products.
Every answer carries a notice
JSON answers carry a short version in meta.notice. MCP answers carry the full version in notice.
The pages hold the reports
Each item links to its page, where the lab reports are.
Ways to read the data
Pick the one your tool reads. All three serve the data the pages show, rebuilt each time the site is built.
Text files
https://alternativehealth.io/llms.txt
For an AI tool that reads a site: what the site is, the scoring rules in short, each category's top rated products and the page map.
JSON API
https://alternativehealth.io/api/v1
For an app or a script: every category, product, brand, lab result and study, with CORS open and no key.
MCP server
https://alternativehealth.io/mcp
For an AI assistant: 5 read-only tools for search, rankings, products, the method and tap water by ZIP code.
Text files for AI tools
Plain text in the llmstxt.org layout, served as text/plain and cached like the pages. Every number in them is read from the data.
/llms.txt
The short file: a summary of the scoring rules, up to three top rated products per category with score, grade, lab and test date, and links to the site's main pages.
/llms-full.txt
The long file: every ranked product in every category, counts of what is unrated, under review or has no report on file, and the scoring rules in full.
curl https://alternativehealth.io/llms.txtcurl https://alternativehealth.io/llms-full.txtJSON API
Read only and public, with no cookies. Every answer is { data, meta }, and a value nobody can trace is left empty, never guessed.
# A category's ranking
curl https://alternativehealth.io/api/v1/categories/salt
# One bottled water
curl https://alternativehealth.io/api/v1/products/hallstein
# Tap water by ZIP code
curl "https://alternativehealth.io/api/v1/water?zip=10001"| GET | What it answers |
|---|---|
| /api/v1 | This index: every endpoint, and counts of what the API serves. |
| /api/v1/categories | Every category (bottled water, the brand catalogs, light therapy devices) with its page and its place in the menus. |
| /api/v1/categories/{id} | One category with its ranking: the top pick or the page's reason for none, each ranked item's score, grade, lab, test date and report, and counts of what is not ranked. |
| /api/v1/products | Every bottled water with its lab panels, score, verification tier and reports. |
| /api/v1/products/{slug} | One bottled water. A catalog brand's slug answers 307 to its brand path. |
| /api/v1/devices | Light therapy device specifications. Devices are not scored. |
| /api/v1/brands?category= | Every catalog brand, or one category's, with its score, tier and newest lab report. |
| /api/v1/brands/{category} | One brand catalog: its method, benchmarks and brands. |
| /api/v1/brands/{category}/{slug} | One brand with its findings, lab results, the sources they cite and the benchmarks they use. |
| /api/v1/barcodes | Every barcode the site links to a product or a brand. |
| /api/v1/barcodes/{code} | What one barcode links to. |
| /api/v1/research/topics | Research topics with their study counts. |
| /api/v1/research/topics/{id}/studies?offset=&limit=&q= | A topic's published studies, paged, with a title search. |
| /api/v1/search?q= | Search products, devices, brands, research topics and study titles. |
| /api/v1/nav | The site's menus. |
| /api/v1/articles | The site's reading pages as articles, without their text. |
| /api/v1/articles/{path} | One article as structured blocks. |
| /api/v1/water?zip= | The public water system on file for a US ZIP code, from EPA records, with EWG's figures where they are on file. |
MCP server
A remote MCP server over streamable HTTP at https://alternativehealth.io/mcp, with no sign-in and no sessions. Every tool is read only.
{
"mcpServers": {
"alternative-health": {
"url": "https://alternativehealth.io/mcp"
}
}
}claude mcp add --transport http \
alternative-health https://alternativehealth.io/mcpcurl -s https://alternativehealth.io/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call",
"params":{"name":"get_category_ranking",
"arguments":{"category":"salt"}}}'search_products
Find bottled waters, brands and light therapy devices by name, product name or category. Returns each hit's id, title, a subtitle with its score where the site shows one, and its page.
get_category_ranking
A category's ranked products as its page ranks them: the top pick or the page's reason for none, each ranked item's score out of 100, evidence grade or verification tier, lab, test date and report link, and counts of what is not ranked.
get_product
One bottled water (by slug, with its lab panels, score and reports) or one catalog brand (by slug, with its findings, lab results, sources and score). A brand in several categories needs the category.
get_methodology
How scores are worked out: the bottled water score's parts, penalties and caps, and the brand evidence score's parts, evidence grades, rating tiers and top pick rules, read from the scoring code.
get_water_by_zip
The public water system on file for a US ZIP code: its name, source, population served, violations, PFAS and lithium detections, disinfectant, fluoride from EPA's Six-Year Review 4 and EWG's figures. It says so when none is on file.
Limits and caching
Sized for apps that sync a catalog and for assistants that look one thing up. Don't scrape it in a loop.
Rate limit
About 120 requests a minute per IP address, across the JSON API and the MCP server. Past that, you get a 429 with Retry-After. The MCP server takes one JSON-RPC message per request, and a batch answers 400.
Caching
JSON answers are cached for an hour at the edge. Send the ETag back in If-None-Match to get a 304 with no body. MCP answers are never cached.
CORS
Open to every origin, with ETag and Retry-After readable from scripts. No credentials are taken or needed.
Strict queries
An unknown query key, a key given twice or an empty part answers 400, so a query string cannot skip the cache.
Using the data
When a person sees a score from this site, they should be able to check where it came from.
Link the page
Show the webPath link with a score, so the reader reaches the lab reports behind it.
Keep the date
Scores move as reports age and new ones arrive. Show the test date, or dataUpdatedOn from meta.
Keep the notice
Pass on that nothing here is medical advice and that the site has not tested the products itself.
If a value does not match its report, the corrections page says how to tell us and lists what has changed.
Photo: Joyce Hankins, Unsplash.
