Sponsored by Deepsite.site

Windows Crate Docs Search MCP

Created By
preludeorg8 months ago
MCP server that allows searching the Rust windows crate API documentation
Content

Windows Crate Docs Search MCP

This project provides a Claude Desktop MCP server that allows searching the Rust windows crate API documentation hosted at microsoft.github.io/windows-docs-rs.

It uses Playwright to interact with the documentation website's search functionality and the features table.

Features

  • Search Windows API: Use the search_windows_api tool to find functions, structs, enums, etc., within the windows crate docs.
  • Get Documentation: Retrieve detailed documentation for exact matches, including description, signature, and the required Cargo feature (best effort).
  • Find Related Items: List related API items found during the search.

Usage

This package requires Playwright browsers to be installed. The server attempts to install the default browser (chromium) automatically on the first run. You can skip this by setting the MCP_SKIP_PLAYWRIGHT_INSTALL environment variable.

Running the MCP Server

Using uvx:

The simplest way to run the server after installation is using uvx:

uvx windows-rs-mcp

Running Locally with uv:

If you have cloned the repository, you can run the server directly using uv run from the project directory:

# Navigate to the project root directory
# cd /path/to/windows-rs-mcp  (Linux/macOS)
# cd C:\path\to\your\project\windows-rs-mcp (Windows)

# Run the server
uv run windows-rs-mcp

Configuring Claude Desktop

To use this MCP with Claude Desktop, add the following configuration to your Claude Desktop settings:

Option 1: Using uvx (Recommended)

{
  "mcpServers": {
    "windows-docs": {
      "command": "uvx",
      "args": [
        "windows-rs-mcp"
      ]
    }
  }
}

Option 2: Using uv run (For local source)

Make sure to replace the placeholder path in args with the actual absolute path to your project directory.

{
  "mcpServers": {
    "windows-docs": {
      "command": "uv",
      "args": [
        "--directory",
        "C:\\path\\to\\your\\project\\windows-rs-mcp", // <-- Replace with your path
        "run",
        "windows-rs-mcp"
      ]
    }
  }
}

After configuring, restart Claude Desktop. You should then be able to use the search_windows_api tool.

Configuring Cursor

Open .cursor/mcp.json and add the MCP server

{
  "mcpServers": {
    "windows-rs-mcp": {
      "command": "uvx",
      "args": ["windows-rs-mcp"]
    }
  }
}

Environment Variables

  • MCP_SKIP_PLAYWRIGHT_INSTALL: Set to true, 1, or yes to skip the automatic Playwright browser installation check.
  • MCP_PLAYWRIGHT_BROWSER: Specifies the browser Playwright should install (defaults to chromium). Other options include firefox and webkit.
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
WindsurfThe new purpose-built IDE to harness magic
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
DeepChatYour AI Partner on Desktop
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
Serper MCP ServerA Serper MCP Server
Tavily Mcp
Amap Maps高德地图官方 MCP Server
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
CursorThe AI Code Editor
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
ChatWiseThe second fastest AI chatbot™
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright McpPlaywright MCP server