0
0xKoda/mcp-rust-docs
An MCP to retrieve rust crate documentation for LLM's
View on GitHub ↗Link checked 2026-11-12 · automated check blocked (HTTP 429), status unconfirmed
Install & config
Client config (built from the install command this repo gives)
{
"mcpServers": {
"0xkoda-mcp-rust-docs": {
"command": "npx",
"args": ["@modelcontextprotocol/inspector"]
}
}
}Parsed from the README we fetched on 2026-11-04; we have not executed it.
command/args come from the install command the repository states. When it is ambiguous, the project README wins.
VS Code (.vscode/mcp.json - the key is servers)
{
"servers": {
"0xkoda-mcp-rust-docs": {
"command": "npx",
"args": ["@modelcontextprotocol/inspector"]
}
}
}Same server, but VS Code keeps it under <code>servers</code>.
Claude Code (command line)
claude mcp add --transport stdio 0xkoda-mcp-rust-docs -- npx @modelcontextprotocol/inspector
Claude Code does not read a config file; add the server with this command.
Key names differ by client: Clients & CLI
- Source
- collected from the abordage/awesome-mcp list · type: MCP server
- Harvest history
- first seen 2026-11-05 · last seen 2026-11-14 · seen 10× · listed by 10 sources
- Score
- score 1,003 · 10 sources · mcp
- Install
npx @modelcontextprotocol/inspector
FAQ (answers come from our records)
How do I install it?
The repository provides this install command:
npx @modelcontextprotocol/inspector. It comes from the repository itself; we cannot guarantee it runs as-is in your client.Who is it for?
We filed it under these tags: MCP 服务. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
first catalogued 2026-11-05;last seen 2026-11-14。There is no official certification or quality rating here — we record sources and dates only.
# MCP Rust Documentation Server
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
This is a Model Context Protocol (MCP) server that fetches and returns documentation for Rust crates providing essential context for LLM's when working with Rust code.
## Features
Fetches documentation for any Rust crate available on docs.rs
Strips HTML and formats the content for readability
Limits response size to prevent overwhelming the client
Uses the latest MCP SDK (v1.6.1)
## Installation
bash
# Clone the repository
git https://github.com/0xKoda/mcp-rust-docs.git
cd mcp-rust-docs
# Install dependencies
npm install
### Prerequisites
Node.js
npm
## Usage
bash
# Start the server directly
npm start
## Integrating with AI Assistants
### Claude Desktop
Add the following to your Claude Desktop configuration file (claudedesktopconfig.json):
json
"mcpServers": {
"rust-docs": {
"command": "node",
"args": ["/absolute/path/to/index.js"]
Replace /absolute/path/to/index.js with the absolute path to the index.js file in this repository.
## Example Usage
Once the server is running and configured with your AI assistant, you can ask questions like:
"Look up the documentation for the 'tokio' crate"
"What features does the 'serde' crate provide?"
"Show me the documentation for 'ratatui'"
"Can you explain the main modules in the 'axum' crate?"
The AI will use the lookupcratedocs tool to fetch and display the relevant documentation.
## Testing with MCP Inspector
You can test this server using the MCP Inspector:
bash
npx @modelcontextprotocol/inspector
Then select the "Connect to a local server" option and follow the prompts.
## How It Works
This server implements a single MCP tool called lookupcratedocs that:
1. Takes a Rust crate name as input (optional, defaults to 'tokio' if not provided)
2. Fetches the documentation from docs.rs
3. Converts the HTML to plain text using the html-to-text library
4. Truncates the content if it exceeds 8000 characters
5. Returns the formatted documentation in the proper MCP response format
## SDK Implementation Notes
This server uses the MCP SDK with carefully structured import paths. If you're modifying the code, be aware that:
1. The SDK requires importing from specific paths (e.g., @modelcontextprotocol/sdk/server/mcp.js)
## Features
Fetches documentation for any Rust crate available on docs.rs
Strips HTML and formats the content for readability
Limits response size to prevent overwhelming the client
Uses the latest MCP SDK (v1.6.1)
## Installation
bash
# Clone the repository
git https://github.com/0xKoda/mcp-rust-docs.git
cd mcp-rust-docs
# Install dependencies
npm install
### Prerequisites
Node.js
npm
## Usage
bash
# Start the server directly
npm start
## Integrating with AI Assistants
### Claude Desktop
Add the following to your Claude Desktop configuration file (claudedesktopconfig.json):
json
"mcpServers": {
"rust-docs": {
"command": "node",
"args": ["/absolute/path/to/index.js"]
Replace /absolute/path/to/index.js with the absolute path to the index.js file in this repository.
## Example Usage
Once the server is running and configured with your AI assistant, you can ask questions like:
"Look up the documentation for the 'tokio' crate"
"What features does the 'serde' crate provide?"
"Show me the documentation for 'ratatui'"
"Can you explain the main modules in the 'axum' crate?"
The AI will use the lookupcratedocs tool to fetch and display the relevant documentation.
## Testing with MCP Inspector
You can test this server using the MCP Inspector:
bash
npx @modelcontextprotocol/inspector
Then select the "Connect to a local server" option and follow the prompts.
## How It Works
This server implements a single MCP tool called lookupcratedocs that:
1. Takes a Rust crate name as input (optional, defaults to 'tokio' if not provided)
2. Fetches the documentation from docs.rs
3. Converts the HTML to plain text using the html-to-text library
4. Truncates the content if it exceeds 8000 characters
5. Returns the formatted documentation in the proper MCP response format
## SDK Implementation Notes
This server uses the MCP SDK with carefully structured import paths. If you're modifying the code, be aware that:
1. The SDK requires importing from specific paths (e.g., @modelcontextprotocol/sdk/server/mcp.js)
Listed badge (optional)
Copy this line into the README if you want the listing mark. Optional, and it does not affect being listed.
[](https://anclum.com/en/s/0xkoda-mcp-rust-docs/)
- Source
- awesome · https://github.com/0xKoda/mcp-rust-docs
- Browse by field
- MCP servers
- Listed by
- 10 independent sources
- added
- today
More like this
Filed under
Every tag opens the full list for that filter. Counts are the live catalogue figures.