Library Context Protocol

lcp (Library Context Protocol) is primarly a protocol designed to solve the problem of AI agents not having access to up-to-date library documentation, which leads to hallucinations and inaccurate code generation. The LCP SDK provides tools to scan Python packages, extract API information, and generate LCP-compliant JSON manifests. It also includes features for analyzing documentation coverage and generating missing docstrings using AI.
-
Get Started
Install LCP and generate your first manifest in 60 seconds.
-
MCP Server
Expose LCP manifests to AI agents via the Model Context Protocol.
-
LCP v1 Specification
Document structure, symbols, signatures, types, and semantics.