For AI agents: a documentation index is available at /llms.txt
Skip to main content

Extract content from a URL

Fetch the fully rendered HTML of any page, including content generated by JavaScript, using the Browserless /content endpoint.

Prerequisites

Steps​

Use the Browserless MCP server to extract content from a URL from any MCP-compatible AI agent (Claude Desktop, Cursor, Windsurf, ChatGPT, etc.).

One prompt that installs the Browserless MCP server and runs this example. Paste it into your AI agent.

1. Connect the MCP server

Send this prompt to your AI agent to install the Browserless MCP server:

Go to https://github.com/browserless/browserless-mcp/blob/main/install.md
and follow the instructions to install the Browserless MCP server
for my client.

2. Extract content

Use browserless_smartscraper. It extracts page content in one call with automatic bot-protection handling.

Use the browserless_smartscraper tool to extract the main content
of https://scraping-sandbox.netlify.app/javascript-enabled and return it as clean markdown

Next steps​

Was this page helpful?