Ghostfolio MCP Server
MCP server for Ghostfolio portfolio management and financial data access
Ghostfolio MCP scores 37 (Limited), licensed AGPL-3.0 and written in Python. It installs as a local process. It declares 40 tools. Filed under Developer tools, AI and memory, Finance. GitHub shows 21 stars. Package registries report about 164 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Limited trust
37 of 100 from six public signals. Nobody can buy a point.
- OSI-style license: agpl-3.0.
License, quality and maintenance
License: Grade C
AGPL-3.0 is a strong copyleft license: derived works must use the same license.
How license is gradedQuality: Grade B
70/100 for listing completeness. Lost points: no README, 1 of 40 tools barely described, short summary.
How quality is graded
Where the 37 comes from
0 + 6 + 8 + 10 + 10 + 3 = 37. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 0 of 30 points.How recently the repository saw a commit or release.
Maintenance: 6 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 8 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 10 of 10 points.A real summary, a README with depth, listed tools.
Docs: 3 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "mhajder-ghostfolio-mcp": { "command": "uvx", "args": [ "ghostfolio-mcp" ], "env": { "GHOSTFOLIO_URL": "", "GHOSTFOLIO_TOKEN": "YOUR_GHOSTFOLIO_TOKEN", "GHOSTFOLIO_VERIFY_SSL": "true", "GHOSTFOLIO_TIMEOUT": "30", "READ_ONLY_MODE": "false", "GHOSTFOLIO_DISABLED_TAGS": "", "LOG_LEVEL": "INFO", "RATE_LIMIT_ENABLED": "false", "RATE_LIMIT_MAX_REQUESTS": "60", "RATE_LIMIT_WINDOW_MINUTES": "1", "TOOL_SEARCH_ENABLED": "false", "TOOL_SEARCH_STRATEGY": "bm25", "TOOL_SEARCH_MAX_RESULTS": "5" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
GHOSTFOLIO_URL | Required | Ghostfolio base URL (e.g., https://domain.tld:3333) |
GHOSTFOLIO_TOKENSecret | Required | Ghostfolio API token for authentication |
GHOSTFOLIO_VERIFY_SSL | Optional | Verify SSL certificates (true/false) |
GHOSTFOLIO_TIMEOUT | Optional | Request timeout in seconds |
READ_ONLY_MODE | Optional | Enable read-only mode to restrict write operations |
GHOSTFOLIO_DISABLED_TAGS | Optional | Comma-separated list of tags to disable tools for |
LOG_LEVEL | Optional | Logging level (DEBUG, INFO, WARNING, ERROR, CRITICAL) |
RATE_LIMIT_ENABLED | Optional | Enable rate limiting |
RATE_LIMIT_MAX_REQUESTS | Optional | Maximum requests per rate limit window |
RATE_LIMIT_WINDOW_MINUTES | Optional | Rate limit window in minutes |
TOOL_SEARCH_ENABLED | Optional | Enable FastMCP tool search transform |
TOOL_SEARCH_STRATEGY | Optional | Tool search strategy (bm25 or regex) |
TOOL_SEARCH_MAX_RESULTS | Optional | Maximum tool search results returned by search_tools |
GHOSTFOLIO_URL | Required | Ghostfolio base URL (e.g., https://domain.tld:3333) |
GHOSTFOLIO_TOKENSecret | Required | Ghostfolio API token for authentication |
GHOSTFOLIO_VERIFY_SSL | Optional | Verify SSL certificates (true/false) |
GHOSTFOLIO_TIMEOUT | Optional | Request timeout in seconds |
READ_ONLY_MODE | Optional | Enable read-only mode to restrict write operations |
GHOSTFOLIO_DISABLED_TAGS | Optional | Comma-separated list of tags to disable tools for |
LOG_LEVEL | Optional | Logging level (DEBUG, INFO, WARNING, ERROR, CRITICAL) |
RATE_LIMIT_ENABLED | Optional | Enable rate limiting |
RATE_LIMIT_MAX_REQUESTS | Optional | Maximum requests per rate limit window |
RATE_LIMIT_WINDOW_MINUTES | Optional | Rate limit window in minutes |
TOOL_SEARCH_ENABLED | Optional | Enable FastMCP tool search transform |
TOOL_SEARCH_STRATEGY | Optional | Tool search strategy (bm25 or regex) |
TOOL_SEARCH_MAX_RESULTS | Optional | Maximum tool search results returned by search_tools |
MCP_HTTP_PORT | Optional | Port for HTTP server (default: 8000) |
MCP_TRANSPORT | Optional | MCP transport type: stdio, sse, or http (alias: streamable-http) |
GHOSTFOLIO_URL | Required | Ghostfolio base URL (e.g., https://domain.tld:3333) |
GHOSTFOLIO_TOKENSecret | Required | Ghostfolio API token for authentication |
GHOSTFOLIO_VERIFY_SSL | Optional | Verify SSL certificates (true/false) |
GHOSTFOLIO_TIMEOUT | Optional | Request timeout in seconds |
READ_ONLY_MODE | Optional | Enable read-only mode to restrict write operations |
GHOSTFOLIO_DISABLED_TAGS | Optional | Comma-separated list of tags to disable tools for |
LOG_LEVEL | Optional | Logging level (DEBUG, INFO, WARNING, ERROR, CRITICAL) |
RATE_LIMIT_ENABLED | Optional | Enable rate limiting |
RATE_LIMIT_MAX_REQUESTS | Optional | Maximum requests per rate limit window |
RATE_LIMIT_WINDOW_MINUTES | Optional | Rate limit window in minutes |
TOOL_SEARCH_ENABLED | Optional | Enable FastMCP tool search transform |
TOOL_SEARCH_STRATEGY | Optional | Tool search strategy (bm25 or regex) |
TOOL_SEARCH_MAX_RESULTS | Optional | Maximum tool search results returned by search_tools |
MCP_HTTP_PORT | Optional | Port for HTTP server (default: 8000) |
Tools40Tool docs quality grade C
All capabilitiesAdd one or more market data points for an asset (typically a MANUAL data source — Ghostfolio rejects writes for auto-fetched sources)
add_to_watchlisttoolAdd a symbol to the user's watchlist
create_accounttoolCreate a new account in your portfolio
Set an account's balance for a specific date in its balance history (defaults to today)
create_activitytoolCreate a single new transaction/activity in your portfolio (BUY, SELL, DIVIDEND, INTEREST, FEE, etc.), optionally with tags
delete_accounttoolDelete an existing account from your portfolio (destructive operation)
Delete a single entry from an account's balance history
delete_activitytoolDelete a single activity/transaction by its ID (destructive operation)
Delete an asset profile (destructive operation; may delete associated activities and market data depending on backend rules)
export_portfoliotoolExport portfolio activities/transactions data as JSON
Get account balances for a specific account
Get details for a specific account
About
MCP server for Ghostfolio management
Frequently asked questions
What is Ghostfolio MCP Server?
MCP server for Ghostfolio portfolio management and financial data access
How do I install Ghostfolio MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Ghostfolio MCP Server runs locally from the PyPI package ghostfolio-mcp with the command uvx ghostfolio-mcp.
Is Ghostfolio MCP Server free and open source?
Yes. Ghostfolio MCP Server is released under the AGPL-3.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
What tools does Ghostfolio MCP Server provide?
Ghostfolio MCP Server provides 40 tools, including add_market_data_points, add_to_watchlist, create_account, and create_account_balance. See the full tool list for descriptions and parameters.
How is Ghostfolio MCP Server's trust score calculated?
Ghostfolio MCP Server scores 37 out of 100 (Limited). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.