DocsScraper

DocsScraper

Scrape documentation for libraries and API's

Category
Visit Server

Tools

search_docs

Search through documentation chunks using semantic search. Make sure your query is specific to get the best results. Forgetting to add 'api' to the query will return ui results etc.

README

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 documentation
  • top (number, optional): Maximum number of results to return (1-10, default: 5)
  • service (string, required): Service name to filter results by (case-insensitive)

Examples:

{
  "query": "how to configure authentication",
  "service": "Binance",
  "top": 3
}
{
  "query": "React hooks documentation",
  "top": 5,
  "service": "React"
}

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:

  1. Uses embeddings to find semantically similar chunks
  2. Applies AI validation to ensure relevance
  3. Falls back to scraper sources if no local results are found
  4. Returns chunks with scores and source information

Installation

npm install
npm run build

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

# Build the server
npm run build

# Watch for changes during development
npm run watch

# Test with MCP inspector
npm run inspector

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