API
Starkslab API
Read-only JSON for every note, tool page, concept and comparison on Starkslab: the same content as the site, with each note's evidence label and dates. No key, no sign-up. The same content is also available to agents through an MCP server.
https://starkslab.com/api/v1Try it
curl https://starkslab.com/api/v1/tools/claude-code
curl "https://starkslab.com/api/v1/notes?evidence=tested&limit=5"
curl "https://starkslab.com/api/v1/search?q=api+key+rotation"Endpoints
All are GET, relative to https://starkslab.com/api/v1.
- /What the API offers, its endpoints and usage terms.
- /statusHealth check, with the number of notes, tools and concepts.
- /notesNotes, newest first. Filter by tool, concept, format or evidence; page with limit and offset.
- /notes/{slug}One note with its full text in Markdown.
- /toolsEvery tool with at least one note, A to Z.
- /tools/{slug}One tool with its notes and related concepts.
- /conceptsEvery concept with a reading path.
- /concepts/{slug}One concept with its reading path, in order, and the tools it covers.
- /comparisonsEvery comparison note.
- /searchTools, concepts and notes matching every word of q.
- /openapi.jsonThis API as an OpenAPI 3.1 document.
What every note carries
urlThe HTML page. Cite this, with the date.markdownUrl, apiUrlThe same note as Markdown, and in the API with its full text.published, updatedCalendar dates (YYYY-MM-DD).formatguide, review, comparison, checklist, explainer or source-read.evidencetested, source-read or documented, with the versions checked and when; null when not stated.tools, conceptsSlugs of the tool and concept pages the note belongs to.authors, bodyOn a single note: who wrote it, and its full text in Markdown.
What each evidence label proves is explained under how every claim is labelled.
MCP server
The same content over the Model Context Protocol: read-only, no account, Streamable HTTP at https://starkslab.com/mcp. In Claude Code:
claude mcp add --transport http starkslab https://starkslab.com/mcpMost other clients take a remote server by URL, for example:
{
"mcpServers": {
"starkslab": { "type": "http", "url": "https://starkslab.com/mcp" }
}
}search_starkslabFind Starkslab tool pages, concepts and notes matching every word of a query, such as a tool name or a topic. Returns each note with its evidence label, dates and links.list_topicsList every tool and concept Starkslab covers, with slugs and note counts. Use it to see what exists before calling get_tool or get_concept.list_notesList notes, newest first, optionally only those about one tool or concept, of one format, or with one evidence label. Pages with limit and offset.get_noteRead one Starkslab note in full as Markdown: title, summary, canonical URL, dates, author, format, evidence label with versions, and the complete text.get_toolGet one tool: what it is, how many notes cover it and how many tested it, and every note about it, newest first, with related concepts.get_conceptGet one concept with its reading path: the notes to read, in order, and the tools they cover.
Pay with x402 (test)
An experiment with x402, the HTTP 402 payment standard for agents: a paid route answers 402 Payment Required with its terms in a PAYMENT-REQUIRED header, and any x402 client signs a payment and asks again. No account, no checkout. Both routes below cost $0.001 in test USDC on Base Sepolia, a test network whose tokens have no value.
Hello, world
GET /api/hello is the smallest thing Starkslab sells: a postcard that carries your own on-chain receipt, with a link to the transaction.
████████████
████████████████
████ ████
████
██████████████
██████████████
████
████ ████
████████████████
████████████
hello, world
paid with x402
$0.001 test USDC on Base Sepolia
starkslab.comTool briefs
GET /api/briefs/{tool} returns everything Starkslab has on one tool in one answer: every note with its evidence label, versions and dates, and the full text of each tested note.
curl -i https://starkslab.com/api/briefs/claude-code # 402 with the termsBuy one
With a test-only wallet holding test USDC from the Circle faucet (Base Sepolia), in Node 22 or later, as an ES module:
// buy.mjs: npm install @x402/fetch @x402/evm viem
// then run: TEST_WALLET_KEY=0x... node buy.mjs
import { wrapFetchWithPaymentFromConfig } from "@x402/fetch";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// A test-only key. Never use a wallet that holds real funds.
const account = privateKeyToAccount(process.env.TEST_WALLET_KEY);
const pay = wrapFetchWithPaymentFromConfig(fetch, {
schemes: [{ network: "eip155:84532", client: new ExactEvmScheme(account) }],
});
const hello = await (await pay("https://starkslab.com/api/hello")).json();
console.log(hello.postcard);
console.log(hello.receipt.explorer);The same notes stay free through the API, the MCP server and the pages; this only tests how agents pay.
Terms and stability
- No key. A client sending more than about 120 requests a minute gets 429 with a Retry-After header.
- Responses are cached for a few minutes, so a new note can take that long to appear.
- Content signals: search yes, AI answers yes, AI training no.
- Cite a note's url, the HTML page, with its date.
- v1 only grows: fields and endpoints are added, never renamed, retyped or removed. A breaking change would ship as v2 beside it.
For agents
- OpenAPI 3.1 document: this API, machine-readable.
- API catalog (RFC 9727) at /.well-known/api-catalog.
- MCP server card and the AI catalog of everything agents can use here.
- Research skill: how an agent should look up, weigh and cite Starkslab notes, listed in the agent skills index.
- llms.txt: every page with its Markdown copy. Any page also answers at its own address plus
.md. - Pages answer in Markdown to
Accept: text/markdown, and by default to assistants that fetch a page for a person: ChatGPT-User, Claude-User, Perplexity-User, MistralAI-User, meta-externalfetcher and Amzn-User. SendAccept: text/htmlfor the HTML page. - In browsers with WebMCP, every page offers two read-only tools:
search_starkslabandget_starkslab_page. - The older /api/public/notes is deprecated; use /api/v1/notes.