# lockdoc MCP server

> Provides coding agents with precise API documentation for Rust dependencies based on the exact versions and features in a project's Cargo.lock.

- Repository: https://github.com/edg-l/lockdoc
- Page: https://hostedmcp.org/servers/edg-l/lockdoc
- Transport: —
- Stars: 4
- License: Apache-2.0

## Tools (3)

- `item`
- `search`
- `deps`

## FAQ

### Does lockdoc modify my project's files?

No, it builds documentation in its own target directory under ~/.cache/lockdoc and uses --locked to ensure Cargo.lock is never rewritten.

### What toolchain is required to run lockdoc?

It requires a specific nightly toolchain because rustdoc's JSON output is only available in nightly versions.

### Does lockdoc cover the Rust standard library?

No, it only builds documentation for the project's direct dependencies.

### How does lockdoc handle re-exports and globs?

Paths resolve the same way the use keyword does, allowing it to find structs through re-exports and report their original crate and version.
