1. Conduid
  2. Content
  3. Ghostfolio MCP
MCP server · Content

Ghostfolio MCP

MCP server for Ghostfolio (open-source wealth management): portfolio performance, holdings, dividends and investments, accounts and balances, activities, benchmarks, watchlist, market data, symbol lookup, exchange rates and transaction import/export. Read-only mode and OIDC/OAuth auth.

72Good

Scored 8 hours ago · breakdown

About Ghostfolio MCP

Ghostfolio MCP is an MCP server published by mhajder in the Content category: mCP server for Ghostfolio (open-source wealth management): portfolio performance, holdings, dividends and investments, accounts and balances, activities, benchmarks, watchlist, market data, symbol lookup, exchange rates and transaction import/export. Read-only mode and OIDC/OAuth auth. Conduid read 50 tools from its source: account, activities, add_market_data_points, add_to_watchlist, asset, benchmark and 44 more. It is published to PyPI as ghostfolio-mcp and runs with uvx.

The repository has 21 stars and 6 forks, is licensed AGPL-3.0, and its last commit was on 1 Dec 2026. The latest release is v1.7.0 (17 Sep 2026): Docker Images ghcr.io/mhajder/ghostfolio-mcp:v1.7.0 ghcr.io/mhajder/ghostfolio-mcpo:v1.7.0 What's Changed chore(deps): bump the uv-dependencies group across 1 directory… It follows v1.6.2 (2 Sep 2026), and the 5 most recent releases go back to v1.5.0 (14 Jul 2026). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include ghostfolio, mc-tools and content.

Install

uvx
uvx ghostfolio-mcp
pip
pip install ghostfolio-mcp
From source
git clone https://github.com/mhajder/ghostfolio-mcp

Tools (50)

