Skip to content

Library Docs — Context7 functionality, local and unlimited

Choose a tag to compare

@Korrnals Korrnals released this 15 Sep 12:43
· 9 commits to main since this release

v0.10.0 — Library Docs

Context7 functionality — local and unlimited. A live scouting pass through Bathys showed Context7 keeps its parsing/crawling engines private, its free tier is capped at ~1,000 requests/month, and there is no offline mode. Our answer: documentation sources are open by nature, and our pipeline already contains the "parsing engine" — two-tier extraction + BM25 distillation + source caching.

Added

  • library_docs(library, query) — the 5th MCP tool: up-to-date library documentation fetched from the primary source, distilled against your question. Resolution: seed index (docs_index.json, 30+ libraries: react, fastapi, pytorch, kubernetes, searxng, crawl4ai…) → live web_search for "official documentation" → GitHub repo slug (owner/repo). Follow-up questions on the same library are instant, offline and free — the source cache is exactly what Context7 does not have. Live: trio resolved via search (triodocs.org), fastapi from the index; 153k characters distilled into a query-focused digest.
  • Initiative write-up docs/product/library-docs-initiative.md: architecture, an honest comparison table against Context7 (no quotas / offline / any docs site), phases 2–3 (version pinning via GitHub tags, subpage follow-loading, a self-growing index).
  • Phase 2 groundwork: the Phase 1 limitation is stated honestly — a docs landing page is often pure navigation; completeness arrives with follow-loading of relevant subpages.

Install: pip install bathys==0.10.0
Changelog: CHANGELOG.md