Rust Docs Server

by vexxvakan

Not rated
GitHub

About

Fetches Rust crate documentation from docs.rs using the rustdoc JSON API.

Details

Author
vexxvakan
Categories
Developer Tools, Knowledge Base

Setup

Install Rust Docs Server in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/vexxvakan/mcp-docsrs

Follow the installation instructions in the repository README, then restart your MCP client.

AModel Context Protocol(MCP) server forfetching Rust crate documentationfromdocs.rs

Features•Getting Started•Tools•Contributing•Acknowledgments•License

- Find New Crates- Search crates by exact name, partial match, or fuzzy query to discover relevant libraries
- Inspect Crate Symbols- Inspect structs, traits, functions, and any other symbol inside a crate
- Review Crate Summaries- Get a crate overview with its structure and public API surface
- Read Full Documentation- Read crate-level documentation

Download the latest release for your platform from theReleasespage:

- x64/AMD64 (GLIBC):mcp-docsrs-linux-x64- For Ubuntu, Debian, Fedora, etc.
- ARM64 (GLIBC):mcp-docsrs-linux-arm64- For ARM64 systems, AWS Graviton
- x64/AMD64 (MUSL):mcp-docsrs-linux-x64-musl- For Alpine Linux, Docker containers (requires libstdc++)
- ARM64 (MUSL):mcp-docsrs-linux-arm64-musl- For Alpine on ARM64, minimal containers (requires libstdc++)

- Intel:mcp-docsrs-darwin-x64- For Intel-based Macs
- Apple Silicon:mcp-docsrs-darwin-arm64- For M-series Macs

- x64:mcp-docsrs-windows-x64.exe- For 64-bit Windows

Pull and run the latest multi-arch image (supports both x64 and ARM64):

# Pull the latest image docker pull ghcr.io/vexxvakan/mcp-docsrs:latest # Run the server docker run --rm -i ghcr.io/vexxvakan/mcp-docsrs:latest # Run with custom configuration docker run --rm -i ghcr.io/vexxvakan/mcp-docsrs:latest \ --cache-ttl 7200000 --max-cache-size 200

- latest- Latest stable release (multi-arch)
- v1.0.0- Specific version (multi-arch)

After adding the server, restart the client if it does not discover the tools immediately.

Configure the server using environment variables or command-line arguments:

Retrieves a crate overview with its structure and public API surface from docs.rs.

{ "tool": "crate_lookup", "arguments": { "crateName": "tokio", "version": "1.48.0" } }

Retrieves the crate-level documentation page from docs.rs.

{ "tool": "crate_docs", "arguments": { "crateName": "serde" } }

Searches crates.io for matching crates and returns ranked results using fuzzy and partial name matching.

{ "tool": "crate_find", "arguments": { "query": "rustdoc json", "limit": 5 } }

Retrieves structured symbol metadata for one symbol inside a crate.

{ "tool": "symbol_lookup", "arguments": { "crateName": "tokio", "symbolType": "struct", "symbolname": "runtime::Runtime" } }

Retrieves the full documentation body for one symbol inside a crate.

{ "tool": "symbol_docs", "arguments": { "crateName": "tokio", "symbolType": "struct", "symbolname": "runtime::Runtime" } }

- docs.rsfor providing the Rust documentation API
-
Model Context Protocolfor the MCP specification
- The Rust community for excellent documentation standards

This project is licensed under the Apache License 2.0. SeeLICENSEfor the license text andNOTICEfor attribution details.

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

One shared context layer for AI agents and humans — live API specs, DB schemas, and versioned contracts across repos so every agent and teammate works from the same source of truth.

Local stdio MCP server that lets AI coding agents read and maintain structured architecture, rules, and decisions directly from your repository.

Official Context7 MCP server that brings up-to-date, version-specific library documentation and code examples into AI coding prompts.

Remote, no-auth MCP server providing AI-powered codebase context and answers

Create and read feature flags, review experiments, generate flag types, search docs, and interact with GrowthBook's feature flagging and experimentation platform.

Official MCP server for Stimulsoft Reports & Dashboards documentation. Semantic search across FAQ, Programming Manual, Server/User Manual, and Server/Cloud API for .NET, WPF, Avalonia, WEB, Blazor, Angular, React, JS, PHP, Java, and Python platforms.

Search Apple's Developer Documentation with smart search and wildcard support.

Access documentation from the Awesome-llms-txt repository directly in your conversations.

Connect AI tools like Cursor and VS Code to your product documentation using the Biel.ai platform.

MCP server that ingests project docs once and lets Claude search by meaning instead of reading everything — saving tokens on large codebases

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.