Documentation MCP Server

Documentation MCP Server

Scrapes and indexes documentation websites to provide AI assistants with searchable access to documentation content, API references, and code examples through configurable URL crawling.

Category
Visit Server

README

Documentation MCP Server

An MCP server that provides AI assistants with searchable access to any documentation you configure. Simply provide the URLs you want scraped, and your AI assistant can search, browse, and retrieve documentation content.

What It Does

This Actor scrapes documentation websites and makes them available to AI assistants (like Claude) through the Model Context Protocol (MCP). Your AI can then:

  • Search through all your documentation
  • Get full content of specific pages
  • Find code examples
  • Look up API references

Available Tools

Tool Description
list_available_docs List all documentation pages
search_docs Search documentation with ranked results
get_docs_by_id Get full content of a specific page
get_api_reference Look up API reference for functions/classes
get_code_example Find code examples for features

How to Use

1. Configure Your Documentation Sources

When running the Actor, provide:

Input Description Default
Start URLs Documentation pages to scrape Apify SDK docs
Max Pages Maximum pages to scrape (1-1000) 100

Example input:

{
  "startUrls": [
    { "url": "https://docs.example.com/getting-started" },
    { "url": "https://docs.example.com/api-reference" }
  ],
  "maxPages": 200
}

The Actor will automatically crawl all pages under those URLs.

2. Run the Actor

Run the Actor with your configured documentation URLs. Once it finishes scraping, check the Output tab for:

  • MCP Server URL - Your unique endpoint
  • Claude CLI Command - Ready-to-copy command to add the MCP server

3. Connect to Claude Code

Copy the command from the Output tab, which looks like:

claude mcp add api-docs https://<YOUR_CONTAINER_URL>/mcp --transport http --header "Authorization: Bearer <YOUR_APIFY_TOKEN>"

Replace <YOUR_APIFY_TOKEN> with your API token from: https://console.apify.com/account/integrations

4. Use It

Once connected, your AI assistant can search and retrieve documentation. Try asking things like:

  • "What documentation pages are available?"
  • "Search the docs for authentication"
  • "Show me code examples for the crawler"

Example Configurations

Next.js Documentation

{
  "startUrls": [{ "url": "https://nextjs.org/docs" }],
  "maxPages": 200
}

Multiple Documentation Sites

{
  "startUrls": [
    { "url": "https://docs.python.org/3/" },
    { "url": "https://numpy.org/doc/" }
  ],
  "maxPages": 500
}

Refreshing Documentation

To update the cached documentation, send a POST request to /refresh-docs on the Actor's URL.

Pricing

This Actor uses pay-per-event pricing. You're charged for each tool call made by your AI assistant.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured