Enables automated retrieval and parsing of Hetzner Cloud invoices, including fetching invoice PDFs, extracting structured data, and accessing line-item details.
Provides programmatic access to the OpenCollective GraphQL API v2 to manage collectives, search accounts, process expenses, query ledger transactions, and handle member information.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@OpenCollective MCP ServerSubmit the latest Hetzner invoice as an expense to my collective"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
OpenCollective MCP Server
A Model Context Protocol server that gives AI agents programmatic access to OpenCollective, Hetzner Cloud, and Cloudflare — enabling automated bookkeeping, collective management, and invoice handling without manual intervention.
What is it?
This MCP server exposes 22 tools that let AI agents interact with:
OpenCollective GraphQL API v2 — Manage collectives, submit expenses, process payments, query transactions, and handle members
Hetzner Cloud invoices — Automatically fetch, parse, and reconcile hosting invoices
Cloudflare billing — Track CDN and hosting costs via the billing history API
The Problem
If you run an OpenCollective-backed project with infrastructure on Hetzner, you face a tedious monthly ritual:
Log into Hetzner → navigate to invoices → download the PDF
Manually extract the amount, date, and line items
Log into OpenCollective → create a new expense → copy-paste the data
Submit and wait for approval
Repeat every month. Forever.
This MCP automates it.
Who is it for?
Open collective maintainers who want to automate expense workflows
DevOps engineers running infrastructure on Hetzner who track costs via OpenCollective
AI developers building agents that need to manage budgets, expenses, or financial reporting
Bookkeepers tired of copy-pasting invoice data between systems
What can it do?
OpenCollective Operations (13 tools)
Tool | What it does |
| Get detailed info about any collective (balance, stats, social links) |
| Search across all OpenCollective accounts |
| Get the authenticated user's account |
| Update collective profile (name, description, tags, currency) |
| List members, backers, and their donation totals |
| Query expenses with rich filters (status, type, date, tags) |
| Get full expense details by ID |
| Submit new expenses (INVOICE, RECEIPT, GRANT, etc.) |
| Modify existing expenses |
| Remove expenses |
| Approve, reject, pay, hold, or release expenses |
| Query the ledger (credits/debits, linked expenses) |
| Escape hatch for any GraphQL operation |
Hetzner Operations (6 tools)
Tool | What it does |
| List all invoices (paginated) |
| Get a specific invoice by ID |
| Fetch the most recent invoice |
| Download invoice as PDF (base64) |
| Extract structured data from invoice PDF |
| Get line-item breakdown from usage portal |
Cloudflare Operations (3 tools)
Tool | What it does |
| List billing history (paginated). Auto-converts USD to EUR using historical ECB rates |
| Get a specific billing item by ID. Includes EUR conversion |
| Fetch the most recent billing item. Returns |
The Monthly Bookkeeping Workflow
That's it. One agent prompt = one booked expense.
What it's NOT
Not a replacement for human judgment — Expenses still need approval based on your collective's policies
Not a financial advisory tool — It moves data, not money; you control the payouts
Not limited to Hetzner — The
oc_execute_graphqltool lets you run any OpenCollective operation, so you can manage Stripe payouts, Wise transfers, or budget forecastingNot a GUI — It's a backend for AI agents; use the OpenCollective dashboard for manual tasks
Quick Start
1. Clone and install
2. Configure environment
Copy .env.example to .env and fill in:
Variable | Required for | How to get it |
| Write operations | OpenCollective dashboard → For Developers → Personal Tokens |
| Hetzner invoice tools | Your Hetzner account email |
| Hetzner invoice tools | Your Hetzner password |
| Hetzner invoice tools (if 2FA) | Shown when you enable 2FA |
| Cloudflare billing tools | Cloudflare dashboard → My Profile → API Tokens → Create Token with "Billing:Read" permission |
3. Run the server
4. Connect to Claude Desktop
Add to your ~/.claude.json:
Why build this?
Because infrastructure costs should be visible, automated, and auditable — exactly what OpenCollective provides for open source projects.
We built this to solve our own bookkeeping pain: tracking Hetzner hosting costs for Going Dark and automatically submitting them as expenses each month. Now our AI agent does it.
If you run a collective with cloud infrastructure, this saves you 15–30 minutes every month — and eliminates human error from manual data entry.
License
Apache License 2.0
Built with FastMCP, httpx, and Playwright.