HS

haizzz/sharesight-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

5 stars 4 forks Качество 71 Тренд 13MIT

Unofficial Sharesight MCP

Обзор

A Model Context Protocol (MCP) server that provides AI assistants with access to the Sharesight portfolio tracking platform via the v3 API. You'll need a and from Sharesight to use this server. - Contact Sharesight support at [email protected] to request API access - Visit the Sharesight API documentation for more information - API access may require a specific Sharesight plan The CLI will: 1. Prompt for your Client ID and Client Secret 2. Display a URL to open in your browser 3. Ask you to log in to Sharesight and authorize the app 4. Prompt you to paste the authorization code 5. Save tokens locally (they refresh automatically) ~/Library/Application Support/Claude/claude_desktop_config.json %APPDATA%\Claude\claude_desktop_config.json Restart Claude Desktop and you're ready to go!

README

Показан фрагмент оригинального README. Открыть оригинал.

Sharesight MCP Server

A Model Context Protocol (MCP) server that provides AI assistants with access to the Sharesight portfolio tracking platform via the v3 API.

Quick Start

Step 1: Get OAuth Credentials

You’ll need a Client ID and Client Secret from Sharesight to use this server.

How to get credentials:

Step 2: Run One-Time Authentication

npx github:Haizzz/sharesight-mcp auth

The CLI will:

  1. Prompt for your Client ID and Client Secret
  2. Display a URL to open in your browser
  3. Ask you to log in to Sharesight and authorize the app
  4. Prompt you to paste the authorization code
  5. Save tokens locally (they refresh automatically)

Step 3: Add MCP Server Configuration

Add to your Claude Desktop config file:

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

{
  "mcpServers": {
    "sharesight": {
      "command": "npx",
      "args": ["-y", "github:Haizzz/sharesight-mcp", "serve"],
      "env": {
        "SHARESIGHT_CLIENT_ID": "your_client_id",
        "SHARESIGHT_CLIENT_SECRET": "your_client_secret"
      }
    }
  }
}

Restart Claude Desktop and you’re ready to go!

Overview

This MCP server enables Claude and other AI assistants to interact with Sharesight accounts, allowing natural language queries and operations on investment portfolios, holdings, custom investments, and performance reports.

What is Sharesight?

Sharesight is a portfolio tracking platform that helps investors track their stocks, ETFs, mutual funds, and other investments across multiple markets. It provides performance reporting, dividend tracking, and tax reporting features.

What is MCP?

The Model Context Protocol is an open standard that enables AI assistants to securely connect to external data sources and tools.

Features

This server exposes 27 tools covering all Sharesight v3 API endpoints:

Portfolio Management

Tool Description
list_portfolios List all user portfolios with optional consolidated view
get_portfolio Get detailed portfolio information by ID
list_portfolio_holdings List all holdings within a specific portfolio
get_portfolio_user_setting Get user display preferences for a portfolio
update_portfolio_user_setting Update chart type, grouping, and other display settings

Holdings Management

Tool Description
list_holdings List all holdings across all portfolios
get_holding Get holding details with optional cost base and historical values
Открыть полный README на GitHub

Установка

npx -y github:Haizzz/sharesight-mcp serve
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "sharesight": { "command": "npx", "args": ["-y", "github:Haizzz/sharesight-mcp", "serve"], "env": { "SHARESIGHT_CLIENT_ID": "your_client_id", "SHARESIGHT_CLIENT_SECRET": "your_client_secret" } } } }