API Keg — Office OOXML Template Merge & Markdown Extractor
MCP server that merges Word/PowerPoint templates and converts Office files to Markdown
Answered our latest tool-list check 3 days ago with 6 tools. It will be marked verified after 3 successful checks in 7 days.
API Keg — Office OOXML Template Merge & Markdown Extractor is a paid MCP server for files and documents. It runs as a hosted remote server, so there is nothing to install locally.
- Pricing
- Paid
- Platforms
- API
- Runs
- Remotely
- What it can do
- Can delete data (1 tool)
- Version
- 1.0.0
- Listing updated
Similar MCP servers
Install
You install MCP servers on a computer. Send yourself the link.
Add with the CLI
Run in a terminal
claude mcp add --transport http office-template https://office-template.apikeg.com/mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"office-template": {
"type": "http",
"url": "https://office-template.apikeg.com/mcp"
}
}
}In Customize → Connectors → Add → Add custom connector
https://office-template.apikeg.com/mcpPaste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"office-template": {
"url": "https://office-template.apikeg.com/mcp"
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"office-template": {
"type": "http",
"url": "https://office-template.apikeg.com/mcp"
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
In chatgpt.com → Plugins → + → Add custom MCP server
https://office-template.apikeg.com/mcpPaste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.
Add with the CLI
Run in a terminal
codex mcp add office-template --url https://office-template.apikeg.com/mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.office-template]
url = "https://office-template.apikeg.com/mcp"Add to Grok Bot desktop app → Connect apps → Add a custom connector
https://office-template.apikeg.com/mcpEnter a Name (for example "API Keg — Office OOXML Template Merge & Markdown Extractor"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.
Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"office-template": {
"type": "http",
"url": "https://office-template.apikeg.com/mcp"
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "office-template": { "httpUrl": "https://office-template.apikeg.com/mcp" } } }Or run: gemini mcp add -s user --transport http office-template https://office-template.apikeg.com/mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "office-template": { "serverUrl": "https://office-template.apikeg.com/mcp" } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "office-template": { "url": "https://office-template.apikeg.com/mcp", "transport": "http" } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "office-template": { "type": "streamableHttp", "url": "https://office-template.apikeg.com/mcp" } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "office-template": { "url": "https://office-template.apikeg.com/mcp" } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "office-template": { "url": "https://office-template.apikeg.com/mcp" } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "office-template": { "url": "https://office-template.apikeg.com/mcp" } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "office-template": { "url": "https://office-template.apikeg.com/mcp" } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About API Keg — Office OOXML Template Merge & Markdown Extractor
Filling a Word or PowerPoint template by hand, or feeding Office files to a language model, both tend to break down quickly. This server handles the file-level work: it repairs placeholders that Word has split across several XML runs, keeps the typography of the opening run, and duplicates table rows for loop blocks so invoice-style tables fill correctly. Replacements apply across body text, headers, footers and slides, and any placeholders that found no match are returned so nothing disappears silently.
The second tool turns .docx, .pptx and .xlsx files into compact GitHub-flavored Markdown, covering headings, lists, tables, ordered slides, speaker notes and sparse spreadsheet sheets. It reports token-savings figures with each conversion. The service runs as a Cloudflare edge engine and is reachable over streamable HTTP, with pay-per-request x402 payments in USDC on Base or a monthly API key. Requests can be validated first with a dry-run flag at no cost.
Tools this server provides (6)
Read directly from the server.
The server marks 1 of 6 tools as able to delete data and 3 as able to change data.
From the server's own tool labels and tool names; not verified by us.
- merge_office_templateSays read-only
- Populates {{variable}} placeholders and {{#loop}}...{{/loop}} table rows across .docx and .pptx body text, headers, footers, and slides while preserving template styling, returning the merged Base64 document and any unmatchedPlaceholders. Pricing: $0.004 USD per Office template merge (.docx or .pptx) (x402 instant micropayment). Defaults to HTTP 402 (x402); if your client lacks 402 support, sign i
- extract_office_markdownSays read-only
- Auto-detects .docx, .pptx, or .xlsx from OOXML structure and converts headings, lists, Word/PowerPoint tables, numerically ordered slides, speaker notes, and sparse Excel worksheets into compact GitHub-Flavored Markdown with token-savings telemetry. Pricing: $0.002 USD per Office document extraction (.docx, .pptx, or .xlsx) (x402 instant micropayment). Defaults to HTTP 402 (x402); if your client l
- account_send_verification_codeSays it can change data
- Free ($0.00). Sends a 9-character verification code (AAA-AAA-AAA) to the user's email address to register, sign in, or view their current ak_live_... API key without rotating it. Ask for the email and resulting code using your built-in interactive question tool (AskUserQuestion / ask_question).
- account_verify_and_checkoutSays it can change data
- Free ($0.00). Verifies the 9-character email code from account_send_verification_code, returns the user's current ak_live_... API key on the first call (even if already registered, without rotating their key!), and optionally creates a direct Stripe Checkout URL for "office-template" ($5, $20, or $50/mo).
- account_create_checkoutSays it can change data
- Free ($0.00). Generates a direct Stripe Checkout URL (https://checkout.stripe.com/...) for "office-template" ($5, $20, or $50/mo) using either the connected Authorization header or an apiKey.
- account_rotate_api_keySays it can change data
- Free ($0.00). Rotates the user's ak_live_... API key immediately without requiring an email verification code, authenticating with either the connected Authorization header or the current apiKey.
What it does
- Split run repair
- Reassembles {{variable}} placeholders that Word has broken across multiple XML runs before replacing them.
- Table loop expansion
- Repeats table rows for {{#loop}} blocks so each data item gets its own row.
- Style-preserving replacement
- Keeps the formatting of the opening run and the styling of cells during substitution.
- Cross-part variable fill
- Replaces variables in document body, headers, footers and PowerPoint slides.
- Unmatched placeholder report
- Returns any placeholders that had no matching value so gaps are visible.
- Office to Markdown extraction
- Converts .docx, .pptx and .xlsx files into token-efficient Markdown with speaker notes included.
- Dry-run validation
- Checks request payloads at no cost before any paid merge or extraction runs.
Good for
- Generate invoices or reports in Word from JSON data without breaking formatting
- Produce PowerPoint decks from a branded template and a set of variables
- Feed Office documents to an LLM as compact Markdown instead of raw XML
- Fill repeating table rows in contract or quote templates from structured records
Pricing
Paid, from $5 a month
Pay per request at $0.004 per merge and $0.002 per extraction; monthly plans at $5, $20 and $50 per product
Prices change. Check office-template.apikeg.com before you buy.
API Keg — Office OOXML Template Merge & Markdown Extractor FAQ
How is the server connected to an AI client?
It exposes a streamable HTTP MCP endpoint at https://office-template.apikeg.com/mcp, and a ready-made JSON configuration block is provided for MCP clients.
How is API Keg — Office OOXML Template Merge & Markdown Extractor paid for?
Requests can be paid per call at $0.004 for a template merge and $0.002 for an extraction using x402 USDC on Base, or through a monthly API key with plans at $5, $20 or $50 per product.
Can I test a request without being charged?
Yes. Adding ?dry_run=true to the URL or sending an X-Dry-Run header validates the payload at no cost.
Which file types can be extracted to Markdown?
The extraction tool detects .docx, .pptx and .xlsx files automatically from their OOXML structure.
How do I add API Keg — Office OOXML Template Merge & Markdown Extractor to Claude Code?
Run this command in your terminal: claude mcp add --transport http office-template https://office-template.apikeg.com/mcp
What are the best alternatives to API Keg — Office OOXML Template Merge & Markdown Extractor?
The closest alternatives to API Keg — Office OOXML Template Merge & Markdown Extractor are OfficeCTRL, Aigroup Mdtoword MCP, Mdmagic MCP Server, PDF & DOCX to Markdown and Document to Markdown for AI Agents.
Where this comes from
- Description: written from the project's website and its MCP Registry entry.
- Status and tools: checked automatically by AIPoweredBot on 3 December 2026.
- Install steps: from the official MCP Registry entry.
