MCP.so
Sign In

Rust Docs MCP Server

@laptou

About Rust Docs MCP Server

No overview available yet

Basic information

Category

Memory & Knowledge

Runtime

node

Transports

stdio

Publisher

laptou

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "rust-docs-mcp-server-laptou": {
      "command": "bun",
      "args": [
        "run",
        "build"
      ]
    }
  }
}

Tools

7

Search for crates on docs.rs

Get documentation for a specific crate

Get type information for a specific item

Get feature flags for a crate

Get available versions for a crate

Get source code for a specific item

Search for symbols within a crate

Overview

What is Rust Docs MCP Server?

An MCP (Model Context Protocol) server that provides access to Rust documentation from docs.rs. It allows AI tools to search for documentation, type information, feature flags, version numbers, and symbol definitions/source code.

How to use Rust Docs MCP Server?

Clone the repository, install dependencies with bun install, build with bun run build, and run with bun run dev (development) or bun run start (built). Then configure any MCP client to connect to this server. The server exposes multiple tools such as search_crates, get_crate_documentation, and get_source_code.

Key features of Rust Docs MCP Server

  • Search for crates on docs.rs
  • Get documentation for specific crates and versions
  • Get type information (structs, enums, traits, etc.)
  • Get feature flags for crates
  • Get available versions for crates
  • Get source code for specific items

Use cases of Rust Docs MCP Server

  • Allow AI assistants to answer questions about Rust crate APIs
  • Retrieve accurate type definitions and feature flags for library usage
  • Help developers select the correct crate version for a project
  • Enable AI tools to fetch source code for debugging or learning
  • Support symbol search

Comments

More Memory & Knowledge MCP servers