loading…
Search for a command to run...
loading…
MCP server for iCost iOS app that enables smart expense tracking, category management, and account operations through natural language, supporting multiple acco
MCP server for iCost iOS app that enables smart expense tracking, category management, and account operations through natural language, supporting multiple account types and currencies.
Python Version License FastMCP PyPI GitHub
基于 FastMCP 2.0 框架构建的模型上下文协议(MCP)服务,专为 iCost iOS 记账应用提供智能记账功能集成(⚠️当前只支持 MacOS 平台)。


icost_add_record): 🆕 新增统一工具,一个工具支持所有记账操作icost_open_app): 快速跳转到 iCost 应用的特定功能页面asset_main: 资产首页chart_main: 统计首页quick_record: 记账页面icost_categories): 提供完整的收入和支出分类列表current_time): 获取当前时间用于记账am(), pm(), default_time() 等便捷时间设置服务器支持以下配置参数:
| 参数 | 默认值 | 说明 |
|---|---|---|
--transport |
stdio, http | 通信协议,默认stdio |
--host |
localhost | 服务器绑定主机 |
--port |
9000 | 服务器端口 |
--debug |
False | 调试模式 |
--log-level |
INFO | 日志级别 |
直接在 MCP Client 配置中使用安装并运行的命令:
Claude Desktop/Cherry Studio...:
// uvx
{
"mcpServers": {
"icost-app-mcp-server": {
"command": "uvx",
"args": [
"icost-app-mcp-server"
]
}
}
}
// bash
{
"mcpServers": {
"icost-app-mcp-server": {
"command": "sh",
"args": ["-c", "pip install --quiet icost-app-mcp-server && icost-app-mcp-server"]
}
}
}
// -- 方式2:本地已经install过
{
"mcpServers": {
"icost-app-mcp-server": {
"command": "icost-app-mcp-server"
}
}
}
// -- 方式3
// bash
python icost-app-mcp-server --transport http --host localhost --port 9000
// mcp server config
{
"mcpServers": {
"icost-app-mcp-server": {
"url": "http://localhost:9000"
}
}
}
# 安装最新版本
pip install icost-app-mcp-server
# 验证安装
icost-app-mcp-server --help
# 使用默认配置启动
icost-app-mcp-server
# 自定义主机和端口
icost-app-mcp-server --host 0.0.0.0 --port 8080
# 启用调试模式
icost-app-mcp-server --debug --log-level DEBUG
集成成功后,您应该能在 MCP Client 中看到以下工具:
icost_add_record - 🆕 统一记账工具,支持支出/收入/转账icost_open_app - 打开 iCost 应用页面icost_categories - 获取支持的分类current_time - 获取当前时间餐饮、购物、交通、日用、通讯、住房、医疗、医疗健康、服饰、数码电器、汽车、学习、办公、运动、社交、人情、育儿、母婴亲子、旅行、烟酒、扫二维码付款、充值缴费、生活服务、文化休闲、理财、水果、其他
工资、奖金、福利、退款、红包、副业、退税、投资、其他
我们欢迎各种形式的贡献!如有问题或建议,请通过 GitHub Issues 提交。
本项目采用 MIT 许可证 - 查看 LICENSE 文件了解详情。
Выполни в терминале:
claude mcp add icost-app-mcp-server -- npx Безопасность
Низкий рискАвтоматическая эвристика по публичным данным — не гарантия безопасности.