@speakeasy-api/docs-mcp-core
v0.6.0
Published
Core retrieval and indexing primitives for docs-mcp: markdown chunking, hybrid search, and LanceDB integration
Maintainers
Keywords
Readme
@speakeasy-api/docs-mcp-core
Core retrieval and indexing primitives for Speakeasy Docs MCP: markdown chunking, hybrid search, and LanceDB integration.
Beta. Part of the docs-mcp monorepo.
What This Package Does
- AST-based markdown parsing and intelligent chunking (respects heading boundaries and code blocks)
- Hybrid search combining full-text search with semantic vector search via Reciprocal Rank Fusion
- LanceDB integration with memory-mapped IO for fast retrieval
- Embedding generation and caching (OpenAI or deterministic hash)
- Manifest resolution and metadata extraction from
.docs-mcp.jsonfiles
Installation
npm install @speakeasy-api/docs-mcp-coreUsage
This package is primarily consumed by @speakeasy-api/docs-mcp-server and @speakeasy-api/docs-mcp-cli. See the monorepo README for end-to-end usage.
