Jupiter MCP Server
This server lets Claude interact with Jupiter's Portfolio and Price APIs to query Solana wallet positions and real-time token prices.
Get portfolio positions: Retrieve a wallet's full portfolio including balances, staking, liquidity pools, farming, vaults, and lending positions, optionally filtered by DeFi platforms.
Get staked JUP info: View how much JUP is staked for a wallet and any unstaking positions.
List supported platforms: See all DeFi platforms integrated with Jupiter's portfolio tracking.
Get token prices: Fetch current USD prices, 24h price changes, and token decimals for one or more token mint addresses.
Provides tools to access Jupiter's Portfolio API and Price API on Solana, enabling viewing portfolio positions, staked JUP tokens, and real-time token prices.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Jupiter MCP Server What's the current price of SOL and USDC?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Jupiter MCP Server
This repository contains a Model Context Protocol (MCP) server that provides Claude with access to Jupiter's Portfolio API and Price API. The server enables Claude to view portfolio positions, track staked JUP tokens, and get real-time token prices on the Solana blockchain.
Overview
The MCP server exposes several tools to Claude:
Portfolio Tools
jupiter_get_positions: Get portfolio positions including wallet balances, staked positions, liquidity pools, farming, vaults, lending, and morejupiter_get_staked_jup: Get information about staked JUP tokens and unstaking positionsjupiter_get_platforms: Get a list of all DeFi platforms integrated with Jupiter's portfolio tracking
Price Tools
jupiter_get_price: Get current prices for one or more tokens, including USD price, 24h price change, and token decimals
Related MCP server: Wealthfolio MCP Server
API Implementation
This server uses Jupiter APIs:
Portfolio API v1 (
https://api.jup.ag/portfolio/v1) for portfolio tracking and analyticsPrice API v3 (
https://api.jup.ag/price/v3) for real-time token pricing
Both APIs require an API key from Jupiter Portal.
Prerequisites
Node.js (v16 or higher)
Claude Desktop application
Jupiter API key - Get yours at https://portal.jup.ag/
Installation
From npm (recommended)
# Install globally
npm install -g jupiter-mcp-server
# Or use with npx
npx jupiter-mcp-serverFrom source
Clone this repository:
git clone https://github.com/quanghuynguyen1902/jupiter-mcp-server.git cd jupiter-mcp-serverInstall dependencies:
npm ciBuild the project:
npm run buildInstall globally (optional):
npm install -g ./
Configuration
Configure Claude Desktop
To configure Claude Desktop to use this MCP server:
Open Claude Desktop
Navigate to the Claude Desktop configuration file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\\Claude\\claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
Add the MCP server configuration:
{
"mcpServers": {
"jupiter-mcp-server": {
"command": "npx",
"args": ["jupiter-mcp-server"],
"env": {
"JUPITER_API_KEY": "your_jupiter_api_key_from_portal"
}
}
}
}If you've installed from source and want to run the local version, use:
{
"mcpServers": {
"jupiter-mcp-server": {
"command": "node",
"args": [
"/path/to/your/jupiter-mcp-server/build/index.js"
],
"env": {
"JUPITER_API_KEY": "your_jupiter_api_key_from_portal"
}
}
}
}Environment Variables Description
JUPITER_API_KEY (required): Your Jupiter API key from https://portal.jup.ag/
Alternative: Using a .env File
If you're running the server directly (not through Claude Desktop), you can create a .env file in the root directory:
JUPITER_API_KEY=your_jupiter_api_key_from_portalRunning Locally
# If installed globally
jupiter-mcp-server
# If installed from source
node build/index.js
# Using npx
npx jupiter-mcp-serverUsage
Once configured, restart Claude Desktop. Claude will now have access to Jupiter portfolio and price tools. You can ask Claude to:
Portfolio Operations
View portfolio positions:
Show me the portfolio for address YOUR_WALLET_ADDRESSCheck staked JUP:
How much JUP is staked for address YOUR_WALLET_ADDRESS?List available platforms:
What platforms are supported for portfolio tracking?
Price Operations
Get token prices:
What's the current price of SOL and USDC?Get multiple token prices:
Get prices for these tokens: So11111111111111111111111111111111111111112,EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
Troubleshooting
API Authentication Issues
If you encounter 401 Unauthorized errors:
Verify your
JUPITER_API_KEYis correctly set in the environment variablesEnsure your API key is valid - you can get a new one from https://portal.jup.ag/
Check that the API key doesn't have any extra spaces or quotes around it
Development
Adding New Tools
To add new tools to the MCP server:
Define the tool in
src/tools.tsCreate a handler function in the appropriate handler file
Add the handler to the
handlersobject insrc/tools.ts
Building
npm run buildTesting
npm testPublishing to npm
Make sure you're logged in to npm:
npm loginThen publish the package:
npm publishTo publish a new version, first update the version in package.json:
npm version patch # or minor, or major
npm publishLicense
MIT
Support the Project
If Jupiter MCP Server is useful to you, consider sponsoring its development.
Your support helps maintain compatibility with Jupiter APIs, add new MCP tools, and improve the documentation.
Available Tools
4 toolsjupiter_get_platformsA
Get a list of all DeFi platforms integrated with Jupiter's portfolio tracking system
Inputs: no named parameters.
jupiter_get_positionsA
Get portfolio positions for a Solana wallet address including wallet balances, staked positions, liquidity pools, farming, vaults, lending, and more
Inputs: address (required), platforms.
jupiter_get_priceA
Get current prices for one or more tokens on Jupiter, including USD price, 24h price change, and token decimals
Inputs: ids (required).
jupiter_get_staked_jupA
Get staked JUP tokens information for a Solana wallet address, including amount staked and unstaking positions
Inputs: address (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Tools are mostly distinct, but jupiter_get_positions includes staked positions while jupiter_get_staked_jup specifically covers staking, creating potential overlap. Descriptions help clarify the difference.
All tools follow the identical jupiter_get_ prefix with a clear noun suffix (positions, staked_jup, platforms, price). This is a perfectly consistent verb_noun pattern.
Four tools is well within the ideal range for a focused portfolio and price server. Each tool covers a distinct area, and the count feels neither sparse nor bloated.
The set covers core portfolio positions, staking details, platform listings, and prices. It lacks features like transaction history or swap execution, but that may not be the server's intended scope.
Maintenance
Related MCP Connectors
Read-only access to your own crypto portfolio across 11+ exchanges and 20+ chains: holdings, full history, FIFO cost basis and P&L, fees and income. Ask Claude or ChatGPT about your portfolio; the connector can never trade, move funds or act as a login.
Jupiter - 4 tools for swap quotes, liquidity pools, and trading data
Connect your portfolio to Claude, ChatGPT, or Codex to analyze it and make smarter investments.
Jupiter MCP — Solana cross-DEX token price and swap-quote data
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables Claude to perform Solana token swaps through Jupiter's API, including getting quotes, building transactions, and sending swap transactions on the Solana blockchain.311 npm2MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI-powered portfolio analysis for Wealthfolio, allowing Claude to query and analyze investment holdings, asset allocation, real estate properties, and execute transactions through natural language.1-
- AlicenseNot gradedqualityDmaintenanceEnables Claude to access, analyze, and visualize Solana blockchain data through natural language conversations.18MIT
- AlicenseAqualityDmaintenanceConnects Claude Desktop to crypto and brokerage portfolio data via Coinbase and SnapTrade, providing read-only tools to inspect accounts, holdings, prices, and provider health.5MIT