Obscura MCP Server
MCP server for Obscura - web scraping, HTML to Markdown conversion, and URL content processing
Ask AI about Obscura MCP Server
Powered by Claude Β· Grounded in docs
I know everything about Obscura MCP Server. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
Obscura MCP Server
A Model Context Protocol server for web scraping and automation using Obscura
Overview
This MCP server provides tools for AI agents to interact with web pages. It uses Obscura, a headless browser engine written in Rust with V8 JavaScript support, built specifically for web scraping and AI agent automation.
When Obscura is unavailable, it gracefully falls back to native fetch APIs.
Tools
fetch_page
Fetch web content from a URL.
{ "url": "https://example.com", "type": "markdown" }
search
Search the web and return results.
{ "query": "rust headless browser", "limit": 5 }
query
Query a webpage using CSS selectors or text search.
{ "url": "https://example.com", "selector": "h1", "text": "title" }
For client-specific configuration, see INSTALL.md.
Requirements
- Obscura (optional, for enhanced capabilities)
- Node.js 18+ or Bun
Installation
Add to your MCP servers config:
{
"mcpServers": {
"obscura": {
"command": "bunx",
"args": ["-y", "obscura-mcp-server"]
}
}
}
See INSTALL.md for setup with VSCode, Cursor, OpenCode, Claude Code, Codex, and Pi.
Architecture
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β MCP Client β
β Coding Agent β
βββββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββββ
β JSON-RPC
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Obscura MCP Server β
β βββββββββββ βββββββββββ βββββββββββ β
β β fetch β β search β β query β β Tools β
β βββββ¬ββββββ βββββ¬ββββββ βββββ¬ββββββ β
β β β β β
β βΌ βΌ βΌ β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β checkObscura() ββ
β ββββββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββ
β β β
β ββββββββββββββ΄βββββββββββββ β
β βΌ βΌ β
β ββββββββββββββ ββββββββββββββ β
β β Obscura β β Native β β
β. β (headless) β β fetch β β
β ββββββββββββββ ββββββββββββββ β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Why Obscura?
| Feature | Obscura | Native Fetch |
|---|---|---|
| JavaScript execution | β | β |
| Cloudflare bypass | β | β |
| Stealth mode | β | β |
| Wait conditions | β | β |
| DOM manipulation | β | β |
| No dependencies | β | β |
Development
# Run in development mode
bun run dev
# Type check
bun run check
# Lint and fix
bun run lint:fix
License
MIT
