Skip to content

Scripts Example Scripts

gitea edited this page Aug 14, 2026 · 2 revisions

Scripts: Example Scripts

Skeleton — to be filled in.

Planned examples (small, runnable Python scripts using an MCP client library, against a local pp-mcp instance):

  1. Minimal client: connect and call ping
  2. Print account balances for all accounts (list_accounts + get_account_balance)
  3. Export all transactions of a date range to CSV (get_transactions)
  4. Print current holdings with valuation (get_holdings)
  5. Plot portfolio value over time (get_holdings_history + a charting library)
  6. Multi-source example: aggregate account balances across all configured sources (list_data_sources + loop)

Each example should include: prerequisites, full script, and expected output.


← Function Reference · Home

Clone this wiki locally