How to Use the Ghostfolio (Investment Tracker) MCP in Claude Code
Manage your Ghostfolio MCP Server wealth tracking from the terminal using Claude Code to script trades and fetch portfolio metrics.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Ghostfolio (Investment Tracker) MCP to Claude Code
Create your Vinkius account to connect Ghostfolio (Investment Tracker) to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Script Ghostfolio MCP Server Trades
The `create_activity` tool lets Claude Code push investment actions straight from your command line. You can pipe a CSV of recent trades into the CLI, and the agent iterates through the rows to log every single buy and sell. Zero graphical interfaces involved. Executing `delete_activity` allows you to programmatically clean up mistaken entries. If a cron job double-posts your monthly dividend, you just tell the terminal agent to wipe the duplicates. Fast, scriptable ledger maintenance.
Pull Headless Wealth Metrics
Hitting `get_portfolio_summary` outputs your core performance data directly to stdout. You can run this in a daily bash script to check your net worth and pipe the result into a slack notification. It strips away the web UI and gives you raw numbers. The `get_portfolio_holdings` tool dumps your exact asset allocation into the terminal. When you need to rebalance, Claude Code grabs the JSON payload, compares it against your target weights, and prints the exact trades required.
Audit Brokerage Connections via CLI
Running `list_accounts` pulls down every active portfolio bucket in your system. SREs and developers can use this to verify that all API connections are functioning correctly after a backend update. The `get_market_data_price` tool fetches the latest ticker valuations on demand. You can string this together with grep and jq to build custom terminal dashboards that monitor your highest conviction positions in real time.
Set up Ghostfolio (Investment Tracker) MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seeghostfolio-investment-tracker-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest Ghostfolio (Investment Tracker) transactions." It will automatically discover and invoke the available Ghostfolio (Investment Tracker) tools.
claude mcp add --transport http ghostfolio-investment-tracker-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Ghostfolio (Investment Tracker) MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Ghostfolio (Investment Tracker) MCP today
We host it, we monitor it, we maintain it. You just paste one token.