
tarunn2799/splitwise-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
MCP サーバは、Splitwise の全ての機能に対応しています。 物事を手動で行うことの痛みを取り除きます.
概要
分割可能なモデルコンテキストプロトコル(MCP)サーバーで、AIエージェントが自然言語で経費、グループ、友人を管理できるようにします。 - : 経費、グループ、友人、コメントの管理 - : 名前(「ジョン」→「ジョン・スミス」)とグループにふさわしいマッチング。 - : OAuth 2.0 (recommended) と API Keys を両方サポートします。 - :カテゴリや通貨などの静的データの性能を最適化します。 詳細は SETUP.md を参照してください。 そこに提供されているキーを使用して、mcp.jsonに3つすべてを追加します。 [https://secure.splitwise.com/apps.]でアプリを登録することで、コンシューマーキーとシークレットを取得できます。 仮想環境の利用 venv または Conda 環境にパッケージをインストールしている場合は、config で python 実行可能 を使用する必要があります。 詳細は SETUP.md をご覧ください。 サーバは、Splitwise データの自然な言語の相互作用を可能にします。 - 「現在のバランスは何ですか?」 - 「サラと$ 50ディナーをスプリット.
概要(AI 翻訳)
分割可能なモデルコンテキストプロトコル(MCP)サーバーで、AIエージェントが自然言語で経費、グループ、友人を管理できるようにします。
##特徴
-フルAPIアクセス:費用、グループ、友人、コメントの管理。 -Natural Language Resolution:名前(「ヨハネ」→「ジョン・スミス」)とグループにふさわしいマッチング。 -Dual Auth: OAuth 2.0 (推奨) と API Keys の両方に対応します。 -Smart Caching:カテゴリや通貨などの静的データのパフォーマンスを最適化します。
インストール
設定
詳細は SETUP.md を参照してください。
クイックコンフィグ
付属のセットアップスクリプトを実行します。
そこに提供されたキーを使用して、すべての 3 つを [mcp.json] に追加します。
Auth キーの取得 [https://secure.splitwise.com/apps.でアプリを登録することで、コンシューマーキーとシークレットを取得できます。
重要: 仮想環境を使用する?
venvまたは Conda 環境にパッケージをインストールした場合は、コンフィグで実行可能な python に absolute path を使用する必要があります。 ツイート ツイート
詳細は SETUP.md を参照してください。
使用法
サーバは、Splitwise データの自然な言語の相互作用を可能にします。
例:
- 「現在の残高とは?」
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Splitwise MCP Server
A Model Context Protocol (MCP) server for Splitwise, enabling AI agents to manage expenses, groups, and friends with natural language.
Features
- Full API Access: Manage expenses, groups, friends, and comments.
- Natural Language Resolution: Fuzzy matching for names (“John” -> “John Smith”) and groups.
- Dual Auth: Supports both OAuth 2.0 (recommended) and API Keys.
- Smart Caching: Optimizes performance for static data like categories and currencies.
Installation
# From PyPI (when published)
pip install splitwise-mcp-server
# From Source
git clone https://github.com/tarunn2799/splitwise-mcp-server
cd splitwise-mcp-server
pip install -e .
Configuration
See SETUP.md for detailed authentication and configuration instructions.
Quick Config
Run the included setup script:
python -m splitwise_mcp_server.oauth_setup
Use the keys provided there, and add all three to your mcp.json:
{
"mcpServers": {
"splitwise": {
"command": "python",
"args": ["-m", "splitwise_mcp_server"],
"env": {
"SPLITWISE_OAUTH_ACCESS_TOKEN": "your_token_here"
}
}
}
}
Get your Auth Keys You can get your Consumer Key and Secret by registering an app at https://secure.splitwise.com/apps.
IMPORTANT: Using a Virtual Environment? If you installed the package in a
venvor Conda environment, you must use the absolute path to the python executable in your config."command": "/absolute/path/to/venv/bin/python"See SETUP.md for details.
Usage
The server enables natural language interactions with your Splitwise data.
Examples:
- “What’s my current balance?”
- “Split a $50 dinner with Sarah.”
- “Use the receipt I uploaded to split the dinner between Manav and me.”
- “Show me expenses from last month.”
- “Create a group called ‘Ski Trip’ with Mike.”
Tools
See TOOLS.md for detailed documentation.
User Tools
get-current-user: Get authenticated user informationget-user: Get information about a specific user
Expense Tools
create-expense: Create a new expense with splitsget-expenses: List expenses with optional filtersget-expense: Get detailed expense informationupdate-expense: Update an existing expensedelete-expense: Delete an expense
Group Tools
get-groups: List all groupsget-group: Get detailed group informationcreate-group: Create a new groupdelete-group: Delete a groupadd-user-to-group: Add a user to a groupremove-user-from-group: Remove a user from a group
Friend Tools
get-friends: List all friendsget-friend: Get detailed friend information
Resolution Tools
resolve-friend: Fuzzy match friend names to user IDs
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"splitwise": {
"command": "python",
"args": ["-m", "splitwise_mcp_server"],
"env": {
"SPLITWISE_OAUTH_ACCESS_TOKEN": "your_token_here"
}
}
}
}