Real .docx and .xlsx files from structured data, with automatic Hebrew/Arabic RTL.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Live: https://docmcp.onrender.com β free key at POST /keys/free, 10 docs/month.
Paid: $10/mo for 100, $30/mo for 500. Quotas live in PLANS in src/store.ts.
A paid MCP server that turns structured data into real .docx and .xlsx files.
Agents are good at prose and bad at file formats β they emit Markdown and hope. This
gives them a tool that returns a Word or Excel file with actual headings, tables,
bold headers, frozen panes and RTL support.
Returns a short-lived download URL rather than a base64 blob: a 200KB docx inlined into a tool result costs the caller ~70k tokens.
Two modes, one codebase:
--stdio β local client (Claude Desktop / Code). No auth, no quota, no expiry;
files are written to OUT_DIR and the tool returns the path./mcp. API key required, quota metered, files served
as URLs that expire after 24h. This is the product.Already registered in Claude Desktop as docmcp (output β ~/Documents/docmcp).
To register elsewhere:
Absolute paths matter β the client launches with a minimal PATH.
| Tool | Does |
|---|---|
create_docx | headings, paragraphs, bullet/numbered lists, tables, page breaks, rtl for Hebrew/Arabic |
create_xlsx | multi-sheet, bold + frozen header, auto-filter, sized columns, numbers stay numbers |
usage | calls used / quota this month |
| Var | Default | Notes |
|---|---|---|
PORT | 8787 | |
BASE_URL | http://localhost:$PORT | Must be the public URL β it goes in download links |
DATABASE_URL | β | Required. Any Postgres (Koyeb, Neon, Supabase) |
OUT_DIR | out | Generated files, swept hourly, 24h TTL |
STRIPE_SECRET_KEY | β | Omit to run without billing |
STRIPE_WEBHOOK_SECRET | β | For /stripe/webhook |
STRIPE_PRICE_STARTER, STRIPE_PRICE_PRO | β | Price IDs behind /buy/:plan |
Plans and quotas live in PLANS in src/store.ts.
Any Docker host with a Postgres URL. There is no persistent disk requirement: generated files live on the container filesystem and expire in 24h anyway, so a restart only breaks links that were about to die. Everything that must survive β keys, quotas, the IP salt β is in Postgres.
Currently Render (web service, free tier) + Neon (Postgres, free, no expiry). Deliberately two providers: state lives somewhere that isn't tied to whoever is hosting the container this month. Render builds the Dockerfile straight from GitHub.
BASE_URL must be the public URL β it is baked into every download link handed to a
client, so getting it wrong produces links to a host that does not exist. You only
learn the URL after the first deploy, so set it then and redeploy.
Render's free tier sleeps after 15 minutes idle and takes 30β50s to wake. That is the cost of not having a card on file; fix it by upgrading once a customer pays.
/buy/starter β Stripe Checkout β webhook checkout.session.completed β key issued β
customer lands on /success and sees the key there. No email provider needed.
customer.subscription.deleted deactivates it. There are no user accounts: the key
is the account.
Covers both generators (including a ragged table row and a / in a sheet name β both
things an LLM will send eventually), number preservation through an xlsx round-trip,
and that quota stops exactly at the plan limit.
/success. Add email
delivery or a "resend by email" route when the first customer asks.FREE_KEYS_PER_DAY, default 200). Rotating VPNs still defeats it β
nothing stops that, and no free tier anywhere survives a determined attacker. The
limits exist to bound the worst case, not to eliminate it./admin needs ADMIN_TOKEN. Unset, the route 404s, so an unconfigured deploy
never exposes it. Visit /admin?token=β¦.No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/docmcp-word-excel-files)<a href="https://allmcps.com/mcp/docmcp-word-excel-files"><img src="https://allmcps.com/api/badge/docmcp-word-excel-files?style=directory" alt="Docmcp β Word & Excel files on AllMCPs" /></a>