VB

vanto/beanquery-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

53 stars 5 forks 품질 49 트렌드 13MIT

vanto/beanquery-mcp는 MCP 서버 후보가 https://github.com/vanto/beanquery-mcp.에서 수입되었습니다

개요

vanto/beanquery-mcp는 MCP 서버 후보가 https://github.com/vanto/beanquery-mcp.에서 수입되었습니다

개요(AI 번역)

Beancount MCP Server는 Beancount ledger 파일과 인터페이스하도록 설계된 Model Context Protocol (MCP)의 실험적인 구현입니다. Beancount Query Language (BQL)과 beanquery 도구를 활용하여 이 서버는 Beancount 형식으로 저장된 금융 데이터의 원활한 쿼리 및 분석이 가능합니다. MCP를 통합함으로써 서버는 AI Assistants와 Beancount ledgers 사이의 표준화 된 통신을 촉진하고 금융 데이터의 접근성 및 유틸리티를 강화합니다.

참고 : 이 서버는 실험적이고 상당한 변화를 겪을 수 있습니다. 개발 환경에서 사용하기에 권장하고 더 개선에 대한 피드백을 제공합니다.

생성한 표본 ledger는 표본에서 찾아낼 수 있습니다. 뚱 베어

유효한 자원 및 도구

  • 도구:
  • set_ledger_file: queries (환경 변수를 통해 설정하지 않는 경우)에 대한 Beancount ledger 파일을 설정합니다.
  • run_query: Loaded Beancount 파일에 대한 BQL 쿼리를 실행합니다.
  • ** 자원**:
  • beanquery://tables: BQL이 접근할 수 있는 테이블 목록을 가져옵니다.
  • beanquery://accounts: Loaded Beancount 파일에서 계정 목록을 가져옵니다.

Claude.ai 사용 예제

확장 된 MCP 상호 작용으로 스크린 샷을 들어, 여기를 참조하십시오.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

Beanquery MCP

The Beancount MCP Server is an experimental implementation of the Model Context Protocol (MCP) designed to interface with Beancount ledger files. Leveraging the Beancount Query Language (BQL) and the beanquery tool, this server enables seamless querying and analysis of financial data stored in Beancount format. By integrating MCP, the server facilitates standardized communication between AI assistants and Beancount ledgers, enhancing the accessibility and utility of financial data.

Note: This server is experimental and may undergo significant changes. It is recommended to use it in a development environment and provide feedback for further improvements.

A generated sample ledger can be found in sample.bean

Available Resources and Tools

  • Tools:
    • set_ledger_file: Set the Beancount ledger file to use for queries (if not set via environment variable).
    • run_query: Run a BQL query against the loaded Beancount file.
  • Resources:
    • beanquery://tables: Get a list of tables that BQL can access.
    • beanquery://accounts: Get a list of accounts in the loaded Beancount file.

Example using Claude.ai

For a screenshot with expanded MCP interactions, see here.

⚠️ Privacy Warning

This tool interfaces with language model providers (LLMs) via the Model Context Protocol (MCP), and as such may transmit parts of your Beancount ledger—including potentially confidential or private financial information—to third-party services.

Please use this tool with caution, especially when:

  • Your ledger contains sensitive data (e.g., client names, salary details, health-related expenses).
  • You are using a cloud-hosted or non-self-hosted LLM backend.

Recommendations:

  • Mask or redact sensitive data in test ledgers.
  • Use self-hosted LLMs when possible.
  • Review the data being sent via MCP to ensure compliance with your privacy and security requirements.

[!CAUTION] You are responsible for the protection of your financial data. Do not share ledgers you would not be comfortable exposing.

Setup

Prerequisites

  • Python 3.10 or later
  • uv for managing Python projects (recommended)

Usage

Running the Server

  1. Development Mode: Use the MCP Inspector to test and debug your server:

    mcp dev server.py
    
  2. Claude Desktop Integration: Install the server into Claude Desktop:

    mcp install server.py
    
    • Quick Start:
      uv run mcp install server.py -v BEANCOUNT_LEDGER=$(pwd)/sample.bean --with beancount --with beanquery
      
    • Custom Name:
GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →