DocsScraper MCP Server
An MCP server that connects to the DocsScraper web API to provide semantic search capabilities through documentation chunks.
Features
- Semantic Search: Search through documentation chunks using embeddings and AI validation
- API Integration: Connects to your DocsScraper web application via REST API
- Fallback Sources: Automatically falls back to scraper sources when no local results are found
- Configurable Results: Control the number of search results (1-10, default: 5)
- Service Filtering: Filter search results by specific service names (case-insensitive)
Configuration
The server requires the following environment variables:
DOCS_SCRAPER_API_KEY
: API key for authentication (required)
Tools
search_docs
Search through documentation chunks using semantic search.
Parameters:
query
(string, required): The search query to find relevant documentationtop
(number, optional): Maximum number of results to return (1-10, default: 5)service
(string, required): Service name to filter results by (case-insensitive)
Examples:
Resources
docs-scraper://api/info
Provides information about the connected DocsScraper API, including:
- Base URL configuration
- API key status
- Endpoint details
- Authentication method
API Integration
This server connects to the DocsScraper web API endpoint:
- Endpoint:
GET /api/chunks/search
- Authentication: API Key via
X-API-Key
header - Parameters:
query
(string),top
(number),service
(string, optional)
The search endpoint:
- Uses embeddings to find semantically similar chunks
- Applies AI validation to ensure relevance
- Falls back to scraper sources if no local results are found
- Returns chunks with scores and source information
Installation
Usage
The server is designed to be used with MCP-compatible clients. Configure your client to connect to this server with the appropriate environment variables set.
Error Handling
The server provides detailed error messages for common issues:
- Authentication failures (401)
- Invalid requests (400)
- Connection issues (ECONNREFUSED)
Development
Related MCP Servers
- AsecurityAlicenseAqualityProvides up to date dependency information of Clojure librariesLast updated -253JavaScriptMIT License
- -securityFlicense-qualityFetch Pokémon data from PokéAPILast updated -Python
- -securityAlicense-qualityAccess any documentation indexed by RagRabbit Open Source AI site searchLast updated -333TypeScriptMIT License
- AsecurityFlicenseAqualityInteract with WebScraping.AI API for web data extraction and scrapingLast updated -7852JavaScript