MCP.Market

Ghostfolio MCP server

by mhajder·io.github.mhajder/ghostfolio-mcp·v1.8.1·21 stars

MCP server for Ghostfolio portfolio management and financial data access

B83/100grade B
What users say
No reviews yet
Be the first
Safety scan
B83/100

not scanned yet

Adoption
Growing

21 stars156 downloads/wk

Reviews

Write one

Nobody has reviewed Ghostfolio MCP yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Ghostfolio MCP tools

No tool declarations could be read from the package source. They show once the server is installed.

Not scanned yet. New listings are scanned within a day or two of arriving.

How Ghostfolio MCP compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
83/100
higher than 65% of 48,255 servers
GitHub stars
21
more than 91% of 28,688 servers
Downloads a week
156
more than 71% of 12,191 servers with a package

Release history: 3 versions in the registry since 2026-09-02, latest 2026-10-23, typically one every 36 days.

Install Ghostfolio MCP in Claude Code, Cursor or VS Code

claude mcp add ghostfolio-mcp -- uvx ghostfolio-mcp
Add to Cursor

What the publisher says

From the Ghostfolio MCP repository's README, as published. We do not edit it. Read it on GitHub

Ghostfolio MCP Server

<!-- mcp-name: io.github.mhajder/ghostfolio-mcp -->

Ghostfolio MCP Server is a Python-based Model Context Protocol (MCP) server designed to provide advanced, programmable access to Ghostfolio portfolio management and financial data. It exposes a modern API for querying, analyzing, and managing your investment portfolio through Ghostfolio's comprehensive features. The server supports both read and write operations, robust security features, and is suitable for integration with automation tools, financial dashboards, and custom portfolio management applications.

Features

Core Features

  • Query portfolio performance, holdings, and positions with flexible time ranges
  • Retrieve comprehensive investment data including dividends, returns, and allocations
  • Access detailed market data, asset profiles, and historical price information
  • Monitor portfolio metrics, benchmarks, and performance comparisons
  • Track orders, transactions, and account balances across multiple accounts
  • Search and lookup financial symbols, stocks, ETFs, and other assets
  • Get user information, settings, and account details

Management Operations

  • Create and manage investment accounts with different currencies and platforms
  • Create, delete, and manage individual transactions and activities
  • Import transactions and historical data from other platforms
  • Configure read-only mode to restrict all write operations for safe monitoring
  • Support for bulk transaction imports and portfolio data management
  • Monitor system health and platform availability

Advanced Capabilities

  • Rate limiting and API security features
  • Real-time portfolio monitoring and performance tracking
  • Comprehensive logging and audit trails
  • SSL/TLS support and configurable timeouts
  • Extensible with custom middlewares and tag-based tool filtering
  • Optional tool-search transform for large tool catalogs
  • Bearer token or OIDC/OAuth authentication for HTTP transports

Installation

Prerequisites

  • Python 3.11 or higher
  • Access to a Ghostfolio instance
  • Valid Ghostfolio API token

Quick Install from PyPI

The easiest way to get started is to install from PyPI:

# Using UV (recommended)
uvx ghostfolio-mcp

# Or using pip
pip install ghostfolio-mcp

Remember to configure the environment variables for your Ghostfolio instance before running the server:

# Create environment configuration
export GHOSTFOLIO_URL=https://domain.tld:3333
export GHOSTFOLIO_TOKEN=your-ghostfolio-token

For more details, visit: https://pypi.org/project/ghostfolio-mcp/

Install from Source

  1. Clone the repository:
git clone https://github.com/mhajder/ghostfolio-mcp.git
cd ghostfolio-mcp
  1. Install dependencies:
# Using UV (recommended)
uv sync

# Or using pip
pip install -e .
  1. Configure environment variables:
cp .env.example .env
# Edit .env with your Ghostfolio URL and token
  1. Run the server:
# Using UV (recommended)
uv run ghostfolio-mcp

# Or using the installed command directly
ghostfolio-mcp

Development Setup

For development with additional tools:

# Clone and install with development dependencies
git clone https://github.com/mhajder/ghostfolio-mcp.git
cd ghostfolio-mcp
uv sync --group dev

# Run tests
uv run pytest

# Run with coverage
uv run pytest --cov=src/

# Run linting and formatting
uv run ruff check .
uv run ruff format .

# Run type checking
uv run ty check .

# Setup prek hooks
uv run prek install

Configuration

Environment Variables

# Ghostfolio Connection Details
GHOSTFOLIO_URL=https://domain.tld:3333
GHOSTFOLIO_TOKEN=your-ghostfolio-token

# SSL Configuration
GHOSTFOLIO_VERIFY_SSL=true
GHOSTFOLIO_TIMEOUT=30

# Read-Only Mode
# Set READ_ONLY_MODE true to disable all write operations (put, post, delete)
READ_ONLY_MODE=false

# Disabled Tags
# Comma-separated list of tags to disable tools for (empty by default)

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Grade history

  • 2026-09-19downgradeA → Bscore 83

Ghostfolio MCP: common questions

Is Ghostfolio MCP server safe?
Mostly: it is graded B (83/100). Read the Ghostfolio MCP safety report
How do I install Ghostfolio MCP?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Ghostfolio MCP need an API key?
Yes. The registry entry asks for GHOSTFOLIO_TOKEN.
Is Ghostfolio MCP maintained?
The last commit was 34 days ago (2026-10-01). The latest release is v1.8.1.
How does Ghostfolio MCP compare with other MCP servers?
safety score 83/100 (higher than 65% of 48,255 servers); github stars 21 (more than 91% of 28,688 servers); downloads a week 156 (more than 71% of 12,191 servers with a package). Full comparison.