drio
Open app

📚 DocsFetcher MCP Server

Source

MCP Server to retrieve documentation for a package

Catalog onlyCatalog onlySTDIO

Overview

DocsFetcher MCP Server is a tool designed to retrieve documentation for various programming packages from multiple language ecosystems, making it accessible for large language models (LLMs) like Claude without the need for API keys.

To use the DocsFetcher MCP Server, you need to install it via Node.js, configure it in your development environment (Claude Desktop or Cursor IDE), and then run the server locally to fetch documentation by package name or URL.

  • Supports multiple programming languages including JavaScript, Python, Java, .NET, Ruby, PHP, Rust, Go, and Swift. - Fetches documentation for packages by name or URL. - Crawls documentation sites to extract comprehensive information including README, API docs, and code examples. - Provides structured data for LLM summarization and includes specialized prompts for documentation analysis. - No API key required, making it easy to integrate with existing tools.
  1. Retrieving documentation for a specific package in various programming languages.
  2. Summarizing library documentation for quick reference.
  3. Analyzing dependency errors in projects using specific packages.

Add to your AI client

Use these steps to connect 📚 DocsFetcher MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "package-documentation-mcp-cdugo": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-package-documentation-mcp-cdugo"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "package-documentation-mcp-cdugo": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-package-documentation-mcp-cdugo"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "package-documentation-mcp-cdugo": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-package-documentation-mcp-cdugo"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "package-documentation-mcp-cdugo": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-package-documentation-mcp-cdugo"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "package-documentation-mcp-cdugo": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-package-documentation-mcp-cdugo"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "package-documentation-mcp-cdugo": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-package-documentation-mcp-cdugo"
      ]
    }
  }
}

FAQ

Can I use DocsFetcher MCP Server without an API key?

Yes! It works natively without requiring any API keys.

What programming languages are supported?

It supports JavaScript, Python, Java, .NET, Ruby, PHP, Rust, Go, and Swift.

How do I run the server locally?

You can clone the repository, install the dependencies, and run the server using npm commands.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":1970,"uuid":"6132cc17-1203-46e0-abf4-afdb0bf3ea0e","name":"package-documentation-mcp","title":"📚 DocsFetcher MCP Server","description":"MCP Server to retrieve documentation for a package","avatar_url":"https://avatars.githubusercontent.com/u/54993517?v=4","created_at":"2025-03-05T07:35:29.027Z","updated_at":"2025-03-12T10:21:44.269Z","status":"created","author_name":"cdugo","author_avatar_url":"https://avatars.githubusercontent.com/u/54993517?v=4","tags":"[]","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/cdugo/package-documentation-mcp","target":"_self","content":"$29","summary":"$2a","img_url":"https://camo.githubusercontent.com/d5243c3d54f67945869b7ef4ec55735eb220d0d8fc8eb2ba9863108718d5fe4b/68747470733a2f2f736d6974686572792e61692f62616467652f40636475676f2f6d63702d6765742d646f6373","type":null,"metadata":"{\"star\":\"7\",\"license\":\"MIT license\",\"language\":\"JavaScript\",\"is_official\":false,\"latest_commit_time\":\"2025-03-13 17:50:00\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]