com.preteworks/preteworks-api
up checked
Unclaimed · Unverified
Agent searches it appeared in, last 30 days: 0. Run this server? Claim the listing: verified label, uptime alerts and analytics.
Publisher-provided title
PreteWorks API
Publisher-provided description
One key for the document-to-web pipeline: scrape, AI-extract, build & edit PDFs, fill forms.
Summary by lookupd
Scrapes and crawls web pages to Markdown, extracts and edits PDFs, converts Office files, and generates spreadsheets and documents.
Install
Claude Code, remote (streamable-http)
claude mcp add --transport http preteworks-api https://api.preteworks.com/mcp
Codex, remote (streamable-http)
codex mcp add preteworks-api --url https://api.preteworks.com/mcp
Cursor, remote (streamable-http) → .cursor/mcp.json
{
"mcpServers": {
"preteworks-api": {
"url": "https://api.preteworks.com/mcp"
}
}
}Other clients: docs. Or tell your agent: Set up lookupd for me: read https://lookupd.com/agent.md and follow it.
Tools (29 tools)
Publisher-provided text
render_html_to_pdfRender 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 ~number_pdfStamp a page number on every page. position: bottom-center (default) | bottom-left | bottom-right | top-center | top-left | top-right. format supports {n} and {pdf_infoRead a PDF's metadata (title, author, subject, keywords, creator, producer, dates) plus page count and page size, as JSON.set_pdf_metadataSet 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.render_documentRender 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) andmerge_pdfsCombine 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 downloaselect_pagesKeep 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.rotate_pdfRotate every page of a PDF by 90, 180, or 270 degrees (clockwise). Returns a file_id (for chaining) and a ~1h download URL.watermark_pdfStamp 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.extract_pdf_textExtract 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 inlinimages_to_pdfCombine PNG/JPEG images (base64) into a PDF, one image per page. Returns a file_id and a ~1h URL.markdown_to_pdfRender Markdown to a clean, print-styled PDF. Returns a file_id and a ~1h URL.split_pdfSplit 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.read_pdf_formList a PDF's form fields (name, type, value, options) as JSON.fill_pdf_formFill a PDF's form fields from a map of field -> value; optionally flatten. Returns a file_id and a ~1h URL.file_to_markdownConvert a Word (.docx), Excel (.xlsx) or CSV file (base64) into clean Markdown — for RAG, agents and pipelines. DOCX keeps headings/lists/tables; spreadsheets bdata_to_spreadsheetTurn 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).batch_scrapeFetch 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.crawl_siteFetch 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.map_siteDiscover the same-origin URLs linked from a page — the site map, with no page content fetched. Private/internal hosts are blocked.extract_dataExtract 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 'fsummarize_documentSummarize 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 'textanswer_from_documentAnswer 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' (basedocx_to_textExtract the text of a .docx document (base64). Returns the text inline.docx_to_pdfConvert a .docx document (base64) to a PDF. Returns a file_id and a ~1h URL.read_urlFetch 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/internurl_to_pdfFetch 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 hostsurl_to_screenshotFetch 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.scrape_pageFetch 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
Details
- Version: 1.0.2
- Transports: streamable-http
- Uptime (7 days): 100%
- Median latency: 1488 ms
- First indexed:
- Last seen in registry:
- Website: https://api.preteworks.com
Badge for your README
Shows this live status and links here; updates hourly.
[](https://lookupd.com/servers/com.preteworks/preteworks-api)
- 62033 servers
- Last crawl: 2026-11-11T15:38:39.561Z
- API base:
https://api.lookupd.com - MCP URL:
https://api.lookupd.com/mcp