accountAccount management tools (create, delete, update, get accounts)
activitiesActivity/transaction management tools (create, update, delete activities)
add_market_data_pointsAdd one or more market data points for an asset (typically a `MANUAL` data source — Ghostfolio rejects writes for auto-fetched sources)
ParameterTypeDescription
data_source *stringData source for the symbol. Typically 'MANUAL' — Ghostfolio rejects market-data writes for auto-fetched sources like 'YAHOO' or 'COINGECKO'
market_data *arrayList of market data points. Each entry must include 'date' (ISO 8601, e.g. '2026-04-30T00:00:00.000Z') and 'marketPrice' (numeric value of the asset at that date)
symbol *stringSymbol/ticker of the asset (e.g., 'TRUE-UNLISTED', 'PILLAR3A-FINPENSION-X')
add_to_watchlistAdd a symbol to the user's watchlist
ParameterTypeDescription
data_source *stringData source for the symbol (e.g. 'YAHOO', 'COINGECKO', 'MANUAL')
symbol *stringSymbol/ticker of the asset to add to the watchlist
assetAsset profile tools
benchmarkBenchmark tools
create_accountCreate a new account in your portfolio
ParameterTypeDescription
balancenumberInitial balance for the account (defaults to 0)
commentstringOptional comment or note for the account
currency *stringCurrency code for the account (e.g., 'USD', 'EUR', 'GBP')
name *stringName of the account (e.g., 'My Brokerage Account', 'Retirement Fund')
platform_idstringOptional platform ID for the account (e.g., broker or exchange identifier)
create_account_balanceSet an account's balance for a specific date in its balance history (defaults to today)
ParameterTypeDescription
account_id *stringAccount ID to record a balance entry for
balance *numberBalance value to record for the given date
datestringISO-8601 date for this balance entry, e.g. '2026-08-27'. Defaults to today.
create_activityCreate a single new transaction/activity in your portfolio (BUY, SELL, DIVIDEND, INTEREST, FEE, etc.), optionally with tags
ParameterTypeDescription
account_id *stringThe account ID where this activity will be recorded
commentstringOptional comment
currency *stringCurrency code for the transaction
data_source *stringData source (e.g., 'YAHOO', 'COINGECKO', 'MANUAL')
date *stringDate in ISO 8601 format (e.g. 2026-05-09T00:00:00.000Z)
feenumberOptional fee amount
quantity *numberNumber of shares/units
symbol *stringSymbol profile ID or actual ticker symbol
tagsarrayOptional list of tag IDs to attach to this activity (from get_tags). Omit for no tags.
type *stringType of activity: BUY, SELL, DIVIDEND, INTEREST, FEE, LIABILITY
unit_price *numberPrice per unit
delete_accountDelete an existing account from your portfolio (destructive operation)
ParameterTypeDescription
account_id *stringAccount ID to delete (e.g., 'cb547e5c-..')
delete_account_balanceDelete a single entry from an account's balance history
ParameterTypeDescription
balance_id *stringID of the balance-history entry to delete, from get_account_balances (not the account ID)
delete_activityDelete a single activity/transaction by its ID (destructive operation)
ParameterTypeDescription
activity_id *stringThe unique ID of the activity to delete
delete_asset_profileDelete an asset profile (destructive operation; may delete associated activities and market data depending on backend rules)
ParameterTypeDescription
data_source *stringData source for the symbol. Typically 'MANUAL' — Ghostfolio rejects profile-data deletes for auto-fetched sources
symbol *stringSymbol/ticker of the asset to delete
exchange-rateCurrency exchange rate tools
exportData export tools
export_portfolioExport portfolio activities/transactions data as JSON
ParameterTypeDescription
accountsstringOptional comma-separated list of account IDs to filter by
activity_idsstringOptional comma-separated list of activity IDs to filter by
activity_typesstringOptional comma-separated list of activity types to filter by (e.g., BUY, SELL, DIVIDEND)
asset_classesstringOptional comma-separated list of asset classes to filter by
data_sourcestringOptional data source to filter by (e.g. 'YAHOO', 'COINGECKO')
symbolstringOptional symbol/ticker to filter by
tagsstringOptional comma-separated list of tags to filter by
get_account_balancesGet account balances for a specific account
ParameterTypeDescription
account_id *stringAccount ID to get balances for
get_account_detailsGet details for a specific account
ParameterTypeDescription
account_id *stringAccount ID to retrieve details for
get_accountsGet all accounts in your portfolio including account types and balances
get_asset_profileGet asset profile information for a specific symbol
ParameterTypeDescription
data_source *stringData source for the symbol (e.g., 'YAHOO', 'COINGECKO', 'MANUAL')
symbol *stringSymbol/ticker of the asset (e.g., 'AAPL', 'BTC-USD')
get_benchmark_performanceCompare portfolio performance against a benchmark symbol starting from a specific date
ParameterTypeDescription
accountsstringOptional comma-separated list of account IDs to filter by
asset_classesstringOptional comma-separated list of asset classes to filter by
data_source *stringData source for the benchmark (e.g. 'YAHOO', 'COINGECKO')
date_rangestringTime range. Options: 1d, 1w, 1m, 3m, 6m, 1y, 2y, 5y, max
filter_data_sourcestringOptional data source to filter by
filter_symbolstringOptional symbol/ticker to filter by
start_date *stringStart date in YYYY-MM-DD format for comparison
symbol *stringSymbol/ticker of the benchmark (e.g. 'URTH', 'AAPL')
tagsstringOptional comma-separated list of tags to filter by
with_excluded_accountsbooleanWhether to include excluded accounts in the calculations
get_benchmarksGet all configured benchmarks
get_dividendsGet dividend data grouped by time period showing dividend payments and yield
ParameterTypeDescription
date_rangestringTime range for dividend data. Options: 1d, 1w, 1m, 3m, 6m, 1y, 2y, 5y, max
group_bystringGrouping period for dividend data. Options: day, week, month, quarter, year
get_dividends_for_importFetch historical dividend data formatted for import for a specific symbol
ParameterTypeDescription
data_source *stringData source for the symbol (e.g. 'YAHOO', 'COINGECKO', 'MANUAL')
symbol *stringSymbol/ticker of the asset to get dividends for
get_exchange_rateGet the exchange rate for a given currency symbol on a specific date
ParameterTypeDescription
date *stringDate in YYYY-MM-DD format to retrieve the rate for
symbol *stringCurrency symbol to get exchange rate for (e.g. 'USD', 'CHF', 'EUR')
get_healthGet system health status of the Ghostfolio backend service
get_historical_dataGet historical data for a specific symbol on a specific date
ParameterTypeDescription
data_source *stringData source for the symbol (e.g., 'YAHOO', 'COINGECKO', 'MANUAL')
date *stringDate in YYYY-MM-DD format for historical data
symbol *stringSymbol/ticker of the asset (e.g., 'AAPL', 'BTC-USD')
get_investmentsGet investment data grouped by time period showing cash flows and contributions
ParameterTypeDescription
date_rangestringTime range for investment data. Options: 1d, 1w, 1m, 3m, 6m, 1y, 2y, 5y, max
group_bystringGrouping period for investment data. Options: day, week, month, quarter, year
get_market_data_for_assetGet market data for a specific asset
ParameterTypeDescription
data_source *stringData source for the symbol (e.g., 'YAHOO', 'COINGECKO', 'MANUAL')
symbol *stringSymbol/ticker of the asset (e.g., 'AAPL', 'BTC-USD')
get_ordersGet all activities/orders from your portfolio, optionally filtered by account
ParameterTypeDescription
account_idstringOptional account ID to filter orders by specific account
get_platformsGet list of available platforms (brokers, exchanges, etc.) for account tracking
get_portfolio_detailsGet comprehensive portfolio details including accounts, positions, and summary
get_portfolio_holdingsGet portfolio holdings and positions including allocations and asset breakdowns
ParameterTypeDescription
date_rangestringTime range for holdings data. Options: 1d, 1w, 1m, 3m, 6m, 1y, 2y, 5y, max
get_portfolio_performanceGet portfolio performance data including returns, benchmarks, and performance metrics
ParameterTypeDescription
date_rangestringTime range for performance data. Options: 1d, 1w, 1m, 3m, 6m, 1y, 2y, 5y, max
get_positionGet position details for a specific symbol from a data source
ParameterTypeDescription
data_source *stringData source for the symbol (e.g., 'YAHOO', 'COINGECKO', 'MANUAL')
symbol *stringSymbol/ticker of the asset (e.g., 'AAPL', 'BTC-USD')
get_symbol_dataGet symbol data for a specific asset from a data source
ParameterTypeDescription
data_source *stringData source for the symbol (e.g., 'YAHOO', 'COINGECKO', 'MANUAL')
symbol *stringSymbol/ticker of the asset (e.g., 'AAPL', 'BTC')
get_user_infoGet user information and settings
get_watchlistGet all items in the user's watchlist
importData import tools
import_transactionsImport transactions into your portfolio (bulk import operation)
ParameterTypeDescription
data *objectTransaction data in the format expected by Ghostfolio API. Should contain an 'activities' list. Each activity must have: 'currency', 'dataSource', 'date' (ISO-8601, e.g. 2021-09-15T00:00:00.000Z), 'quantity', 'symbol', 'type' (BUY, SELL, etc), 'unitPrice', and usually 'fee' (can be 0).
lookup_symbolsSearch for symbols using a query string
ParameterTypeDescription
include_indicesbooleanInclude market indices in search results
query *stringSearch query for symbol lookup. Can be company name, ticker symbol, or partial match
portfolioPortfolio analysis and performance tools
remove_from_watchlistRemove a symbol from the user's watchlist
ParameterTypeDescription
data_source *stringData source for the symbol (e.g. 'YAHOO', 'COINGECKO', 'MANUAL')
symbol *stringSymbol/ticker of the asset to remove from the watchlist
systemSystem health and platform information tools
transfer_account_balanceTransfer cash balances between two accounts
ParameterTypeDescription
account_id_from *stringThe source account ID to transfer cash from
account_id_to *stringThe target account ID to transfer cash to
balance *numberThe amount of cash to transfer
update_accountUpdate settings or details of an existing account
ParameterTypeDescription
account_id *stringAccount ID to update
balancenumberOptional new balance for the account
commentstringOptional new comment or note for the account
currencystringOptional new currency code for the account (e.g., 'USD', 'EUR')
namestringOptional new name of the account
platform_idstringOptional new platform ID for the account
update_activityUpdate an existing activity/transaction, including its tags; fields you don't pass keep their current values
ParameterTypeDescription
account_idstringOptional new account ID. Pass an empty string to detach the activity from its account.
activity_id *stringThe unique ID of the activity to update
commentstringOptional new comment
currencystringOptional new currency code
data_sourcestringOptional new data source (e.g., 'YAHOO', 'COINGECKO', 'MANUAL'). Changing it requires symbol and currency too.
datestringOptional new date in ISO 8601 format (e.g. 2026-05-09T00:00:00.000Z)
feenumberOptional new fee amount
quantitynumberOptional new number of shares/units
symbolstringOptional new ticker symbol. Changing the asset (symbol or data_source) requires symbol, data_source and currency together.
tagsarrayOptional new list of tag IDs (from get_tags) to replace this activity's tags. Omit to leave existing tags unchanged; pass an empty list to clear all tags.
typestringOptional new type: BUY, SELL, DIVIDEND, INTEREST, FEE, LIABILITY
unit_pricenumberOptional new price per unit
upsert_asset_profileCreate-or-update an asset profile, including optional `countries` and `sectors` allocations (idempotent; tolerates Ghostfolio's HTTP 500 on the create step and relies on the subsequent PATCH as the source of truth)
ParameterTypeDescription
asset_class *stringAsset class: 'EQUITY', 'FIXED_INCOME', 'REAL_ESTATE', 'COMMODITY', 'LIQUIDITY' (cash), or 'ALTERNATIVE_INVESTMENT'. Note: Ghostfolio's enum does not include 'CASH' — use 'LIQUIDITY'
asset_sub_classstringOptional asset sub-class (e.g., 'MUTUALFUND', 'CASH', 'ETF')
countriesarrayOptional country allocation. Entries must contain exactly 'code' (ISO 3166-1 alpha-2, e.g. 'US') and 'weight' (a fraction between 0 and 1, e.g. 0.6907) — any extra key, such as the 'continent' and 'name' that reads add, is rejected with HTTP 400. Omit to leave the stored value untouched; pass [] to reset (on 'MANUAL' this empties the list, on fetched sources it drops the override and the data provider's own countries apply again)
currency *stringCurrency code of the asset (e.g., 'USD', 'CHF', 'EUR')
data_source *stringData source for the symbol. Typically 'MANUAL' — Ghostfolio rejects profile-data writes for auto-fetched sources
name *stringHuman-readable name for the asset
sectorsarrayOptional sector allocation. Entries must contain exactly 'name' and 'weight' (a fraction between 0 and 1, e.g. 0.2431); any extra key is rejected with HTTP 400. Omit to leave the stored value untouched; pass [] to reset (on 'MANUAL' this empties the list, on fetched sources it drops the override and the data provider's own sectors apply again)
symbol *stringSymbol/ticker of the asset. Permanent — renaming orphans associated activities and market data
userUser information tools
watchlistWatchlist management tools

Security checks

Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 3.0K words.
  • ✓License declaredThe repository declares the AGPL-3.0 license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by uv.lock.
  • ✓No dynamic code executionScanned 22 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdio, Streamable HTTP and HTTP with SSEsrc/ghostfolio_mcp/server.py:234, src/ghostfolio_mcp/server.py:226, src/ghostfolio_mcp/server.py:211
Starts other programs
No calls that start other programs
Outbound network calls
No outbound network calls
Writes or deletes files
No file writes or deletes
Lockfile
uv.lock

Pattern matches on the source text of 22 files: places to read, not proof of what the code does at run time.

Releases

v1.7.0v1.7.0 · 17 Sep 2026Docker Images `ghcr.io/mhajder/ghostfolio-mcp:v1.7.0` `ghcr.io/mhajder/ghostfolio-mcpo:v1.7.0` What's Changed chore(deps): bump the uv-dependencies group across 1 directory with 3 updates by @dependabot[bot] in…
v1.6.2v1.6.2 · 2 Sep 2026Docker Images `ghcr.io/mhajder/ghostfolio-mcp:v1.6.2` `ghcr.io/mhajder/ghostfolio-mcpo:v1.6.2` Full Changelog: https://github.com/mhajder/ghostfolio-mcp/compare/v1.6.1...v1.6.2
v1.6.1v1.6.1 · 27 Aug 2026Docker Images `ghcr.io/mhajder/ghostfolio-mcp:v1.6.1` `ghcr.io/mhajder/ghostfolio-mcpo:v1.6.1` What's Changed fix(accounts): fix account-balance writes by @pierdom in https://github.com/mhajder/ghostfolio-mcp/pull/71 Full Changelog:…
v1.6.0v1.6.0 · 19 Aug 2026Docker Images `ghcr.io/mhajder/ghostfolio-mcp:v1.6.0` `ghcr.io/mhajder/ghostfolio-mcpo:v1.6.0` What's Changed feat(auth): add optional OIDC/OAuth authentication for HTTP transports by @pierdom in…
v1.5.0v1.5.0 · 14 Jul 2026Docker Images `ghcr.io/mhajder/ghostfolio-mcp:v1.5.0` `ghcr.io/mhajder/ghostfolio-mcpo:v1.5.0` What's Changed chore(deps): bump the uv-dependencies group across 1 directory with 2 updates by @dependabot[bot] in…

README

The repository's README runs to about 3.0K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About Ghostfolio MCP

How do I install Ghostfolio MCP?

Run uvx ghostfolio-mcp, then add the server to your MCP client's configuration.

Is Ghostfolio MCP safe to use with an AI agent?

Its trust score is 72 out of 100 (good). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Conduid's scan of 22 source files found that it serves MCP over stdio, Streamable HTTP and HTTP with SSE. Its dependencies are pinned by uv.lock. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Ghostfolio MCP still maintained?

Yes — the latest release is v1.7.0 (17 Sep 2026), and the last commit was 19 hours ago. The repository has 21 stars and 4 open issues.

What tools does Ghostfolio MCP provide?

Conduid read 50 tools from the source: account, activities, add_market_data_points, add_to_watchlist, asset, benchmark, create_account, create_account_balance and 42 more. 32 of them publish their parameters, listed under Tools above.

What license is Ghostfolio MCP released under?

The repository declares the AGPL-3.0 license. That applies to the latest release, v1.7.0, as well.