# Web Data MCP Server - Markdown, Contacts, SEO, Email (`tidytools/tidytools-mcp-server`) Actor

Four web-data tools for agents: read URL as Markdown, extract website contacts, check technical SEO, validate email. Pay only for usable tool results.

- **URL**: https://apify.com/tidytools/tidytools-mcp-server.md
- **Developed by:** [Yukai Lin](https://apify.com/tidytools) (community)
- **Categories:** MCP servers, Developer tools, AI
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $16.00 / 1,000 successful tool calls

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## Web Data MCP Server — Markdown, Contacts, SEO, Email

### What it does

This Standby Actor gives AI agents four read-only tools through one Streamable HTTP MCP endpoint. It calls TidyTools' existing Worker API and returns the Worker result as MCP `structuredContent` and JSON text.

| Tool | Input | Useful result |
|---|---|---|
| `read_url` | `url` | First 20,000 characters of Markdown from a public page or PDF |
| `extract_contacts` | `url` | Published contact details found on one website |
| `seo_audit` | `url` | Technical SEO score, issues and page signals |
| `validate_email` | `email` | Syntax and mail-domain verdict; no inbox verification |

### How to use

Connect a Streamable HTTP MCP client to `https://tidytools--tidytools-mcp-server.apify.actor/mcp` with your Apify Bearer token. The Actor's **Server** tab shows its current hostname. Call `tools/list`, then `tools/call` with one of the names above. Apify authenticates the Standby request; the Worker credential is configured by the Actor owner.

#### Input example

MCP request body (send by `POST /mcp`):

```json
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"read_url","arguments":{"url":"https://example.com/"}}}
```

For a normal Apify run or QA, pass `{"tool":"read_url","arguments":{"url":"https://example.com/"}}`. An empty Actor input starts the Standby server.

#### Output example

A successful MCP `tools/call` returns `result.content[0].text` as a JSON string and `result.structuredContent` as the Worker JSON. The shape below is illustrative; live page content varies.

```json
{"jsonrpc":"2.0","id":1,"result":{"content":[{"type":"text","text":"{\"success\":true,\"url\":\"https://example.com/\",\"content\":\"# Example Domain\"}"}],"structuredContent":{"success":true,"url":"https://example.com/","content":"# Example Domain"}}}
```

The dataset records `tool`, `input`, `success`, `charged`, `result`, and `errorType` for each call. A normal run also writes `SUMMARY`. Failed calls have `isError: true` and a dataset row with `charged: false`. Every charged call returns its result, including the call that uses the last of your run's spending limit. After that, further calls return `isError: true` with `errorType: charge_limit`, no result and no charged event, and they do not query the backend.

### Pricing

No start fee. One `tool-call` event per usable result: **$0.02** on Free and Bronze plans, $0.018 Silver, $0.016 Gold and above. For `validate_email`, a Worker verdict of `valid`, `risky`, or `invalid` is a delivered validation result and costs one event; `invalid` means the address or domain failed validation, not that the backend failed. Invalid tool input, blocked pages, empty contact results, `unknown` email verdicts, backend failures and calls refused because your spending limit is used up are free. Apify may separately bill platform usage for Standby runs, including idle time; check its Pricing tab before use.

### Limitations

`read_url` returns only the first 20,000 characters and uses plain HTTP; JavaScript-only pages may be incomplete. Contact extraction checks one site and returns only information it actually finds. SEO checks one page, not a whole site. Email validation checks syntax and mail-domain records, not mailbox ownership. The backend uses its low-cost route and does not call paid AI or residential proxies. Public URLs remain subject to robots, access and backend limits. This Actor is not connected to Apify's hosted `mcp.apify.com` as a selectable sub-tool until Apify indexes its Store listing; use the Standby URL shown above.

### Responsible use

Use published contact details for legitimate purposes and follow applicable privacy, anti-spam and site rules. Do not infer a personal email address from an unverified domain result.

### FAQ

**Does a failed call cost a tool event?** No. A tool event is charged only when the result is delivered. When your spending limit is reached, the call that reached it still returns its result; later calls return a `charge_limit` error and are not charged.

**Can I use the normal Actor API?** Yes, supply one `tool` and its `arguments` as shown above. For repeated agent calls, connect to `/mcp`.

# Actor input Schema

## `tool` (type: `string`):

Leave empty for Standby /mcp. For API and QA runs, choose one tool and supply its arguments.

## `arguments` (type: `object`):

For a normal run, provide {"url":"https://example.com/"} or {"email":"hello@example.com"}. Standby calls pass arguments in tools/call.

## Actor input object example

```json
{
  "tool": "read_url",
  "arguments": {
    "url": "https://example.com/"
  }
}
```

# Actor output Schema

## `summary` (type: `string`):

No description

## `calls` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "tool": "read_url",
    "arguments": {
        "url": "https://example.com/"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("tidytools/tidytools-mcp-server").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "tool": "read_url",
    "arguments": { "url": "https://example.com/" },
}

# Run the Actor and wait for it to finish
run = client.actor("tidytools/tidytools-mcp-server").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "tool": "read_url",
  "arguments": {
    "url": "https://example.com/"
  }
}' |
apify call tidytools/tidytools-mcp-server --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,tidytools/tidytools-mcp-server"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/EBfYRbZ86S25dPzA5/builds/gaqR2ml7tlG8hPnvx/openapi.json
