# Fetch Clean Webpage Markdown for Claude Desktop & Cursor Agents

**Use case:** 

Give Claude Desktop, Cursor, and autonomous AI agents instant, ad-free Markdown text from any public URL in under 5 seconds via the Apify MCP Server.

## Input

```json
{
  "startUrls": [
    {
      "url": "https://docs.apify.com/platform/actors"
    }
  ],
  "maxPages": 10,
  "followInternalLinks": false,
  "chunkSizeTokens": 500,
  "chunkOverlapTokens": 50,
  "removeSelectors": "nav, footer, header, script, style, noscript, iframe, .cookie-banner, .ads, #sidebar"
}
```

## Output

```json
{
  "url": {
    "label": "URL",
    "format": "link"
  },
  "title": {
    "label": "Title",
    "format": "text"
  },
  "wordCount": {
    "label": "Words",
    "format": "number"
  },
  "estimatedTokens": {
    "label": "Est. Tokens",
    "format": "number"
  },
  "chunkCount": {
    "label": "RAG Chunks",
    "format": "number"
  },
  "markdown": {
    "label": "Markdown",
    "format": "text"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Website to Markdown & RAG Context Crawler \[🎁 1,000 Free\] Actor is ready to run with the inputs already set for "Fetch Clean Webpage Markdown for Claude Desktop & Cursor Agents". [Sign up or log in](https://console.apify.com/create-task-from-example/YDYSxg3DygqrmgsaV) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Fetch Clean Webpage Markdown for Claude Desktop & Cursor Agents" task

The Website to Markdown & RAG Context Crawler \[🎁 1,000 Free\] Actor will start running based on the input automatically. You can also change all the input fields, like start urls, max pages to crawl, and more, to match your specific use case.

### 3. Receive the "Fetch Clean Webpage Markdown for Claude Desktop & Cursor Agents" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as URL, title, words, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Fetch Clean Webpage Markdown for Claude Desktop & Cursor Agents" task via API](https://apify.com/laborious_rumor/ai-web-to-markdown-rag-scraper.md).

## FAQ

### What output data does the Fetch Clean Webpage Markdown for Claude Desktop & Curso task return?

The Fetch Clean Webpage Markdown for Claude Desktop & Cursor Agents task returns structured JSON and CSV records including verified titles, source URLs, commercial metrics, and ISO timestamps.

### Does the Fetch Clean Webpage Markdown for Claude Desktop & Cursor Age task require login cookies?

No, the Fetch Clean Webpage Markdown for Claude Desktop & Cursor Agents task runs 100% cookie-free in the cloud without requiring session cookies or browser extensions.

### How can I automate the Fetch Clean Webpage Markdown for Claude Desktop & Curso task with AI agents or Clay?

You can trigger the Fetch Clean Webpage Markdown for Claude Desktop & Cursor Age task via the Apify REST API, Apify MCP server (Claude, Cursor), Clay.com, n8n, or Make.com.

## About this Actor

This example demonstrates how to use [Website to Markdown & RAG Context Crawler [🎁 1,000 Free]](https://apify.com/laborious_rumor/ai-web-to-markdown-rag-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/laborious_rumor/ai-web-to-markdown-rag-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/laborious_rumor/ai-web-to-markdown-rag-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
