{
 "type": "mcp",
 "name": "PreteWorks API",
 "registry_name": "com.preteworks/preteworks-api",
 "also_published_as": [],
 "description": "One key for the document-to-web pipeline: scrape, AI-extract, build & edit PDFs, fill forms.",
 "url": "https://api.preteworks.com/mcp",
 "transport": "streamable-http",
 "website": "https://api.preteworks.com",
 "repo": null,
 "ours": false,
 "publisher": "com.preteworks",
 "categories": [
  "design-docs",
  "api-gateways",
  "web-scraping"
 ],
 "tests": {
  "tested_at": "2026-11-24T21:36:57.893Z",
  "http_status": 200,
  "initialize": "ok",
  "tools_list": "ok",
  "tool_count": 29,
  "latency_ms": 1156,
  "tools_list_ms": 532,
  "protocol_version": "2025-06-18",
  "oauth_discovery": null,
  "server_info": {
   "name": "preteworks",
   "version": "1.1.0"
  },
  "error": null
 },
 "signals": {
  "github_stars": null,
  "license": null,
  "repo_pushed_at": null,
  "repo_archived": null,
  "npm_downloads_30d": null,
  "adoption_note": null,
  "registry_updated_at": "2026-09-08T03:05:16.052887Z",
  "registry_published_at": "2026-09-08T03:05:16.052887Z",
  "pypi_downloads": "missing"
 },
 "checks": {
  "latency": 68.3,
  "tool_docs": 100,
  "breadth": 86.5,
  "freshness": 75,
  "license": "missing",
  "adoption": "missing",
  "protocol": 100
 },
 "score": 50.1,
 "missing": [
  "license",
  "adoption"
 ],
 "tools": [
  "render_html_to_pdf",
  "number_pdf",
  "pdf_info",
  "set_pdf_metadata",
  "render_document",
  "merge_pdfs",
  "select_pages",
  "rotate_pdf",
  "watermark_pdf",
  "extract_pdf_text",
  "images_to_pdf",
  "markdown_to_pdf",
  "split_pdf",
  "read_pdf_form",
  "fill_pdf_form",
  "file_to_markdown",
  "data_to_spreadsheet",
  "batch_scrape",
  "crawl_site",
  "map_site",
  "extract_data",
  "summarize_document",
  "answer_from_document",
  "docx_to_text",
  "docx_to_pdf",
  "read_url",
  "url_to_pdf",
  "url_to_screenshot",
  "scrape_page"
 ],
 "tool_docs": [
  {
   "n": "render_html_to_pdf",
   "d": "Render a full HTML document to a PDF. External subresources are blocked for safety — inline images/fonts as data: URIs. Returns a file_id (for chaining) and a ~"
  },
  {
   "n": "number_pdf",
   "d": "Stamp a page number on every page. position: bottom-center (default) | bottom-left | bottom-right | top-center | top-left | top-right. format supports {n} and {"
  },
  {
   "n": "pdf_info",
   "d": "Read a PDF's metadata (title, author, subject, keywords, creator, producer, dates) plus page count and page size, as JSON."
  },
  {
   "n": "set_pdf_metadata",
   "d": "Set a PDF's title, author, subject, keywords (array or comma string) and/or creator. Only the fields you provide change. Returns a file_id + ~1h URL."
  },
  {
   "n": "render_document",
   "d": "Render a structured document to a PDF from a named template (invoice, receipt, report). Money/totals are computed for you. Returns a file_id (for chaining) and "
  },
  {
   "n": "merge_pdfs",
   "d": "Combine 2+ PDFs into a single PDF, in the order given. Inputs are file_ids (from prior tools) or base64 PDFs. Returns a file_id (for chaining) and a ~1h downloa"
  },
  {
   "n": "select_pages",
   "d": "Keep only the specified pages of a PDF (e.g. [1,3,5]) and drop the rest, preserving order. Returns a file_id (for chaining) and a ~1h download URL."
  },
  {
   "n": "rotate_pdf",
   "d": "Rotate every page of a PDF by 90, 180, or 270 degrees (clockwise). Returns a file_id (for chaining) and a ~1h download URL."
  },
  {
   "n": "watermark_pdf",
   "d": "Stamp a diagonal grey text watermark (e.g. \"DRAFT\", \"CONFIDENTIAL\") across every page of a PDF. Returns a file_id (for chaining) and a ~1h download URL."
  },
  {
   "n": "extract_pdf_text",
   "d": "Extract the text content of a PDF — for RAG, summarization, or search. Accepts a file_id (from a prior tool) or a base64-encoded PDF, and returns the text inlin"
  },
  {
   "n": "images_to_pdf",
   "d": "Combine PNG/JPEG images (base64) into a PDF, one image per page. Returns a file_id and a ~1h URL."
  },
  {
   "n": "markdown_to_pdf",
   "d": "Render Markdown to a clean, print-styled PDF. Returns a file_id and a ~1h URL."
  },
  {
   "n": "split_pdf",
   "d": "Split a PDF into multiple PDFs — one per page by default, or by page ranges like '1-3;4-6'. Returns a file_id + URL per part."
  },
  {
   "n": "read_pdf_form",
   "d": "List a PDF's form fields (name, type, value, options) as JSON."
  },
  {
   "n": "fill_pdf_form",
   "d": "Fill a PDF's form fields from a map of field -> value; optionally flatten. Returns a file_id and a ~1h URL."
  },
  {
   "n": "file_to_markdown",
   "d": "Convert a Word (.docx), Excel (.xlsx) or CSV file (base64) into clean Markdown — for RAG, agents and pipelines. DOCX keeps headings/lists/tables; spreadsheets b"
  },
  {
   "n": "data_to_spreadsheet",
   "d": "Turn rows of data into a downloadable XLSX (default) or CSV. 'rows' is an array of objects (keys → header row) or an array of arrays (first row is the header). "
  },
  {
   "n": "batch_scrape",
   "d": "Fetch up to 10 public URLs and return each as clean Markdown, in one call — for research/RAG over several pages at once. Private/internal hosts are blocked."
  },
  {
   "n": "crawl_site",
   "d": "Fetch a URL plus up to 7 more same-origin pages it links to (≤8 total), each as clean Markdown. Bounded and synchronous. Private/internal hosts are blocked."
  },
  {
   "n": "map_site",
   "d": "Discover the same-origin URLs linked from a page — the site map, with no page content fetched. Private/internal hosts are blocked."
  },
  {
   "n": "extract_data",
   "d": "Extract specified fields from a web page, PDF, or Office file as JSON, using AI. Provide 'fields' plus ONE source: a 'url', a 'pdf' (file_id or base64), or a 'f"
  },
  {
   "n": "summarize_document",
   "d": "Summarize a web page, PDF, Office file (.docx/.xlsx/.csv), or raw text using AI. Provide ONE source: 'url', 'pdf' (file_id or base64), 'file' (base64), or 'text"
  },
  {
   "n": "answer_from_document",
   "d": "Answer a question grounded ONLY in a source document — a web page, PDF, Office file, or raw text. Provide 'question' plus ONE source: 'url', 'pdf', 'file' (base"
  },
  {
   "n": "docx_to_text",
   "d": "Extract the text of a .docx document (base64). Returns the text inline."
  },
  {
   "n": "docx_to_pdf",
   "d": "Convert a .docx document (base64) to a PDF. Returns a file_id and a ~1h URL."
  },
  {
   "n": "read_url",
   "d": "Fetch a public http/https URL and return its main content as clean Markdown — ideal for giving an agent readable web content for research or RAG. Private/intern"
  },
  {
   "n": "url_to_pdf",
   "d": "Fetch a public http/https URL and render the live page to a PDF. Returns a file_id (chainable into the PDF tools) and a ~1h download URL. Private/internal hosts"
  },
  {
   "n": "url_to_screenshot",
   "d": "Fetch a public http/https URL and capture a PNG screenshot. Set full_page for the entire scroll height. Returns a file_id and a ~1h download URL."
  },
  {
   "n": "scrape_page",
   "d": "Fetch a public http/https URL and return its rendered HTML, the links on the page, and page metadata (title/description/OpenGraph/canonical/favicon) — in one re"
  }
 ],
 "passed": true,
 "auth_required": false,
 "fail_reason": null,
 "category_confidence": 0.821,
 "category_source": "classifier",
 "category_scores": {
  "design-docs": 6.76,
  "productivity": 3.03,
  "web-scraping": 2.48,
  "api-gateways": 2
 },
 "subcategory": "pdf-documents",
 "id": "com-preteworks-preteworks-api",
 "listing": {
  "plan": "curated",
  "fee_usd": null,
  "note": "Listing fees are not active. Placement is earned only by test results."
 },
 "status": "listed",
 "first_seen": "2026-11-24",
 "uptime_days": "2/2"
}