PreteWorks API
com.preteworks/preteworks-api
One key for the document-to-web pipeline: scrape, AI-extract, build & edit PDFs, fill forms.
- Website
- api.preteworks.com/
- Server address
https://api.preteworks.com/mcp(streamable-http)- Version
- 1.0.2
- Author
- preteworks.com (namespace verified by the registry)
- Source
- Official MCP registry (updated Sep 8, 2026)
How to install it
The server requires a header: Authorization. Replace YOUR_KEY with your key.
Claude Code
In a terminal:
claude mcp add --transport http preteworks-api https://api.preteworks.com/mcp \
--header "Authorization: Bearer YOUR_KEY"Claude (app and claude.ai)
Open Settings, then Connectors, and add a custom connector with this address. If the server asks you to sign in, Claude will walk you through it.
https://api.preteworks.com/mcpChatGPT
In Settings, Apps & Connectors section, turn on developer mode, then create a connector with this address.
https://api.preteworks.com/mcpCursor ~/.cursor/mcp.json
Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in the project):
{
"mcpServers": {
"preteworks-api": {
"url": "https://api.preteworks.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_KEY"
}
}
}
}VS Code .vscode/mcp.json
Add this to your project’s .vscode/mcp.json:
{
"servers": {
"preteworks-api": {
"type": "http",
"url": "https://api.preteworks.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_KEY"
}
}
}
}These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
Responds The server speaks MCP and lists its tools.
- Date
- Nov 28, 2026, 09:28 (test run by L’Atlas)
- Response time
- 2,006 ms (whole test)
- Tools found
- 29
- Announced name
- preteworks 1.1.0
- Protocol
- MCP 2025-11-25
- Next test
- Dec 5, 2026
See the tools (29)
render_html_to_pdf
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 ~1h download URL.number_pdf
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 {total}. Returns a file_id + ~1h URL.pdf_info
Read a PDF's metadata (title, author, subject, keywords, creator, producer, dates) plus page count and page size, as JSON.set_pdf_metadata
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.render_document
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 a ~1h download URL.merge_pdfs
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 download URL.select_pages
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.rotate_pdf
Rotate every page of a PDF by 90, 180, or 270 degrees (clockwise). Returns a file_id (for chaining) and a ~1h download URL.watermark_pdf
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.extract_pdf_text
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 inline. Not OCR: a scanned/image-only PDF returns little or no text.images_to_pdf
Combine PNG/JPEG images (base64) into a PDF, one image per page. Returns a file_id and a ~1h URL.markdown_to_pdf
Render Markdown to a clean, print-styled PDF. Returns a file_id and a ~1h URL.split_pdf
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.read_pdf_form
List a PDF's form fields (name, type, value, options) as JSON.fill_pdf_form
Fill a PDF's form fields from a map of field -> value; optionally flatten. Returns a file_id and a ~1h URL.file_to_markdown
Convert a Word (.docx), Excel (.xlsx) or CSV file (base64) into clean Markdown — for RAG, agents and pipelines. DOCX keeps headings/lists/tables; spreadsheets become Markdown tables (one per sheet). Returns Markdown inline. Optional 'formatdata_to_spreadsheet
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). Returns a file_id (for chaining) and a ~1h download URL.batch_scrape
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.crawl_site
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.map_site
Discover the same-origin URLs linked from a page — the site map, with no page content fetched. Private/internal hosts are blocked.extract_data
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 'file' (base64 .docx/.xlsx/.csv). Returns a JSON object mapping each field to itssummarize_document
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'. Optional 'max_words'. Returns the summary.answer_from_document
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' (base64), or 'text'. Says so when the answer isn't in the document.docx_to_text
Extract the text of a .docx document (base64). Returns the text inline.docx_to_pdf
Convert a .docx document (base64) to a PDF. Returns a file_id and a ~1h URL.read_url
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/internal hosts are blocked.url_to_pdf
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 are blocked.url_to_screenshot
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.scrape_page
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 render. For clean Markdown use read_url instead. Private/internal hosts are blocke
What the test does: it opens an MCP session (initialize) and asks for the tool list (tools/list), with no key or account. No tool is ever called. Learn more
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/com.preteworks/preteworks-api)HTML
<a href="https://lagora.dev/en/entry/com.preteworks/preteworks-api"><img src="https://lagora.dev/badge/com.preteworks/preteworks-api.svg?lang=en" alt="com.preteworks/preteworks-api on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.