Up Banking MCP Server

Up Banking MCP Server

Enables integration with Up Banking API to query account balances, transaction history, and spending categories. Supports filtering transactions by date, category, tags, and account type for comprehensive banking insights.

Category
访问服务器

README

Up Banking MCP Server

A Model Context Protocol (MCP) server that provides integration with the Up Banking API. This server allows Claude to interact with your Up banking data, including accounts, transactions, and categories.

<a href="https://glama.ai/mcp/servers/@alex1092/up-bank-mcp-server"> <img width="380" height="200" src="https://glama.ai/mcp/servers/@alex1092/up-bank-mcp-server/badge" alt="Up Banking Server MCP server" /> </a>

Features

  • Account Management: List all accounts, get account details and balances
  • Transaction History: Query transactions with flexible filtering (date range, status, category, tags)
  • Category Information: Access Up's spending categories for better transaction insights
  • Type-Safe: Built with TypeScript for reliability and developer experience
  • Secure: Uses Up's personal access token for authentication

Prerequisites

  • Node.js 18 or higher
  • An Up bank account
  • Up personal access token

Installation

  1. Clone or download this repository:
cd up-mcp-server
  1. Install dependencies:
npm install
  1. Build the server:
npm run build

Getting Your Up API Token

  1. Open the Up app on your phone
  2. Swipe right and select "Data sharing"
  3. Tap on 'Personal Access Token'
  4. Select 'Generate a token'
  5. Choose how long you want the token to last
  6. Follow the prompts and copy your token securely

Important: Keep your token secure! Never share it or commit it to version control.

Configuration

Claude Desktop Configuration

Add this to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "up-banking": {
      "command": "node",
      "args": ["/absolute/path/to/up-mcp-server/build/index.js"],
      "env": {
        "UP_API_TOKEN": "your_up_api_token_here"
      }
    }
  }
}

Replace /absolute/path/to/up-mcp-server with the actual path to this directory, and replace your_up_api_token_here with your Up personal access token.

Alternative: Using npx

You can also run the server directly with npx:

{
  "mcpServers": {
    "up-banking": {
      "command": "npx",
      "args": ["-y", "/absolute/path/to/up-mcp-server"],
      "env": {
        "UP_API_TOKEN": "your_up_api_token_here"
      }
    }
  }
}

Available Tools

up_ping

Test the API connection and verify authentication is working.

up_list_accounts

List all accounts with optional filtering by account type or ownership.

Parameters:

  • accountType (optional): Filter by "SAVER", "TRANSACTIONAL", or "HOME_LOAN"
  • ownershipType (optional): Filter by "INDIVIDUAL" or "JOINT"

up_get_account

Get detailed information about a specific account.

Parameters:

  • accountId (required): The account ID

up_list_transactions

List transactions with comprehensive filtering options.

Parameters:

  • accountId (optional): Filter to a specific account
  • status (optional): "HELD" (pending) or "SETTLED"
  • since (optional): Start date in RFC 3339 format (e.g., "2024-01-01T00:00:00+10:00")
  • until (optional): End date in RFC 3339 format
  • category (optional): Category ID (e.g., "restaurants-and-cafes")
  • tag (optional): Transaction tag
  • pageSize (optional): Number of results (1-100)

up_get_transaction

Get detailed information about a specific transaction.

Parameters:

  • transactionId (required): The transaction ID

up_list_categories

List all spending categories in Up.

Parameters:

  • parentId (optional): Filter to children of a specific parent category

up_get_category

Get details about a specific category.

Parameters:

  • categoryId (required): The category ID (e.g., "restaurants-and-cafes")

Usage Examples

Once configured, you can ask Claude questions like:

  • "What's my current account balance?"
  • "Show me all transactions from last month"
  • "How much did I spend on restaurants this week?"
  • "List all my saver accounts"
  • "What are the pending transactions in my spending account?"
  • "Show me all transactions tagged with 'vacation'"

Development

Watch Mode

For development with automatic recompilation:

npm run dev

Testing the Connection

After configuration, restart Claude Desktop and try:

Can you ping the Up API to verify the connection?

Troubleshooting

"UP_API_TOKEN environment variable is required"

Make sure you've added your Up API token to the env section of your Claude Desktop config.

"Up API error: 401"

Your API token is invalid or expired. Generate a new token in the Up app.

Server not appearing in Claude

  1. Check that the path to build/index.js is absolute and correct
  2. Verify the JSON syntax in your config file is valid
  3. Restart Claude Desktop completely
  4. Check Claude's logs for error messages

Security Notes

  • Your Up API token grants full read access to your banking data
  • Never commit your token to version control
  • Use environment variables or secure configuration management
  • Token access can be revoked anytime in the Up app
  • Consider setting an expiration date for your tokens

API Rate Limits

The Up API has rate limits. The server will return error messages if limits are exceeded. Use pagination and filtering to minimize API calls.

Contributing

This is a basic implementation covering the main read operations. Potential enhancements:

  • Add webhook support for real-time transaction notifications
  • Implement transaction categorization updates
  • Add attachment/receipt support
  • Support for pagination with cursor-based browsing

License

MIT

Related Links

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选