kelnix-receipt-mcp-api

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.

Category
Visit Server

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>

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured