Skip to main content

🐲📚 Librovore - CLI and MCP server for consuming documentation.

Project description

Package Version PyPI - Status Tests Status Code Coverage Percentage Project License Python Versions

🐲📚 Documentation Search Engine - An intelligent documentation search and extraction tool that provides both a command-line interface for humans and an MCP (Model Context Protocol) server for AI agents. Search across Sphinx and MkDocs sites with fuzzy matching, extract clean markdown content, and integrate seamlessly with AI development workflows.

Key Features ⭐

  • 🔍 Universal Search: Fuzzy, exact, and regex search across documentation inventories and full content

  • 🤖 AI Agent Ready: Built-in MCP server for seamless integration with Claude Code and other AI tools

  • 📖 Multi-Format Support: Works with Sphinx (Furo, ReadTheDocs themes) and MkDocs (Material theme) sites

  • 🚀 High Performance: In-memory caching with sub-second response times for repeated queries

  • 🧹 Clean Output: High-quality HTML-to-Markdown conversion preserving code blocks and formatting

  • 🎯 Auto-Detection: Automatically identifies documentation type without manual configuration

  • 🔌 Extensible: Plugin architecture supports additional documentation formats via extension manager

Installation 📦

Method: MCP Server Configuration

Add as an MCP server in your AI client configuration. For example, in Claude Code’s MCP configuration:

{
  "mcpServers": {
    "librovore": {
      "command": "uvx",
      "args": [
        "librovore",
        "serve"
      ]
    }
  }
}

Method: Download Standalone Executable

Download the latest standalone executable for your platform from GitHub Releases. These executables have no dependencies and work out of the box.

Method: Install Executable Script

Install via the uv tool command:

uv tool install librovore

or, run directly with uvx:

uvx librovore

Or, install via pipx:

pipx install librovore

Method: Install Python Package

Install via uv pip command:

uv pip install librovore

Or, install via pip:

pip install librovore

Examples 💡

Command-Line Interface

Search Python documentation for ‘pathlib’:

librovore query-inventory https://docs.python.org/3 pathlib

Search content with fuzzy matching:

librovore query-content https://fastapi.tiangolo.com "dependency injection"

MCP Server for AI Agents

Start the MCP server for AI agent integration:

librovore serve

The server provides tools for AI agents to search documentation object inventories, search full documentation content with snippets, and get overviews of available documentation.

Use Cases

  • AI Development: Enable Claude Code and other AI agents to search technical documentation

  • Documentation Research: Quickly find API references and usage examples across multiple sites

  • Development Workflows: Access documentation programmatically during development

  • Cross-Reference Search: Find related concepts across different documentation sources

About the Name 📝

The name “librovore” draws from Latin roots meaning “book-devourer” - a fitting metaphor for a tool that consumes and digests documentation across multiple formats:

  • 📚 Anglicized Latin libro- (“book”) + -vore (“devouring”)

  • 🐲 The “Book Wyrm” - traditionally “librovore” is a synonym for “bookworm”, but Claude’s choice of the dragon emoji 🐲 rather than a worm emoji transformed our humble bookworm into a legendary wyrm that devours knowledge and makes it accessible

  • 📖 Both “worm” and “wyrm” share the same Old English origins, so the linguistic evolution fits perfectly

Contribution 🤝

Contribution to this project is welcome! However, it must follow the code of conduct for the project.

Please file bug reports and feature requests in the issue tracker or submit pull requests to improve the source code or documentation.

For development guidance and standards, please see the development guide.

Additional Indicia

GitHub last commit Copier Hatch pre-commit Pyright Ruff PyPI - Implementation PyPI - Wheel

Other Projects by This Author 🌟

  • python-absence (absence on PyPI)

    🕳️ A Python library package which provides a sentinel for absent values - a falsey, immutable singleton that represents the absence of a value in contexts where None or False may be valid values.

  • python-accretive (accretive on PyPI)

    🌌 A Python library package which provides accretive data structures - collections which can grow but never shrink.

  • python-classcore (classcore on PyPI)

    🏭 A Python library package which provides foundational class factories and decorators for providing classes with attributes immutability and concealment and other custom behaviors.

  • python-dynadoc (dynadoc on PyPI)

    📝 A Python library package which bridges the gap between rich annotations and automatic documentation generation with configurable renderers and support for reusable fragments.

  • python-falsifier (falsifier on PyPI)

    🎭 A very simple Python library package which provides a base class for falsey objects - objects that evaluate to False in boolean contexts.

  • python-frigid (frigid on PyPI)

    🔒 A Python library package which provides immutable data structures - collections which cannot be modified after creation.

  • python-icecream-truck (icecream-truck on PyPI)

    🍦 Flavorful Debugging - A Python library which enhances the powerful and well-known icecream package with flavored traces, configuration hierarchies, customized outputs, ready-made recipes, and more.

  • python-mimeogram (mimeogram on PyPI)

    📨 A command-line tool for exchanging collections of files with Large Language Models - bundle multiple files into a single clipboard-ready document while preserving directory structure and metadata… good for code reviews, project sharing, and LLM interactions.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

librovore-1.0a6.tar.gz (74.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

librovore-1.0a6-py3-none-any.whl (124.4 kB view details)

Uploaded Python 3

File details

Details for the file librovore-1.0a6.tar.gz.

File metadata

  • Download URL: librovore-1.0a6.tar.gz
  • Upload date:
  • Size: 74.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for librovore-1.0a6.tar.gz
Algorithm Hash digest
SHA256 b0e62210d0f3bc6f0d36d36ae0ac4cbcbc23015e134c34024410a344bfc29e34
MD5 c1637879911223d362b764b022c530c1
BLAKE2b-256 86812a07567a541e8431b4575f6e0917028342b660fe26ab0c2764ec4a94133e

See more details on using hashes here.

Provenance

The following attestation bundles were made for librovore-1.0a6.tar.gz:

Publisher: releaser.yaml on emcd/python-librovore

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file librovore-1.0a6-py3-none-any.whl.

File metadata

  • Download URL: librovore-1.0a6-py3-none-any.whl
  • Upload date:
  • Size: 124.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for librovore-1.0a6-py3-none-any.whl
Algorithm Hash digest
SHA256 2a77fa4c128efd3696b2031dba4af57665019c584434a4dad0aa3ccafc9fbc30
MD5 a29e9bff306c84790c6addf16e4268a6
BLAKE2b-256 ab48e2b68e69a2a7189d3733c5a17afa184bff8b8a2f54d13a02c57b8ff42d74

See more details on using hashes here.

Provenance

The following attestation bundles were made for librovore-1.0a6-py3-none-any.whl:

Publisher: releaser.yaml on emcd/python-librovore

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page