perpage-mcp-server

v0.1.3
io.github.Cal-Dev-Tech/perpage-mcp-server Checked 2 days ago Published 5 months ago

Give 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.

ParameterTypeDescription
url *stringThe URL to scrape
chunk_max_tokensintegerIf 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.

ParameterTypeDescription
json_schema *objectJSON Schema for the data to extract, e.g. {"type":"object","properties":{"price":{"type":"number"}}}
url *stringThe URL to extract from
instructionsstringOptional extraction hints