perpage-mcp-server
v0.1.3Give AI agents clean, LLM-ready web data — scrape any URL to markdown or extract structured JSON.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
scrape_url
Fetch a web page and return its main content as clean, LLM-ready markdown with token-count metadata. Use this to read articles, docs, product pages, or any public web page.
| Parameter | Type | Description |
|---|---|---|
url * | string | The URL to scrape |
chunk_max_tokens | integer | If set, also return RAG-ready chunks of at most this many tokens |
extract_structured_data
Extract structured JSON from a web page using a JSON Schema you define. Use this to pull specific fields (price, title, specs, contact info, etc.) from a page.
| Parameter | Type | Description |
|---|---|---|
json_schema * | object | JSON Schema for the data to extract, e.g. {"type":"object","properties":{"price":{"type":"number"}}} |
url * | string | The URL to extract from |
instructions | string | Optional extraction hints |