Lighthouse Portfolio Tracker MCP server

Integrates with Lighthouse.one cryptocurrency portfolio tracker to fetch and display detailed portfolio data including total value, asset allocations, and major holdings through secure token-based authentication.
Back to servers
Setup instructions
Provider
Lewis Freiberg
Release date
Mar 08, 2025
Language
TypeScript
Package
Stats
1.2K downloads
1 star

This MCP server enables Claude to interact with your Lighthouse.one portfolio data, allowing you to query and analyze your crypto portfolio through natural language questions about performance, assets, and more.

Features

  • Authentication: Securely authenticate with Lighthouse using transfer token URLs
  • Portfolio Overview: Get detailed breakdowns of your portfolio including total value, asset distribution, major holdings, and connected wallets
  • Asset Details: View detailed information about specific assets
  • Transaction History: Access transaction history across wallets
  • Performance Analysis: Get insights on portfolio performance over time

Installation

You must have at least Node LTS installed to use this MCP server. If you need to install Node, N-Install is recommended for quick installation.

Setup in Claude Desktop

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "lighthouse": {
      "command": "npx",
      "args": ["-y", "mcp-lighthouse"]
    }
  }
}

Restart the Claude app. If no errors appear on startup, the MCP server is working properly.

Authentication

When first using the MCP server, you'll need to authenticate. Follow these steps:

  1. Go to the Settings page on Lighthouse.one
  2. Click on "Link Mobile Device" option
  3. Click on "Copy transfer link"

The URL will be in the format of a Lighthouse transfer token URL which Claude will use to authenticate your session.

Available Commands

Once connected, you can use these commands with Claude:

Authenticate

Use the authenticate command with a Lighthouse transfer token URL to log in.

List Portfolios

Use the listLighthousePortfolios command to see all your portfolios and their total values.

Get Portfolio Overview

Use the getLighthousePortfolio command to view your current portfolio status with detailed breakdowns.

Get Yield Data

Use the getLighthouseYieldData command to see yield information for your portfolio.

Get Performance Data

Use the getLighthousePerformanceData command to analyze your portfolio's performance over time.

Session Management

  • The server maintains a session file (.lighthouse_session) to persist your authentication
  • You only need to authenticate once unless you explicitly log out or the session expires
  • Session data is stored securely on your local machine

You can always revoke the session key from the Lighthouse dashboard if needed.

Security

This MCP server runs locally on your machine and communicates directly with Lighthouse's API. Your authentication credentials are never shared with Claude or any third-party services.

Running Locally (Alternative Setup)

If you prefer to run without npx, you can:

  1. Build the project:
npm install
npm run build
  1. Add the MCP server to Claude by pasting this JSON into the Develop settings (adjust paths as needed):
{
  "mcpServers": {
    "lighthouse": {
      "command": "path/to/node/installation",
      "args": ["path/to/this/folder/mcp-lighthouse/dist/index.js"]
    }
  }
}

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "lighthouse" '{"command":"npx","args":["-y","mcp-lighthouse"]}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "lighthouse": {
            "command": "npx",
            "args": [
                "-y",
                "mcp-lighthouse"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Add this to your configuration file:

{
    "mcpServers": {
        "lighthouse": {
            "command": "npx",
            "args": [
                "-y",
                "mcp-lighthouse"
            ]
        }
    }
}

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later