scrapedatshi-mcp
Enables Claude to scrape, crawl, extract data, and sync to vector databases using scrapedatshi's RAG pipeline, with support for multiple embedding and vector DB providers.
README
scrapedatshi-mcp
MCP (Model Context Protocol) server for the scrapedatshi RAG pipeline API.
Use scrapedatshi's scraping, crawling, extraction, and vector DB sync tools directly from Claude Desktop — no code required.
What you can do
Just talk to Claude naturally:
- "Scrape https://docs.example.com and give me the chunks"
- "Crawl https://example.com/products and extract the title and price from every page"
- "Sync https://docs.example.com to my Pinecone index using OpenAI embeddings"
- "What embedding providers does scrapedatshi support?"
Tools exposed
| Tool | What it does |
|---|---|
verify_provider_key |
Verify an LLM or embedding API key + get live model list |
get_usage_guide |
Returns the guided wizard flow and tool selection reference |
scrape_url |
Scrape & chunk a single URL into RAG-ready text segments |
chunk_file |
Upload a local file (PDF, MD, TXT, etc.) and chunk it into RAG-ready segments |
crawl_site |
Crawl an entire site (sitemap or spider mode) and return all chunks |
extract_data |
Extract structured schema fields from a URL using your LLM |
extract_crawl |
Multi-page schema extraction via site crawl |
sync_to_vectordb |
Full pipeline: scrape URL → embed → inject into your vector DB |
ingest_file |
Full pipeline: upload local file → embed → inject into your vector DB |
autorag |
Full pipeline: crawl entire site → chunk → embed → inject into your vector DB |
list_embedding_providers |
Discover supported embedding providers + model notes |
list_vector_db_providers |
Discover supported vector DBs + required config fields |
Prerequisites
- scrapedatshi account — Sign up at scrapedatshi.com
- Add credits — Billing portal
- Get your API key — starts with
sds_... - Claude Desktop — Download here
- Python 3.10+ — python.org
Installation
Option A — Install from PyPI (recommended, works with uvx)
pip install scrapedatshi-mcp
Or use uv for isolated installs:
uv tool install scrapedatshi-mcp
Option B — Install from source (local development)
git clone https://github.com/scrapedatshi/scrapedatshi-mcp.git
cd scrapedatshi-mcp
pip install -e .
Claude Desktop configuration
Open your Claude Desktop config file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
If installed via PyPI / pip (using uvx)
{
"mcpServers": {
"scrapedatshi": {
"command": "uvx",
"args": ["scrapedatshi-mcp"],
"env": {
"SCRAPEDATSHI_API_KEY": "sds_your_key_here"
}
}
}
}
If installed via pip (using python)
{
"mcpServers": {
"scrapedatshi": {
"command": "python",
"args": ["-m", "scrapedatshi_mcp.server"],
"env": {
"SCRAPEDATSHI_API_KEY": "sds_your_key_here"
}
}
}
}
If cloned from source (absolute path)
{
"mcpServers": {
"scrapedatshi": {
"command": "python",
"args": ["/absolute/path/to/scrapedatshi-mcp/scrapedatshi_mcp/server.py"],
"env": {
"SCRAPEDATSHI_API_KEY": "sds_your_key_here"
}
}
}
}
Restart Claude Desktop after saving the config.
Secure key configuration (BYOK)
You bring your own LLM, embedding, and vector DB keys. The server resolves keys in this priority order:
- Argument passed in the tool call — explicit override
- Environment variable in the MCP config — preferred secure path (keys never appear in chat)
- Clear error message if neither is found
Add your provider keys to the env block in claude_desktop_config.json:
{
"mcpServers": {
"scrapedatshi": {
"command": "uvx",
"args": ["scrapedatshi-mcp"],
"env": {
"SCRAPEDATSHI_API_KEY": "sds_your_key_here",
"OPENAI_API_KEY": "sk-...",
"ANTHROPIC_API_KEY": "sk-ant-...",
"GEMINI_API_KEY": "AIza...",
"COHERE_API_KEY": "...",
"MISTRAL_API_KEY": "...",
"VOYAGE_API_KEY": "...",
"PINECONE_API_KEY": "pc-...",
"QDRANT_API_KEY": "...",
"WEAVIATE_API_KEY": "..."
}
}
}
}
Once set, Claude will automatically use these keys without asking you to type them in chat.
Supported environment variables
| Variable | Used for |
|---|---|
SCRAPEDATSHI_API_KEY |
scrapedatshi API key (required) |
OPENAI_API_KEY |
OpenAI LLM + embedding |
ANTHROPIC_API_KEY |
Anthropic LLM (Claude) |
GEMINI_API_KEY |
Google Gemini LLM + embedding |
COHERE_API_KEY |
Cohere embedding |
MISTRAL_API_KEY |
Mistral embedding |
VOYAGE_API_KEY |
Voyage AI embedding |
PINECONE_API_KEY |
Pinecone vector DB |
QDRANT_API_KEY |
Qdrant vector DB (optional for local) |
WEAVIATE_API_KEY |
Weaviate vector DB (optional for local) |
Example conversations
Scrape a single page
You: Scrape https://docs.example.com/getting-started and show me the chunks.
Claude calls scrape_url and returns the chunked content with token counts and credit usage.
Crawl a documentation site
You: Crawl https://docs.example.com — just the first 5 pages.
Claude calls crawl_site with max_pages=5 and returns all chunks from all pages.
Extract structured data from a product page
You: Extract the product name, price, and whether it's in stock from https://example.com/products/widget-pro
Claude calls extract_data with a schema it constructs from your request, using your OpenAI key from the env config.
Extract data from an entire product catalogue
You: Crawl https://example.com/products and extract the title and price from every product page. Limit to 10 pages.
Claude calls extract_crawl with max_pages=10 and returns per-page extraction results.
Sync a page to your vector DB
You: Sync https://docs.example.com to my Pinecone index. The index host is https://my-index-abc123.svc.pinecone.io. Use OpenAI text-embedding-3-small.
Claude calls sync_to_vectordb. If OPENAI_API_KEY and PINECONE_API_KEY are set in your env config, no keys need to be typed in chat.
Discover what's supported
You: What embedding providers does scrapedatshi support?
Claude calls list_embedding_providers and returns a formatted list with model notes.
You: What fields do I need to configure for Qdrant?
Claude calls list_vector_db_providers and returns the required and optional fields for each provider.
Supported providers
Embedding providers
| Key | Provider |
|---|---|
openai |
OpenAI (text-embedding-3-small, text-embedding-3-large, ada-002) |
cohere |
Cohere (embed-english-v3.0, embed-multilingual-v3.0) |
gemini |
Google Gemini (text-embedding-004, gemini-embedding-001) |
mistral |
Mistral (mistral-embed) |
voyage |
Voyage AI (voyage-3, voyage-3-lite, voyage-code-3) |
ollama |
Ollama local (nomic-embed-text, mxbai-embed-large, etc.) |
Vector databases
| Key | Provider |
|---|---|
pinecone |
Pinecone |
qdrant |
Qdrant |
chroma |
ChromaDB (local) |
supabase |
Supabase (pgvector) |
weaviate |
Weaviate |
mongodb |
MongoDB Atlas |
azure_cosmos |
Azure Cosmos DB (NoSQL) |
azure_cosmos_mongo |
Azure Cosmos DB (MongoDB API) |
lancedb |
LanceDB (local) |
LLM providers (for extraction + contextual retrieval)
| Key | Provider |
|---|---|
openai |
OpenAI (gpt-4o-mini, gpt-4o, etc.) |
anthropic |
Anthropic (claude-3-haiku, claude-3-5-sonnet, etc.) |
gemini |
Google Gemini (gemini-1.5-flash, gemini-1.5-pro, etc.) |
Billing
- Credits are deducted from your scrapedatshi account after each successful API call
- Failed requests are not charged
- Every tool response includes
credits_usedandcredits_remaining - LLM, embedding, and vector DB costs are billed directly by your chosen providers — scrapedatshi only charges for scraping and orchestration
- Top up at scrapedatshi.com/portal/billing
Safety limits
To prevent runaway credit usage and client timeouts:
crawl_site: defaults to 10 pages, maximum 200extract_crawl: defaults to 5 pages, maximum 50 per call
Claude will always confirm page limits with you before calling multi-page tools.
License
MIT — see LICENSE
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。