Screenshot Api

by raphy78626

226 downloads
Not rated
GitHub

About

URL → PNG/JPEG/PDF capture API + MCP server for AI agents. Playwright + Fastify, deploy-ready on Fly.io.

Details

Author
raphy78626
Downloads
226

- Stealth mode — ~40% of real URLs return bot-block pages to naive scrapers. Evasion is built in
- Response cache — same URL twice in a loop? Second call is instant (5-min TTL, no double-billing)
- MCP-native — structured outputs designed for agent loops, not bolted-on HTTP wrappers
- [x] MCP server with 3 tools
- [x] Stealth / Cloudflare bypass

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Screenshot Api
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

The README includes setup instructions such as "command": "npx",.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "screenshot api": {
            "screenshot-api": {
                "command": "npx",
                "args": [
                    "-y",
                    "screenshot-api-mcp"
                ]
            }
        }
    }
}

McpServers

{
    "screenshot-api": {
        "command": "npx",
        "args": [
            "-y",
            "screenshot-api-mcp"
        ]
    }
}

Screenshot API for AI Agents

> Give your AI agent eyes. One MCP tool call returns a screenshot your agent can actually see.

Join the early access waitlist · Free tier included · Hosted API coming soon

---

What it does

AI agents can't see web pages — they get raw HTML, which is noisy, incomplete (no JS-rendered content), and full of boilerplate. This MCP server gives Claude, Cursor, and any MCP-compatible agent three native tools:

| Tool | What it returns |
|------|----------------|
| take_screenshot | URL → base64 PNG/JPEG your agent can look at directly |
| describe_page | Screenshot + title + H1 + meta description in one call |
| capture_pdf | URL → A4 PDF |

describe_page is the key differentiator: most agents need a screenshot and some text context. This saves a round-trip.

---

Quick start (self-hosted, free)

Claude Desktop

// ~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "screenshot-api": {
      "command": "npx",
      "args": ["-y", "screenshot-api-mcp"]
    }
  }
}

Restart Claude Desktop. Then ask:
> "Take a screenshot of https://news.ycombinator.com and summarise the top 5 stories"

Cursor

Settings → MCP → Add Server:

{
  "name": "screenshot-api",
  "command": "npx",
  "args": ["-y", "screenshot-api-mcp"]
}

Python (LangChain / CrewAI)

```python
from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
"screenshot": {
"command": "npx",
"args": ["-y", "screenshot-api-mcp"],
"transport": "stdio",
}
})

tools = await client.get_tools()

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.