PreteWorks MCP
An official MCP server by PreteWorks that exposes 29 tools for document and web operations. It allows AI agents to scrape URLs into Markdown, extract structured data, summarize content, and perform extensive PDF and Office file manipulations such as merging, splitting, form filling, and rendering, all using a single API key.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://api.preteworks.com/mcpWhat its tools do
29 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Read-only (13)
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Passed Official MCP Registry namespace is tied to preteworks.com ·
- Passed Endpoint is on the registry namespace domain ·
- Uptime 100% over 90 days
- Availability 2 of 2 checks passed in 30 days
What you can do with it
- Scrape web pages into clean Markdown for RAG pipelines
- Extract structured data from PDFs and Office files
- Merge, split, and fill PDF forms programmatically
- Generate branded PDF invoices or reports from templates
Source and maintenance
Protocol and capabilities
- Server
- preteworks 1.1.0
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 29 advertised
- Resources
- Not advertised
- Resource templates
- Not advertised
- Prompts
- Not advertised
{
"tools": {
"listChanged": true
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
29 advertised
render_html_to_pdf — 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"html"
],
"properties": {
"html": {
"type": "string",
"description": "The complete HTML document to render."
}
}
}{
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}number_pdf — Number 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"pdf"
],
"properties": {
"pdf": {
"type": "string",
"description": "A file_id from a prior tool result, or a base64-encoded PDF."
},
"start": {
"type": "number",
"description": "First page's number (default 1)."
},
"format": {
"type": "string",
"description": "e.g. '{n}' or '{n} / {total}' (default '{n}')."
},
"position": {
"type": "string",
"description": "Where to place it (default bottom-center)."
}
}
}{
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}pdf_info — Read PDF info
Read a PDF's metadata (title, author, subject, keywords, creator, producer, dates) plus page count and page size, as JSON.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"pdf"
],
"properties": {
"pdf": {
"type": "string",
"description": "A file_id from a prior tool result, or a base64-encoded PDF."
}
}
}{
"readOnlyHint": true,
"openWorldHint": false
}set_pdf_metadata — 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"pdf"
],
"properties": {
"pdf": {
"type": "string",
"description": "A file_id from a prior tool result, or a base64-encoded PDF."
},
"title": {
"type": "string"
},
"author": {
"type": "string"
},
"creator": {
"type": "string"
},
"subject": {
"type": "string"
},
"keywords": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
}
}
}{
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}render_document — Generate 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"template",
"data"
],
"properties": {
"data": {
"type": "object",
"description": "Template data. invoice/receipt: {seller:{name,address?,email?,logo_url?(data: URI)}, buyer?:{name,address?,email?}, number?, issued?/date?, due?, currency?, items:[{description,qty,unit_price}], tax_rate?, notes?, terms?}; receipt also takes amount_paid?, payment_method?. report: {title, subtitle?, author?, date?, sections:[{heading?,body?}]}. Money is computed server-side.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"template": {
"enum": [
"invoice",
"receipt",
"report"
],
"type": "string",
"description": "Document template."
}
}
}{
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}merge_pdfs — 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"pdfs"
],
"properties": {
"pdfs": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 2,
"description": "2+ PDF sources. Each: A file_id from a prior tool result, or a base64-encoded PDF."
}
}
}{
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}select_pages — Select 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"pdf",
"pages"
],
"properties": {
"pdf": {
"type": "string",
"description": "A file_id from a prior tool result, or a base64-encoded PDF."
},
"pages": {
"type": "string",
"description": "Pages to keep, e.g. '1,3,5-7'."
}
}
}{
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}rotate_pdf — 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"pdf",
"degrees"
],
"properties": {
"pdf": {
"type": "string",
"description": "A file_id from a prior tool result, or a base64-encoded PDF."
},
"degrees": {
"type": "number",
"description": "90, 180, or 270."
}
}
}{
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}watermark_pdf — 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"pdf",
"text"
],
"properties": {
"pdf": {
"type": "string",
"description": "A file_id from a prior tool result, or a base64-encoded PDF."
},
"text": {
"type": "string",
"description": "The watermark text."
}
}
}{
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}extract_pdf_text — Extract text from a PDF
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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"pdf"
],
"properties": {
"pdf": {
"type": "string",
"description": "A file_id from a prior tool result, or a base64-encoded PDF."
}
}
}{
"readOnlyHint": true,
"openWorldHint": false
}images_to_pdf — Images to PDF
Combine PNG/JPEG images (base64) into a PDF, one image per page. Returns a file_id and a ~1h URL.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"images"
],
"properties": {
"images": {
"type": "array",
"items": {
"type": "string"
},
"description": "Base64-encoded PNG/JPEG images, one per page (max 20)."
}
}
}{
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}markdown_to_pdf — Render Markdown to PDF
Render Markdown to a clean, print-styled PDF. Returns a file_id and a ~1h URL.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"markdown"
],
"properties": {
"title": {
"type": "string",
"description": "Document title."
},
"markdown": {
"type": "string",
"description": "The Markdown to render."
}
}
}{
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}split_pdf — Split 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"pdf"
],
"properties": {
"pdf": {
"type": "string",
"description": "A file_id from a prior tool result, or a base64-encoded PDF."
},
"ranges": {
"type": "string",
"description": "e.g. '1-3;4-6'. Omit to split every page."
}
}
}{
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}read_pdf_form — Read a PDF form
List a PDF's form fields (name, type, value, options) as JSON.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"pdf"
],
"properties": {
"pdf": {
"type": "string",
"description": "A file_id from a prior tool result, or a base64-encoded PDF."
}
}
}{
"readOnlyHint": true,
"openWorldHint": false
}fill_pdf_form — Fill 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"pdf",
"fields"
],
"properties": {
"pdf": {
"type": "string",
"description": "A file_id from a prior tool result, or a base64-encoded PDF."
},
"fields": {
"type": "object",
"description": "Map of field name to value.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"flatten": {
"type": "boolean",
"description": "Flatten the form after filling (default false)."
}
}
}{
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}file_to_markdown — 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 'format' (docx|xlsx|csv) overrides auto-detection.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"file"
],
"properties": {
"file": {
"type": "string",
"description": "Base64-encoded .docx, .xlsx or .csv file."
},
"format": {
"enum": [
"docx",
"xlsx",
"csv"
],
"type": "string",
"description": "Optional format hint; auto-detected if omitted."
}
}
}{
"readOnlyHint": true,
"openWorldHint": false
}data_to_spreadsheet — Create 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"rows"
],
"properties": {
"rows": {
"type": "array",
"items": {},
"minItems": 1,
"description": "Array of objects (keys→columns) or array of arrays (first row = header)."
},
"format": {
"enum": [
"xlsx",
"csv"
],
"type": "string",
"description": "Output format (default xlsx)."
},
"sheet_name": {
"type": "string",
"description": "Worksheet name (default 'Sheet1')."
}
}
}{
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}batch_scrape — Batch: URLs to Markdown
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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"urls"
],
"properties": {
"urls": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 10,
"minItems": 1,
"description": "1–10 http/https URLs."
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}crawl_site — Crawl a site to Markdown
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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"description": "The root http/https URL."
},
"limit": {
"type": "integer",
"maximum": 8,
"minimum": 1,
"description": "Max pages incl. root (default 5, max 8)."
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}map_site — Map a site's URLs
Discover the same-origin URLs linked from a page — the site map, with no page content fetched. Private/internal hosts are blocked.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"description": "The http/https URL to map."
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}extract_data — Extract structured data (AI)
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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"fields"
],
"properties": {
"pdf": {
"type": "string",
"description": "A file_id from a prior tool result, or a base64-encoded PDF."
},
"url": {
"type": "string",
"description": "A public http/https URL to read."
},
"file": {
"type": "string",
"description": "A base64-encoded .docx, .xlsx or .csv file (converted to text first)."
},
"fields": {
"type": "array",
"items": {
"type": "string"
},
"description": "Field names to extract, e.g. ['invoice total','due date']."
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}summarize_document — Summarize a document (AI)
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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"pdf": {
"type": "string",
"description": "A file_id from a prior tool, or a base64-encoded PDF."
},
"url": {
"type": "string",
"description": "A public http/https URL to read."
},
"file": {
"type": "string",
"description": "A base64-encoded .docx, .xlsx or .csv file."
},
"text": {
"type": "string",
"description": "Raw text to summarize directly."
},
"max_words": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Approximate target length in words.",
"exclusiveMinimum": 0
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}answer_from_document — Answer a question from a document (AI)
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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"question"
],
"properties": {
"pdf": {
"type": "string",
"description": "A file_id from a prior tool, or a base64-encoded PDF."
},
"url": {
"type": "string",
"description": "A public http/https URL to read."
},
"file": {
"type": "string",
"description": "A base64-encoded .docx, .xlsx or .csv file."
},
"text": {
"type": "string",
"description": "Raw text to answer from directly."
},
"question": {
"type": "string",
"description": "The question to answer from the document."
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}docx_to_text — DOCX to text
Extract the text of a .docx document (base64). Returns the text inline.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"docx"
],
"properties": {
"docx": {
"type": "string",
"description": "Base64-encoded .docx file."
}
}
}{
"readOnlyHint": true,
"openWorldHint": false
}docx_to_pdf — DOCX to PDF
Convert a .docx document (base64) to a PDF. Returns a file_id and a ~1h URL.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"docx"
],
"properties": {
"docx": {
"type": "string",
"description": "Base64-encoded .docx file."
}
}
}{
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}read_url — Read a web page as Markdown
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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"description": "The http/https URL to read."
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}url_to_pdf — Snapshot 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"description": "The http/https URL to snapshot."
}
}
}{
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}url_to_screenshot — Screenshot 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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"description": "The http/https URL to capture."
},
"full_page": {
"type": "boolean",
"description": "Capture the full scroll height (default: viewport)."
}
}
}{
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}scrape_page — Scrape a web page (HTML + links + metadata)
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.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"description": "The http/https URL to scrape."
},
"formats": {
"type": "array",
"items": {
"enum": [
"html",
"links",
"metadata"
],
"type": "string"
},
"description": "Which representations to return (default: all three)."
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}Prompts
Not advertised
Resources
Not advertised
90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-02: 3 of 3 checks answered
- 2026-11-03: 4 of 4 checks answered
- 2026-11-04: 4 of 4 checks answered
- 2026-11-05: 4 of 4 checks answered
- 2026-11-06: 4 of 4 checks answered
- 2026-11-07: 2 of 2 checks answered
- 2026-11-09: 1 of 1 checks answered
- 2026-11-10: 2 of 2 checks answered
- 2026-11-11: 1 of 1 checks answered
- 2026-11-12: 1 of 1 checks answered
- 2026-11-14: 1 of 1 checks answered
- 2026-11-15: 2 of 2 checks answered
- 2026-11-16: 4 of 4 checks answered
- 2026-11-17: 5 of 5 checks answered
- 2026-11-18: 5 of 5 checks answered
- 2026-11-19: 4 of 4 checks answered
- 2026-11-20: 3 of 3 checks answered
- 2026-11-21: 4 of 4 checks answered
- 2026-11-22: 4 of 4 checks answered
- 2026-11-23: 3 of 3 checks answered
- 2026-11-24: 4 of 4 checks answered
- 2026-11-25: 4 of 4 checks answered
- 2026-11-26: 4 of 4 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 2 of 2 (100%)
- Average latency
- 2689 ms
- 95th percentile latency
- 2692 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 2692 ms · 29 tool(s)
- · probe · passed · 2685 ms · metadata changed · 29 tool(s)
- · registry · passed · metadata changed · Source metadata updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http preteworks-mcp https://api.preteworks.com/mcpCodex
codex mcp add preteworks-mcp --url https://api.preteworks.com/mcpCursor
{
"mcpServers": {
"preteworks-mcp": {
"url": "https://api.preteworks.com/mcp"
}
}
}Cline
{
"mcpServers": {
"preteworks-mcp": {
"type": "streamableHttp",
"url": "https://api.preteworks.com/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"preteworks-mcp": {
"type": "http",
"url": "https://api.preteworks.com/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http preteworks-mcp https://api.preteworks.com/mcpClaude Desktop
https://api.preteworks.com/mcpWindsurf
{
"mcpServers": {
"preteworks-mcp": {
"serverUrl": "https://api.preteworks.com/mcp"
}
}
}Let your agent find its tools
Find servers like PreteWorks MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other productivity and knowledge servers
Do you run PreteWorks MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.