Skip to content
Agentmart
Submit a tool

PreteWorks API

One key for the document-to-web pipeline: scrape, AI-extract, build & edit PDFs, fill forms.

Connector by preteworks.comOfficial · Domain verified by the MCP Registry

IndexedLicense unknownRemote (HTTP)
Write a review

Install

Works with Claude Code, VS Code, Cursor, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install connector/preteworks-com-preteworks-api

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Remote endpoint

  • https://api.preteworks.com/mcp Remote (HTTP)

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

One key for the document-to-web pipeline: scrape, AI-extract, build & edit PDFs, fill forms.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.

Tools
13 read · 16 write · 0 delete
Secrets
1 (API keys, tokens or passwords)
Install scripts
Nothing to install (hosted)
Runs as
Hosted (remote endpoint)

Tools by what they do 29

From the running server's own tool list (tools/list) on Oct 25, 2026.

Read 13 · Look things up without changing anything.

  • answer_from_document
  • batch_scrape
  • crawl_site
  • docx_to_text
  • extract_data
  • extract_pdf_text
  • file_to_markdown
  • map_site
  • pdf_info
  • read_pdf_form
  • read_url
  • scrape_page
Show 1 more tools
  • summarize_document

Write 16 · Create, change, send or run things.

  • data_to_spreadsheet
  • docx_to_pdf
  • fill_pdf_form
  • images_to_pdf
  • markdown_to_pdf
  • merge_pdfs
  • number_pdf
  • render_document
  • render_html_to_pdf
  • rotate_pdf
  • select_pages
  • set_pdf_metadata
Show 4 more tools
  • split_pdf
  • url_to_pdf
  • url_to_screenshot
  • watermark_pdf

Secrets and settings it asks for

Secrets: values you paste in that let it act as you.

  • Authorization

Network hosts it talks to 1

  • api.preteworks.com · found in remote endpoint, install command

Files it touches

  • Any path the agent passes to its tools

Tools (29)

As the server listed them on Oct 25, 2026. Descriptions are the server’s own words; hidden characters are shown as [U+…].

  • answer_from_documentAnswer a question from a document (AI)read-only

    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.

  • batch_scrapeBatch: URLs to Markdownread-only

    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_siteCrawl a site to Markdownread-only

    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.

  • data_to_spreadsheetCreate a spreadsheet from rows

    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.

  • docx_to_pdfDOCX to PDF

    Convert a .docx document (base64) to a PDF. Returns a file_id and a ~1h URL.

  • docx_to_textDOCX to textread-only

    Extract the text of a .docx document (base64). Returns the text inline.

  • extract_dataExtract structured data (AI)read-only

    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 its value, or null when absent.

  • extract_pdf_textExtract text from a PDFread-only

    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.

  • file_to_markdownFile to Markdownread-only

    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 'format' (docx|xlsx|csv) overrides auto-detection.

  • fill_pdf_formFill a PDF form

    Fill a PDF's form fields from a map of field -> value; optionally flatten. Returns a file_id and a ~1h URL.

  • images_to_pdfImages to PDF

    Combine PNG/JPEG images (base64) into a PDF, one image per page. Returns a file_id and a ~1h URL.

  • map_siteMap a site's URLsread-only

    Discover the same-origin URLs linked from a page — the site map, with no page content fetched. Private/internal hosts are blocked.

  • markdown_to_pdfRender Markdown to PDF

    Render Markdown to a clean, print-styled PDF. Returns a file_id and a ~1h URL.

  • merge_pdfsMerge 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.

  • number_pdfNumber PDF pages

    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.

Show 14 more tools
  • pdf_infoRead PDF inforead-only

    Read a PDF's metadata (title, author, subject, keywords, creator, producer, dates) plus page count and page size, as JSON.

  • read_pdf_formRead a PDF formread-only

    List a PDF's form fields (name, type, value, options) as JSON.

  • read_urlRead a web page as Markdownread-only

    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.

  • render_documentGenerate a 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.

  • render_html_to_pdfRender 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.

  • rotate_pdfRotate 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.

  • scrape_pageScrape a web page (HTML + links + metadata)read-only

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

  • select_pagesSelect PDF 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.

  • set_pdf_metadataSet 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.

  • split_pdfSplit a 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.

  • summarize_documentSummarize a document (AI)read-only

    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.

  • url_to_pdfSnapshot a web page as 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_screenshotScreenshot a web page

    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.

  • watermark_pdfWatermark 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.

Signals

Last release
Sep 8, 2026 (1 month ago)

Details

Registry name
com.preteworks/preteworks-api
Version
1.0.2
Auth
Bearer token
License
License unknown
First seen
Oct 24, 2026
Last checked
Oct 24, 2026
Cite this page

PreteWorks API MCP server. Agent Mart. https://agentmart.dev/connectors/preteworks-com-preteworks-api (last updated 2026-10-24)