Local-first, read-only MCP server to talk to your XP Investimentos portfolio through Claude Desktop. TypeScript + SQLite. Zero scraping, zero credentials.
xp-mcp is a privacy-focused tool that lets you chat with Claude Desktop about your XP Investimentos portfolio. You export your official portfolio reports from XP (PDF or CSV), import them into the tool, and then ask your AI assistant natural questions like 'show me all my positions,' 'am I too heavy in bonds?', or 'which CDBs mature next year?' The tool stores everything locally on your computer, makes no internet calls, and cannot place orders — it's read-only by design. It also helps you compare your current allocation against a target you've set and suggests specific buy/sell amounts to rebalance.
How It Works
You've been investing through XP Investimentos but the app can't answer questions like 'am I too heavy in bonds?' or 'which CDBs mature soon?'
You add a simple line to your Claude Desktop settings so it can access your investment data — no passwords or logins needed.
From XP's website, you download your official portfolio report as a PDF or CSV — the same reports you've always had access to.
You tell your assistant to read your exported file. It parses everything and stores it safely on your own computer — nothing goes to the internet.
See every stock, fund, CDB, and Treasury bond you own with current values
Check if your allocation matches your goals and get specific buy/sell suggestions
Find out which fixed-income investments are coming due soon
No more guessing. Your assistant knows exactly what you own, how it's allocated, and what moves to consider — all from your own data, kept private on your machine.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.