Dev.to AI πŸ€– Ai πŸ‘ 0 πŸ“– 2 min read

Give your AI agent web tools in 2 minutes: screenshots, PDF text and tech-stack lookup over MCP

LLM agents are good at reasoning and bad at touching the web. Ask one to "screenshot these 10 landing pages" or "read these 30 PDFs" and it either refuses or invents something. The Model Context Protocol fixes this: you

LLM agents are good at reasoning and bad at touching the web. Ask one to "screenshot these 10 landing pages" or "read these 30 PDFs" and it either refuses or invents something.

The Model Context Protocol fixes this: you give the agent tools. This post shows how to add a set of small, cheap web tools to Claude Desktop, Cursor, VS Code or any MCP client with one URL, using the Apify MCP server.

Disclosure: I built the tools used here. They are pay-per-use Actors on Apify (prices below). Apify's free plan includes monthly credit, enough to try them.

The tools

Tool What the agent can do Price
Website Screenshot & PDF Full-page or mobile screenshots, URL to PDF $3 / 1,000 captures
PDF Text Extractor Read PDFs by URL, one row per page for RAG $0.002 / PDF + $0.0005 / page
Tech Stack Detector What CMS, analytics, pixels a site uses $3 / 1,000 sites
SEO Page Audit Titles, meta, H1s, canonicals, schema per page $3 / 1,000 pages
Broken Link Checker Every 404 on a site and where it is linked $1 / 1,000 pages
Sitemap URL Extractor Every URL of a website from its sitemaps $0.30 / 1,000 URLs

Step 1: Add the MCP server

Pick the tools you want and list them in the URL:

https://mcp.apify.com?tools=bluemoonstone/website-screenshot-pdf,bluemoonstone/pdf-text-extractor,bluemoonstone/tech-stack-detector

In Claude Desktop, Cursor or VS Code, add it as a remote MCP server. For clients that use a JSON config:

{
  "mcpServers": {
    "apify": {
      "url": "https://mcp.apify.com?tools=bluemoonstone/website-screenshot-pdf,bluemoonstone/pdf-text-extractor,bluemoonstone/tech-stack-detector"
    }
  }
}

On first use, a browser window asks you to sign in to Apify and approve access. Apify's MCP configurator can generate the config for your client.

Step 2: Ask for real work

Some prompts that now just work:

  • "Take full-page mobile screenshots of these 5 competitor pricing pages and compare their layouts."
  • "Read these 12 annual-report PDFs and pull out revenue and headcount for each."
  • "Which of these 30 prospect websites run on Shopify, and which email tool does each use?"
  • "Audit the top 50 pages of my site and list missing meta descriptions."

The agent calls the tool, gets structured JSON back, and reasons over it.

Why small, single-purpose tools

Agents pick tools by reading their names and descriptions. A focused tool with a clear schema ("URL in, screenshot URL out") is chosen correctly more often, and its output is small enough to fit in context. For screenshots and PDFs, failed URLs are not charged, so a bad link in the list doesn't cost you.

Prefer code?

Every tool is also a plain REST endpoint:

curl -X POST "https://api.apify.com/v2/acts/bluemoonstone~pdf-text-extractor/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"pdfUrls":["https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf"],"outputMode":"pages"}'

They also plug into LangChain, LlamaIndex and CrewAI through Apify's integrations.

What web task does your agent still fail at? Tell me in the comments.

πŸ“° Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.