Riddle MCP Server

Riddle MCP Server

Enables browser automation and debugging through the Riddle API, including taking screenshots across devices, running Playwright scripts, and capturing console logs and network traffic.

Category
Visit Server

README

Riddle MCP Server

MCP server that wraps the Riddle API for Claude Code integration. Take screenshots, run browser automation, and capture console logs + network HAR data.

Installation

  1. Clone this repo
  2. Install dependencies: npm install
  3. Add to your Claude Code MCP settings (~/.claude.json or project .claude/settings.json):
{
  "mcpServers": {
    "riddle": {
      "command": "node",
      "args": ["/path/to/riddle-mcp-server/index.js"],
      "env": {
        "RIDDLE_API_KEY": "rdc_live_your_key_here"
      }
    }
  }
}
  1. Restart Claude Code

Available Tools

riddle_screenshot

Take a screenshot of any URL. Returns base64-encoded PNG.

riddle_screenshot(url: "https://example.com", device: "iphone")

Options:

  • url (required): URL to screenshot
  • device: "desktop" | "ipad" | "iphone"
  • width, height: Custom viewport (if not using device preset)

riddle_batch_screenshot

Screenshot multiple URLs at once.

riddle_batch_screenshot(urls: ["https://site.com", "https://site.com/page2"], device: "desktop")

riddle_automate

Run a Playwright script, wait for completion, and get all artifacts including console logs and network HAR.

riddle_automate(
  url: "https://example.com",
  script: "await page.click('button'); await page.screenshot({path: 'result.png'});",
  device: "ipad"
)

Returns:

  • Screenshots saved to /tmp/
  • Console logs (errors, warnings, last 20 log entries)
  • Network HAR summary (total requests, failed requests, last 10 requests)

riddle_run_script

Run a Playwright script asynchronously. Returns job_id to check later.

riddle_run_script(
  url: "https://example.com",
  script: "await page.click('button'); await page.screenshot({path: 'result.png'});"
)

riddle_get_job

Check status and get artifacts of an async job.

riddle_get_job(job_id: "job_abc123")

riddle_click_and_screenshot

Simple automation: load URL, click a selector, take screenshot.

riddle_click_and_screenshot(url: "https://example.com", click: "button.start", wait_ms: 2000)

Device Presets

Device Width Height
desktop 1280 720
ipad 820 1180
iphone 390 844

Benefits

  • No permission prompts - tools are pre-approved in Claude Code
  • Direct image return - Claude can see screenshots immediately
  • Console + Network capture - Debug issues without manual browser inspection
  • Cleaner workflow - no bash/curl needed

License

MIT

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
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
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
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

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
E2B

E2B

Using MCP to run code via e2b.

Official
Featured