MCP Documentation Hunter
by bmerlyns
Enhance your coding assistants with up to date documentation of the frameworks or codebases you use. Actor to be called via MCP and provide realtime d...
Opens on Apify.com
About MCP Documentation Hunter
Enhance your coding assistants with up to date documentation of the frameworks or codebases you use. Actor to be called via MCP and provide realtime data to the coding assistant -> improving LLM's context and reducing hallucinations.
What does this actor do?
MCP Documentation Hunter is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.
Key Features
- Cloud-based execution - no local setup required
- Scalable infrastructure for large-scale operations
- API access for integration with your applications
- Built-in proxy rotation and anti-blocking measures
- Scheduled runs and webhooks for automation
How to Use
- Click "Try This Actor" to open it on Apify
- Create a free Apify account if you don't have one
- Configure the input parameters as needed
- Run the actor and download your results
Documentation
Documentation Hunter Search-Driven Documentation Discovery | Apify MCP Compatible This actor takes a search query as input, uses Google Search to find relevant documentation, and then crawls the top results to extract their content. Perfect for finding specific documentation, tutorials, or guides on any topic. Ideally to be used to feed into coding AI assistants for up-to-date documentation. ## How It Works 1. Search: Uses apify/google-search-scraper to find relevant documentation based on your query 2. Filter: Optionally filters out unwanted domains 3. Crawl: Uses apify/website-content-crawler to extract clean content from the top results 4. Return: Provides structured documentation data ready for consumption ## Key Features - 🔍 Google-Powered Search: Leverages Google's search algorithm to find the most relevant documentation - 🤖 Actor Composition: Uses proven Apify actors for search and crawling - 🎯 Targeted Results: Configurable number of results (1-10) - 🚫 Domain Filtering: Exclude unwanted domains from results - 📄 Clean Content: Extracts readable content using readability mode - 🔗 MCP Compatible: Works seamlessly with Apify MCP Server ## Technology Stack - Language: TypeScript with full type safety - Framework: Apify SDK - Search: Google Search Scraper (apify/google-search-scraper) - Crawling: Website Content Crawler (apify/website-content-crawler) ## Apify MCP Compatibility This actor is fully compatible with Apify MCP (Model Context Protocol) without requiring any custom MCP server implementation. The actor works seamlessly with the official Apify MCP Server. ### How Apify MCP Works The Apify MCP Server automatically discovers Apify actors and exposes them as MCP tools/resources. Here's how it works: 1. Actor Discovery: The MCP server scans the Apify Store and discovers available actors 2. Schema Mapping: Each actor's input schema is automatically converted to MCP tool parameters 3. Tool Creation: Actors become callable tools that AI assistants can use 4. Result Handling: Actor outputs are returned as MCP resources ### Key Benefits - 🤖 AI Integration: Use Documentation Hunter directly from Windsurf, Cursor, Claude, and other MCP-compatible tools - 🔧 No Custom Code: No need to implement MCP server functionality in the actor - 📊 Automatic Discovery: The actor is automatically available as an MCP tool - 🎯 Schema-Driven: Input parameters are automatically mapped from the input schema - 🚀 Production Ready: Works with the official Apify MCP infrastructure ### Apify MCP Server The Documentation Hunter actor is exposed as a tool through: - Hosted Server: https://mcp.apify.com - Local CLI: npx @apify/actors-mcp-server - Actor Name: Available as a tool based on the actor's input schema ### Prerequisites To use the Documentation Hunter via Apify MCP, you need: 1. Apify Account: Sign up at apify.com 2. API Token: Get your token from Apify Console 3. MCP-Compatible Client: Windsurf, Cursor, Claude Desktop, or other MCP client ### MCP Configuration Examples #### Windsurf Configuration json { "mcpServers": { "apify": { "url": "https://mcp.apify.com/?tools=call-actor,bmerlyns/merlyn-docs-hunter", "headers": { "Authorization": "Bearer your-apify-token" } } } } #### Cursor Configuration json { "mcp": { "servers": { "apify": { "url": "https://mcp.apify.com/?tools=call-actor,bmerlyns/merlyn-docs-hunter", "headers": { "Authorization": "Bearer your-apify-token" } } } } } ## Input Parameters | Parameter | Type | Default | Description | |-----------|------|---------|-------------| | searchQuery | String | - | Search query to find documentation (e.g., "Meteorjs docs v 3.3.1 accounts") | | maxResults | Integer | 3 | Maximum number of search results to process (1-10) | | excludedDomains | String | "" | Domains to exclude from search results (comma-separated) | | verbose | Boolean | false | Enable detailed logging output for debugging purposes | ### Input Examples #### Basic Search json { "searchQuery": "React hooks tutorial" } #### Advanced Search with Filtering json { "searchQuery": "Node.js authentication guide passport.js", "maxResults": 5, "excludedDomains": "stackoverflow.com,reddit.com" } #### Debug Mode with Verbose Logging json { "searchQuery": "Meteorjs 3.3.1 accounts documentation", "maxResults": 1, "verbose": true } #### Framework-Specific Documentation json { "searchQuery": "Vue.js 3 composition API documentation", "maxResults": 3, "excludedDomains": "medium.com" } ## Output Format The actor returns structured documentation data with the following schema: json { "id": "string", // Unique identifier for the document "title": "string", // Document title "url": "string", // Source URL "content": "string", // Extracted clean content "description": "string", // Search result description "source": "string", // Domain/source name "searchQuery": "string", // Original search query "lastUpdated": "string" // ISO timestamp } ## Performance Analysis & Test Results ### Comprehensive Testing Results ✅ The Documentation Hunter has been extensively tested across 5 major web development topics with 100% success rate: | Test Topic | Status | Quality | Source Type | |------------|--------|---------|-------------| | React Hooks Documentation | ✅ SUCCESS | Comprehensive | Official (legacy.reactjs.org) | | Next.js API Routes | ✅ SUCCESS | Extensive | Official (nextjs.org) | | TypeScript Utility Types | ✅ SUCCESS | Complete | Official (typescriptlang.org) | | Node.js JWT Authentication | ✅ PARTIAL | Good | Official (passportjs.org) | | Docker Compose v2 | ✅ SUCCESS | Comprehensive | Official (docs.docker.com) | ### Key Strengths Identified - 🎯 High Success Rate: 100% of searches returned relevant documentation - 🏛️ Official Source Targeting: Successfully prioritizes authoritative documentation sources - 📚 Comprehensive Content: Most results contain extensive, detailed technical information - 🔍 Effective Search Strategy: Documentation-specific filters work excellently - ⚡ Fast Performance: Quick retrieval and processing of documentation ### Real-World Example: Next.js API Routes Search Query: "Next.js API routes documentation app router pages router" Results Retrieved: 1. Primary Result - Official Next.js Documentation - URL: https://nextjs.org/docs/pages/building-your-application/routing/api-routes - Title: "API Routes" - Content Length: 15,000+ characters of comprehensive documentation - Key Topics Covered: - API route creation and configuration - HTTP method handling (GET, POST, etc.) - Request/response helpers - Dynamic routing patterns - TypeScript integration - Error handling examples 2. Secondary Result - App Router Documentation - URL: https://nextjs.org/docs/app - Title: "Next.js Docs: App Router" - Content: Overview of App Router vs Pages Router 3. Tutorial Result - Learning Resource - URL: https://nextjs.org/learn/pages-router/api-routes-creating-api-routes - Title: "Pages Router: Creating API Routes" - Content: Step-by-step tutorial with code examples Example Content Extract: typescript // From the retrieved documentation import type { NextApiRequest, NextApiResponse } from 'next' type ResponseData = { message: string } export default function handler( req: NextApiRequest, res: NextApiResponse<ResponseData> ) { res.status(200).json({ message: 'Hello from Next.js!' }) } ### Impact on Coding Assistance The Documentation Hunter significantly enhances coding assistance capabilities by: - 🚫 Reducing LLM Hallucinations: Provides accurate, authoritative documentation - 📖 Version-Specific Information: Helps make informed decisions about specific implementations - 🔧 Real Code Examples: Includes actual code snippets and best practices - ⚡ Real-Time Access: Provides up-to-date documentation when needed during development ### Recommended Use Cases Perfect for: - 🔍 Finding official framework documentation - 📚 Retrieving API references and guides - 🎯 Getting version-specific implementation details - 🤖 Feeding accurate information to AI coding assistants Best Practices: - Use specific version numbers in queries when needed - Include framework names for better targeting - Exclude low-quality domains for cleaner results - Use verbose mode for debugging search issues ## Integration Examples ### Using with Windsurf/Cursor typescript // AI assistant can now access real-time documentation // Example: "Get me the latest React hooks documentation" // The Documentation Hunter will provide accurate, up-to-date info ### Using with Custom MCP Clients javascript // Call the actor through MCP const result = await mcpClient.callTool('bmerlyns/merlyn-docs-hunter', { searchQuery: 'Express.js middleware documentation', maxResults: 3, excludedDomains: 'stackoverflow.com' });
Categories
Common Use Cases
Market Research
Gather competitive intelligence and market data
Lead Generation
Extract contact information for sales outreach
Price Monitoring
Track competitor pricing and product changes
Content Aggregation
Collect and organize content from multiple sources
Ready to Get Started?
Try MCP Documentation Hunter now on Apify. Free tier available with no credit card required.
Start Free TrialActor Information
- Developer
- bmerlyns
- Pricing
- Paid
- Total Runs
- 39
- Active Users
- 1
Related Actors
Web Scraper
by apify
Cheerio Scraper
by apify
Website Content Crawler
by apify
Legacy PhantomJS Crawler
by apify
Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.
Learn more about ApifyNeed Professional Help?
Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.
Trusted by millions | Money-back guarantee | 24/7 Support