API Doc Mcp avatar
API Doc Mcp

Pricing

Pay per usage

Go to Apify Store
API Doc Mcp

API Doc Mcp

MCP server that scrapes any documentation website and makes it searchable for AI assistants. Configure URLs, then search docs, find code examples, and look up API references directly from Claude.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

James WU

James WU

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

1

Monthly active users

a day ago

Last modified

Share

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

ToolDescription
list_available_docsList all documentation pages
search_docsSearch documentation with ranked results
get_docs_by_idGet full content of a specific page
get_api_referenceLook up API reference for functions/classes
get_code_exampleFind code examples for features

How to Use

1. Configure Your Documentation Sources

When running the Actor, provide:

InputDescriptionDefault
Start URLsDocumentation pages to scrapeApify SDK docs
Max PagesMaximum 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.