Price Per TokenPrice Per Token

DocsFetcher

by cdugo

GitHub 15 17 uses
0

About

DocsFetcher retrieves comprehensive documentation for software packages across multiple programming languages. It crawls documentation sites to extract README files, API documentation, code examples, and repository information, then structures the data for efficient LLM consumption. Key features of DocsFetcher: - Multi-language support including JavaScript/npm, Python, Java, .NET, Ruby, PHP, Rust, Go, and Swift - Flexible package lookup by package name or direct URL input - Intelligent crawling of documentation sites to gather comprehensive information - Extraction of structured data from READMEs, API docs, code examples, and repository metadata - Specialized prompts for documentation summarization and dependency error analysis - No API key required — works natively with Claude Desktop and Cursor IDE

README

📚 DocsFetcher MCP Server

[](https://smithery.ai/server/@cdugo/mcp-get-docs) [](https://www.npmjs.com/package/@cdugo/docs-fetcher-mcp) [](https://www.npmjs.com/package/@cdugo/docs-fetcher-mcp)

An MCP server that fetches package documentation from multiple language ecosystems for LLMs like Claude without requiring API keys.

✨ Features

  • 🌐 Supports multiple programming languages (JavaScript, Python, Java, .NET, Ruby, PHP, Rust, Go, Swift)
  • 📦 Fetches documentation for packages by name or URL
  • 🔍 Crawls documentation sites to extract comprehensive information
  • 📄 Extracts README, API docs, code examples, and repository info
  • 🧠 Provides structured data for LLM summarization
  • 💬 Includes specialized prompts for documentation analysis
  • 🔑 No API key required - works natively with Claude Desktop and Cursor IDE
  • 🚀 Installation

    Claude Desktop

    1. Open Claude Desktop → Settings → Developer 2. Click "Edit Config" and add:

    {
      "mcpServers": {
        "docsFetcher": {
          "command": "npx",
          "args": [
            "-y",
            "@smithery/cli@latest",
            "run",
            "@cdugo/mcp-get-docs",
            "--config",
            "'{}'"
          ]
        }
      }
    }
    

    Cursor IDE Configuration

    1. Open Cursor IDE → Settings → MCP -> Add New MCP Servier 2. Add:

        Name: docsFetcher
        Command: npx -y @smithery/cli@latest run @cdugo/mcp-get-docs --config "{}"
    

    #### Prerequisites

  • 📋 Node.js 18 or later
  • 🏃‍♂️ Running Locally

    git clone https://github.com/cdugo/package-documentation-mcp
    cd package-documentation-mcp
    npm install
    npm run build
    

    Once installed, you can run the server locally with:

    # From the project root directory
    npm start
    

    For development with auto-restart on file changes:

    npm run dev
    

    The server will start on the default port (usually 3000). You should see output like:

    🚀 DocsFetcher MCP Server running!
    📋 Ready to fetch documentation
    

    To specify a custom port:

    PORT=8080 npm start
    

    🛠️ Available Tools

    1. fetch-url-docs: 🔗 Fetch docs from a specific URL 2. fetch-package-docs: 📦 Fetch docs for a package with optional language specification 3. fetch-library-docs: 🧠 Smart tool that works with either package name or URL 4. fetch-multilingual-docs: 🌍 Fetch docs for a package across multiple language ecosystems

    📝 Available Prompts

    1. summarize-library-docs: 📚 Create a comprehensive library summary 2. explain-dependency-error: 🐛 Generate dependency error explanations

    💡 Example Queries

    Basic Library Information

  • "What is Express.js and how do I use it?"
  • "Tell me about the React library"
  • "How do I use requests in Python?"
  • Multi-language Support

  • "Show me documentation for lodash in JavaScript"
  • "Compare pandas in Python and data.table in R"
  • Using Tools

  • "@fetch-package-docs with packageName='express' and language='javascript'"
  • "@fetch-package-docs with packageName='requests' and language='python'"
  • "@fetch-multilingual-docs with packageName='http' and languages=['javascript', 'python', 'rust']"
  • Using Prompts

  • "@summarize-library-docs with libraryName='express'"
  • "@explain-dependency-error with packageName='dotenv'"
  • ❓ Troubleshooting

    Local Installation

  • Server not showing up: ✅ Verify absolute path in configuration
  • Connection errors: 🔄 Restart Claude Desktop or Cursor IDE
  • Fetch failures: ⚠️ Some packages may have non-standard documentation
  • Language support: 🌐 If a language isn't working, try using the package's direct URL
  • 📄 License

    MIT

    Related MCP Servers

    AI Research Assistant

    AI Research Assistant

    hamid-vakilzadeh

    AI Research Assistant provides comprehensive access to millions of academic papers through the Semantic Scholar and arXiv databases. This MCP server enables AI coding assistants to perform intelligent literature searches, citation network analysis, and paper content extraction without requiring an API key. Key features include: - Advanced paper search with multi-filter support by year ranges, citation thresholds, field of study, and publication type - Title matching with confidence scoring for finding specific papers - Batch operations supporting up to 500 papers per request - Citation analysis and network exploration for understanding research relationships - Full-text PDF extraction from arXiv and Wiley open-access content (Wiley TDM token required for institutional access) - Rate limits of 100 requests per 5 minutes with options to request higher limits through Semantic Scholar

    Web & Search
    12 8
    Linkup

    Linkup

    LinkupPlatform

    Linkup is a real-time web search and content extraction service that enables AI assistants to search the web and retrieve information from trusted sources. It provides source-backed answers with citations, making it ideal for fact-checking, news gathering, and research tasks. Key features of Linkup: - Real-time web search using natural language queries to find current information, news, and data - Page fetching to extract and read content from any webpage URL - Search depth modes: Standard for direct-answer queries and Deep for complex research across multiple sources - Source-backed results with citations and context from relevant, trustworthy websites - JavaScript rendering support for accessing dynamic content on JavaScript-heavy pages

    Web & Search
    2 24
    Math-MCP

    Math-MCP

    EthanHenrickson

    Math-MCP is a computation server that enables Large Language Models (LLMs) to perform accurate numerical calculations through the Model Context Protocol. It provides precise mathematical operations via a simple API to overcome LLM limitations in arithmetic and statistical reasoning. Key features of Math-MCP: - Basic arithmetic operations: addition, subtraction, multiplication, division, modulo, and bulk summation - Statistical analysis functions: mean, median, mode, minimum, and maximum calculations - Rounding utilities: floor, ceiling, and nearest integer rounding - Trigonometric functions: sine, cosine, tangent, and their inverses with degrees and radians conversion support

    Developer Tools
    22 81