Invoice Query MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Invoice Query MCP Server
Portfolio showcase only. All customers and invoices are fictional sample data. This is not a production product and does not represent a real client engagement.
TypeScript Model Context Protocol (MCP) server that turns a sample invoice CSV into agent-ready tools (list_invoices, get_invoice, invoice_summary, overdue_invoices). Built for Claude Desktop / MCP clients with Zod-validated inputs, Vitest coverage, and a reproducible demo transcript. Shows how to package small, useful data tools for AI agents without dumping whole spreadsheets into the prompt.


Problem
Agents and chat tools often need structured access to tabular finance data (open invoices, overdue balances, customer lookups) without stuffing an entire spreadsheet into the context window.
Related MCP server: Invoice-MCP
Solution
A focused MCP server that loads a sample invoice CSV and exposes four tools:
Tool | Purpose |
| Filter by status, customer substring, amount range, category |
| Fetch one invoice by ID |
| Counts and USD totals (optionally filtered) |
| Shortcut for overdue rows + total |
Stack
TypeScript / Node.js
@modelcontextprotocol/sdk(stdio transport)Zod for tool input schemas
csv-parsefor CSV loadingVitest for unit tests
Quick start
npm install
npm test
npm run build
npm run demo # writes demo/transcript.txt
npm start # stdio MCP server (for Claude Desktop / MCP clients)Claude Desktop config snippet
{
"mcpServers": {
"invoice-query": {
"command": "node",
"args": ["/absolute/path/to/invoice-query-mcp/dist/src/server.js"]
}
}
}Optional: set INVOICE_CSV_PATH to point at a different CSV with the same columns.
Sample data
See data/sample-invoices.csv — twelve fictional local-business invoices used only for demos.
License
MIT © John Gantz
This server cannot be deployed
Maintenance
Related MCP Connectors
Create invoices, clients, and Stripe payment links from any agent. 7 tools. No email or deletes.
Free invoice drafts, templates and direct PDF generation for AI agents. No account needed.
Query your books, company data, business health, and ship invoices from your AI assistant.
Invoicing tools for AI assistants: clients, draft invoices with computed tax, and email sending.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables LLM agents to manage QuickBooks Online invoices, customers, and payments via typed tools with OAuth 2.1 authentication, rate limiting, and retries, plus read-only resources for company and receivables summaries.18MIT
- AlicenseNot gradedqualityBmaintenanceMCP server that gives AI agents read access to subscription/SaaS invoice history, ingested from Gmail and stored in Postgres and MongoDB, with tools for listing invoices, retrieving PDFs, and summarizing spend.441 npmMIT
- AlicenseBqualityAmaintenanceEnables AI assistants to query and manage self-hosted accounting data—invoices, balances, and books—through natural language, with read-only tools by default and optional scoped write operations.3019 PyPI1AGPL 3.0
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to query a connected accounting platform for organisations, invoices, contacts, chart of accounts, and profit-and-loss reports, supporting bookkeeping, AR/AP, and financial reporting workflows.196 npmMIT