| Crates.io | rustdoc-mcp |
| lib.rs | rustdoc-mcp |
| version | 0.1.4 |
| created_at | 2025-07-25 20:36:41.124706+00 |
| updated_at | 2025-09-05 21:49:53.442955+00 |
| description | mcp server for rustdocs |
| homepage | |
| repository | https://github.com/jbr/rustdoc-mcp |
| max_upload_size | |
| id | 1768400 |
| size | 287,441 |
A Model Context Protocol server for rust documentation
Note: This crate requires nightly to be installed, since it uses unstable rustdoc json output format.
Additionally, if you want to allow your MCP users to reference std, core, alloc, proc_macro,
and test, you'll need to rustup component add rust-docs-json. This is optional.
set-working-directory Set the working context path for a session
get-item Get detailed information about a specific item or list items in a module/crate
list-crates List available crates in the workspace, including dependencies
search Search for items within a specific crate
$ cargo install rustdoc-mcp
Add this to your MCP configuration JSON file:
{
"mcpServers": {
"rustdocs": {
"command": "/path/to/rustdoc-mcp/rustdoc-mcp",
"args": ["serve"]
}
}
}