Sponsored by Deepsite.site

Kelnix Receipt Mcp Api

Created By
Kelnix12 days ago
Description: Turn any receipt into structured, accounting-ready JSON or clean Markdown with one API call. AI-powered vision extracts merchant, date, line items, tax breakdown, totals, currency, and confidence scores — then suggests the right GL account for instant bookkeeping. 7 tools for the full receipt-to-journal-entry pipeline. Built for expense automation agents. 50 free credits on signup, no credit card required.
Overview

Kelnix Receipt MCP

🧾 Kelnix Receipt MCP API

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.

🎁 50 free credits on signup. No credit card required.

🌐 Live at receipt-mcp-api.kelnix.orgInteractive 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

CreditsPricePer 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

PlanCredits/moPrice
🆓 Free50 (signup)$0
⭐ Basic200/mo$15/mo
🚀 Pro2,000/mo$99/mo

🔧 Tool Costs

ToolCost
receipts.process1 credit
receipts.upload_and_process1 credit
accounting.suggest_gl_account1 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

MethodEndpointCostDescription
POST/tools/upload_receiptFreeUpload receipt image/PDF
POST/tools/process_receipt1 creditExtract structured data
POST/tools/upload_and_process1 creditUpload + process in one call (idempotent)
POST/tools/get_receipt_markdownFreeGet processed receipt as Markdown
POST/tools/suggest_gl_account1 creditAI-suggest GL account code
POST/tools/check_balanceFreeCheck credits and plan
POST/tools/list_receiptsFreeList receipts with filters
POST/tools/process_receipt_async1 creditQueue async processing (requires Redis)

💳 Billing

MethodEndpointDescription
POST/billing/buy_creditsBuy credit pack (Stripe Checkout)
POST/billing/subscribeSubscribe to monthly plan
POST/billing/buy_credits_cryptoBuy credits with 300+ cryptocurrencies
POST/billing/check_payment_statusCheck crypto payment status
GET/billing/balanceFull balance with transaction history

📡 Discovery & Info

MethodEndpointDescription
GET/mcpTool catalogue with schemas, examples, constraints
GET/.well-known/mcp.jsonMCP server discovery metadata
GET/pricingPublic pricing (no auth)
GET/legal/termsTerms of Service
GET/legal/privacyPrivacy Policy
GET/integrationsCode snippets for LangGraph, CrewAI, AutoGen
GET/docsInteractive Swagger documentation
GET/healthHealth 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:

FrameworkIntegration
🦜 LangGraphTool node integration
🚢 CrewAIBaseTool subclass
🤖 AutoGenRegistered function
🐍 Raw PythonFull 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.

VariableRequiredDescription
ANTHROPIC_API_KEY✅ YesAnthropic API key for Claude vision
STRIPE_SECRET_KEY❌ NoStripe secret key for billing
STRIPE_WEBHOOK_SECRET❌ NoStripe webhook signing secret
NOWPAYMENTS_API_KEY❌ NoNOWPayments API key for crypto
REDIS_URL❌ NoRedis URL for async processing

📜 License

MIT


Built with ❤️ by Kelnix
Powering the next generation of AI expense agents

Server Config

{
  "mcpServers": {
    "kelnix-receipt": {
      "command": "python",
      "args": [
        "mcp_server.py"
      ],
      "env": {
        "RECEIPT_MCP_API_KEY": "<YOUR_API_KEY>",
        "ANTHROPIC_API_KEY": "<YOUR_ANTHROPIC_KEY>"
      }
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
RedisA Model Context Protocol server that provides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
CursorThe AI Code Editor
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Tavily Mcp
ChatWiseThe second fastest AI chatbot™
DeepChatYour AI Partner on Desktop
WindsurfThe new purpose-built IDE to harness magic
Amap Maps高德地图官方 MCP Server
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
Playwright McpPlaywright MCP server
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Serper MCP ServerA Serper MCP Server
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.