AskAIs AI Receipt Generator
Generate professional receipt PDFs and structured receipt data with AI-ready MCP tools.
我该使用它吗
质量与安全性
A
基于对工具定义和协议合规性的自动分析。
上下文开销
~815token 数(工具定义)
~1.9 KB典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 0.64%)
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"askais-mcp": {
"url": "https://askais.com/mcp"
}
}
}远程端点
https://askais.com/mcpstreamable-http它能做什么
工具清单
工具(4)
🟢 只读🟡 写入🔴 删除⚪ 未知
🟢get_usage_rules
Read pricing, free-credit, privacy, and acceptable-use rules before creating an account or receipt.
输入模式
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡create_free_account(accept_terms, preferred_language, client_name, client_version)
Create an AskAIs account without opening a browser. Returns one-time login credentials and an API key with introductory receipt credit. The user must explicitly accept the Terms and Privacy Policy.
输入模式
{
"type": "object",
"properties": {
"accept_terms": {
"type": "boolean",
"const": true,
"description": "Must be true after the user agrees to AskAIs Terms and Privacy Policy."
},
"preferred_language": {
"type": "string",
"enum": [
"en",
"zh-CN",
"zh-TW",
"ja",
"ko"
]
},
"client_name": {
"description": "MCP host name, for example Cursor, Claude Code, Codex, or Gemini CLI.",
"type": "string",
"minLength": 1,
"maxLength": 80
},
"client_version": {
"type": "string",
"maxLength": 40
}
},
"required": [
"accept_terms"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪generate_receipt(api_key, customer_name, contact_person, customer_phone, customer_email, ...)
Generate a downloadable receipt PDF for a legitimate transaction. Costs $0.10 only on successful generation.
输入模式
{
"type": "object",
"properties": {
"api_key": {
"description": "Optional after create_free_account succeeds in this MCP session.",
"type": "string",
"pattern": "^ak_live_.*"
},
"customer_name": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"contact_person": {
"type": "string",
"maxLength": 200
},
"customer_phone": {
"type": "string",
"maxLength": 80
},
"customer_email": {
"type": "string",
"format": "email",
"pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
},
"customer_address": {
"type": "string",
"maxLength": 500
},
"customer_registration_number": {
"type": "string",
"maxLength": 120
},
"invoice_number": {
"type": "string",
"maxLength": 120
},
"date": {
"description": "Receipt date, preferably YYYY-MM-DD.",
"type": "string",
"maxLength": 40
},
"currency": {
"description": "Currency symbol or code, for example USD, HKD, or $.",
"type": "string",
"maxLength": 12
},
"payment_method": {
"type": "string",
"maxLength": 120
},
"total_amount": {
"type": "number",
"exclusiveMinimum": 0
},
"items": {
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 300
},
"quantity": {
"type": "number",
"exclusiveMinimum": 0
},
"unit_price": {
"type": "number",
"minimum": 0
}
},
"required": [
"description"
]
}
},
"notes": {
"type": "string",
"maxLength": 1000
},
"customer_notes": {
"type": "string",
"maxLength": 1000
},
"primary_color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"text_color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"language": {
"type": "string",
"maxLength": 20
},
"confirm_legitimate_transaction": {
"type": "boolean",
"const": true,
"description": "Must be true. Confirms this receipt represents a legitimate transaction and will not be used to deceive."
}
},
"required": [
"customer_name",
"confirm_legitimate_transaction"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_balance(api_key)
Return the remaining prepaid AskAIs API credit for the connected account.
输入模式
{
"type": "object",
"properties": {
"api_key": {
"description": "Optional after create_free_account succeeds in this MCP session.",
"type": "string",
"pattern": "^ak_live_.*"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}社区
证据
最近观测
已验证未记录版本4 个工具
已验证未记录版本4 个工具