kelnix-receipt-mcp-api
Turn any receipt into structured, accounting-ready JSON or clean Markdown with one API call. AI-powered vision extracts merchant, date, line items, tax, totals, and suggests GL accounts for instant bookkeeping. 50 free credits on signup.
README
<p align="center"> <img src="Kelnix Receipt MCP.png" alt="Kelnix Receipt MCP" width="120"> </p>
<h1 align="center">🧾 Kelnix Receipt MCP API</h1>
Turn any receipt into structured, accounting-ready JSON with one API call. AI vision extracts everything — merchant, date, line items, tax, totals — and suggests GL accounts for instant bookkeeping.
Built for AI agents that automate expense management, accounts payable, and bookkeeping. No dashboard, no login — just an API that speaks MCP.
<a href="https://glama.ai/mcp/servers/kelnixsolutions/kelnix-receipt-mcp-api"> <img width="380" height="200" src="https://glama.ai/mcp/servers/kelnixsolutions/kelnix-receipt-mcp-api/badge" alt="kelnix-receipt-mcp-api MCP server" /> </a>
🎁 50 free credits on signup. No credit card required.
🌐 Live at receipt-mcp-api.kelnix.org — Interactive Docs
📧 Contact: info@kelnix.org | 🔗 kelnix.org
⚡ Quickstart
1️⃣ Register (instant, no approval)
curl -X POST https://receipt-mcp-api.kelnix.org/register_agent \
-H "Content-Type: application/json" \
-d '{"agent_name": "my-expense-bot"}'
✅ Returns your API key + 50 free credits.
2️⃣ Process a receipt (1 credit)
curl -X POST https://receipt-mcp-api.kelnix.org/tools/upload_and_process \
-H "X-API-Key: rct_your-key-here" \
-F "file=@receipt.jpg" \
-F "mime_type=image/jpeg"
✅ Returns structured JSON: vendor, date, line items, totals, tax, currency, confidence scores.
3️⃣ Buy more credits when you need them
# 💳 With card (Stripe)
curl -X POST https://receipt-mcp-api.kelnix.org/billing/buy_credits \
-H "X-API-Key: rct_your-key-here" \
-H "Content-Type: application/json" \
-d '{"credits": 1000}'
# 🪙 With crypto (300+ coins)
curl -X POST https://receipt-mcp-api.kelnix.org/billing/buy_credits_crypto \
-H "X-API-Key: rct_your-key-here" \
-H "Content-Type: application/json" \
-d '{"credits": 1000, "preferred_coin": "eth"}'
💰 Pricing
Credit Packs
| Credits | Price | Per credit |
|---|---|---|
| 100 | $5 | $0.050 |
| 500 | $20 | $0.040 |
| 1,000 | $40 | $0.040 |
| 5,000 | $150 | $0.030 |
| 10,000 | $300 | $0.030 |
📅 Subscriptions
| Plan | Credits/mo | Price |
|---|---|---|
| 🆓 Free | 50 (signup) | $0 |
| ⭐ Basic | 200/mo | $15/mo |
| 🚀 Pro | 2,000/mo | $99/mo |
🔧 Tool Costs
| Tool | Cost |
|---|---|
receipts.process |
1 credit |
receipts.upload_and_process |
1 credit |
accounting.suggest_gl_account |
1 credit |
receipts.upload |
🆓 Free |
receipts.get_markdown |
🆓 Free |
credits.check_balance |
🆓 Free |
receipts.list |
🆓 Free |
Full pricing also available at GET /pricing (no auth required).
📖 API Reference
🔧 Tools
| Method | Endpoint | Cost | Description |
|---|---|---|---|
| POST | /tools/upload_receipt |
Free | Upload receipt image/PDF |
| POST | /tools/process_receipt |
1 credit | Extract structured data |
| POST | /tools/upload_and_process |
1 credit | Upload + process in one call (idempotent) |
| POST | /tools/get_receipt_markdown |
Free | Get processed receipt as Markdown |
| POST | /tools/suggest_gl_account |
1 credit | AI-suggest GL account code |
| POST | /tools/check_balance |
Free | Check credits and plan |
| POST | /tools/list_receipts |
Free | List receipts with filters |
| POST | /tools/process_receipt_async |
1 credit | Queue async processing (requires Redis) |
💳 Billing
| Method | Endpoint | Description |
|---|---|---|
| POST | /billing/buy_credits |
Buy credit pack (Stripe Checkout) |
| POST | /billing/subscribe |
Subscribe to monthly plan |
| POST | /billing/buy_credits_crypto |
Buy credits with 300+ cryptocurrencies |
| POST | /billing/check_payment_status |
Check crypto payment status |
| GET | /billing/balance |
Full balance with transaction history |
📡 Discovery & Info
| Method | Endpoint | Description |
|---|---|---|
| GET | /mcp |
Tool catalogue with schemas, examples, constraints |
| GET | /.well-known/mcp.json |
MCP server discovery metadata |
| GET | /pricing |
Public pricing (no auth) |
| GET | /legal/terms |
Terms of Service |
| GET | /legal/privacy |
Privacy Policy |
| GET | /integrations |
Code snippets for LangGraph, CrewAI, AutoGen |
| GET | /docs |
Interactive Swagger documentation |
| GET | /health |
Health check |
🔐 Authentication
All tool and billing endpoints require the X-API-Key header. Get a key via POST /register_agent.
When you run out of credits, paid endpoints return 402 with links to buy more:
{
"error": "Insufficient credits: 0 available, 1 required.",
"buy_credits_url": "/billing/buy_credits",
"buy_credits_crypto_url": "/billing/buy_credits_crypto",
"pricing_url": "/pricing",
"cheapest_option": "100 credits for $5.00"
}
🔌 MCP Protocol
Works with Claude Desktop, Cursor, and any MCP-compatible client:
{
"mcpServers": {
"kelnix-receipt": {
"command": "python",
"args": ["/path/to/mcp_server.py"],
"env": { "ANTHROPIC_API_KEY": "sk-ant-..." }
}
}
}
Also discoverable via /.well-known/mcp.json and listed on Smithery.ai.
🧩 Framework Integrations
GET /integrations returns ready-to-use code for:
| Framework | Integration |
|---|---|
| 🦜 LangGraph | Tool node integration |
| 🚢 CrewAI | BaseTool subclass |
| 🤖 AutoGen | Registered function |
| 🐍 Raw Python | Full flow with httpx |
See examples/ directory for complete implementations.
🪙 Crypto Payments
Pay with BTC, ETH, SOL, USDC, USDT, DOGE, and 280+ more coins. Credits priced in USD, crypto amount locked at current rate for ~20 minutes.
curl -X POST https://receipt-mcp-api.kelnix.org/billing/buy_credits_crypto \
-H "X-API-Key: rct_your-key-here" \
-H "Content-Type: application/json" \
-d '{"credits": 1000, "preferred_coin": "btc"}'
Returns payment address and exact amount. Credits granted automatically on confirmation.
🛠️ Self-Hosting
git clone https://github.com/kelnixsolutions/Kelnix-Receipt-MCP-API.git
cd Receipt-Accounting-Entry-MCP-Server
pip install -r requirements.txt
export ANTHROPIC_API_KEY=sk-ant-...
uvicorn app:app --host 0.0.0.0 --port 8000
Requires Python 3.11+. See deploy/setup.sh for production deployment with nginx, SSL, and systemd.
| Variable | Required | Description |
|---|---|---|
ANTHROPIC_API_KEY |
✅ Yes | Anthropic API key for Claude vision |
STRIPE_SECRET_KEY |
❌ No | Stripe secret key for billing |
STRIPE_WEBHOOK_SECRET |
❌ No | Stripe webhook signing secret |
NOWPAYMENTS_API_KEY |
❌ No | NOWPayments API key for crypto |
REDIS_URL |
❌ No | Redis URL for async processing |
📜 License
MIT
<p align="center"> <b>Built with ❤️ by <a href="https://kelnix.org">Kelnix</a></b><br> <sub>Powering the next generation of AI expense agents</sub> </p>
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。