{"service":"docs","summary":"Up-to-date, version-pinned library/API documentation & code-snippet retrieval for coding agents (context7-class), x402-native. Per-call live fetch from fixed keyless public registries; NO LLM, NO bulk mirror.","ecosystems":[{"key":"npm","aliases":["javascript","js","node","nodejs"],"registry_host":"registry.npmjs.org"},{"key":"pypi","aliases":["pip","py","python"],"registry_host":"pypi.org"},{"key":"crates","aliases":["cargo","crates.io","rs","rust"],"registry_host":"crates.io"},{"key":"github","aliases":["gh","git"],"registry_host":"api.github.com"}],"sources":[{"key":"pypi","name":"PyPI JSON API","host":"pypi.org","kind":"package-registry","licence":"per-package (README = package LICENSE)","attribution":"PyPI (pypi.org) — Python Software Foundation.","note":"info.description = README markdown; info.version, license, project_urls, releases version list."},{"key":"npm","name":"npm registry","host":"registry.npmjs.org","kind":"package-registry","licence":"per-package (README = package LICENSE)","attribution":"npm public registry (registry.npmjs.org).","note":"dist-tags/versions/license/repository; top-level readme may be empty -> per-version or GitHub fallback."},{"key":"crates","name":"crates.io API","host":"crates.io","kind":"package-registry","licence":"per-crate (README = crate LICENSE)","attribution":"crates.io (crates.io) — Rust Foundation.","note":"crate.newest_version/max_stable_version, homepage, documentation(docs.rs), repository; per-version readme."},{"key":"github","name":"GitHub REST API","host":"api.github.com","kind":"source-repo","licence":"per-repo (README = repo LICENSE)","attribution":"GitHub REST API (github.com).","note":"version-pinned raw README at a tag + releases (changelog). Optional token lifts the rate limit."},{"key":"llms_txt","name":"llms.txt (llmstxt.org)","host":"curated allowlist","kind":"agent-doc-index","licence":"published by the site FOR agents","attribution":"Each doc-site's own /llms.txt (llmstxt.org convention).","note":"OPTIONAL enrichment from a curated host allowlist; per-site optional (many 404 -> graceful)."}],"llms_txt":{"convention":"llmstxt.org","paths":["/llms.txt","/llms-full.txt"],"curated_hosts":["ai-sdk.dev","docs.anthropic.com","docs.astro.build","docs.cursor.com","docs.expo.dev","docs.perplexity.ai","docs.stripe.com","hono.dev","modelcontextprotocol.io","nextjs.org","sdk.vercel.ai","svelte.dev","tailwindcss.com","www.prisma.io","zod.dev"],"note":"OPTIONAL enrichment; per-site optional (many hosts 404 -> graceful)."},"caps":{"doc_bytes":8000,"snippet_bytes":2000,"max_snippets":6,"max_versions_listed":30,"max_changelog_releases":20},"licence_policy":"Documentation metadata + minimal provenance-cited example slices only (byte-capped, honest truncated flag); whole documents are NOT rehosted. README/doc content is redistributed under each package's own open-source licence with attribution; llms.txt is published by the site for agent consumption. robots respected; no paywall bypass.","methodology":"Resolve package identity (latest + requested version, license, repo/homepage/doc URLs, version list) -> section the README/llms.txt by the topic markdown heading -> extract fenced code blocks -> diff GitHub release notes between versions. Every slice carries a provenance {source_url, source, version} citation. Deterministic, no LLM.","moat":"x402-native per-call USDC (no account/subscription), any package + long-tail GitHub repo with no pre-indexing, exact per-version pinning + changelog delta.","not_advice":"Docs are redistributed under each package's own OSS licence with attribution."}