claw-site
A Python MCP server that extracts URLs, page content (with browser rendering fallback), and text from images via OCR.
README
claw-site
claw-site is a small Python MCP server with tools for extracting site URLs and extracting text from images.
The tool follows this flow:
robots.txt
-> find sitemap URLs
-> parse sitemap XML
-> collect URLs
-> fetch page
-> httpx
-> content found?
-> yes: extract URLs
-> no: crawl4ai fallback
Setup
Requires Python 3.10+.
The extract_image_text tool also requires the native Tesseract OCR executable:
- Windows: install Tesseract OCR. The tool auto-detects the standard
C:\Program Files\Tesseract-OCR\tesseract.exeinstall path; setTESSERACT_CMDif it is installed elsewhere. - macOS/Linux: install
tesseractwith your system package manager.
cd claw-site
python -m venv .venv
.venv\Scripts\activate
pip install -r requirements.txt
crawl4ai-setup
Run
python server.py
python server.py --http
HTTP mode listens on 127.0.0.1:3002 by default.
Claude Desktop config
{
"mcpServers": {
"claw-site": {
"command": "D:\\MCP\\claw-site\\.venv\\Scripts\\python.exe",
"args": ["D:\\MCP\\claw-site\\server.py"]
}
}
}
Tools
extract_urls
Parameters:
url: page or site URL.same_domain: only return URLs on the input hostname. Default:true.same_path: only return URLs under the input URL path prefix, for examplehttps://example.com/blogsreturns/blogsand/blogs/...URLs. Default:true.limit: maximum unique URLs to return. Default:500.
The response includes URL stats by source, then a Markdown bullet list of absolute URLs with the source that found each URL, such as robots.txt, sitemap.xml, httpx, or Crawl4AI. If no URLs are found, the tool returns the stats and a short message.
extract_content
Parameters:
url: page URL to extract. Scheme-less input likeexample.comis allowed.include_title: prepend the page title as a top-level Markdown heading. Default:true.
Fetches the page with httpx and converts the readable HTML to Markdown (scripts, styles, and other non-content tags are stripped; relative links and images are resolved to absolute URLs). When the static HTML yields little content — for example a JavaScript-rendered page — it falls back to crawl4ai browser rendering and uses its native Markdown output. The response is the Markdown content.
extract_image_text
Parameters:
image: image file path, image URL, data URL, or base64-encoded image content.lang: Tesseract language code. Default:eng.
The response is only the text recognized from the image.
Recommended Servers
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.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.