Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

Explore

  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Tags index
  • Submit a server
  • Pricing

Learn

  • Guides hub
  • What is MCP?
  • Install guide
  • Troubleshooting
  • Security
  • Blog
  • Blog RSS

Tools

  • All tools
  • Config generator
  • Config validator
  • MCP playground
  • OpenAPI β†’ MCP
  • Badge generator

For agents

  • API docs
  • Trust & traffic
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
  • Remote MCP β†— (opens in a new tab)

Company

  • About
  • Contact
  • X (@AllMCPs) β†— (opens in a new tab)
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on Buildlist
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ’° Finance & Fintech
  3. HL Portfolio API
H
Health: Not checked yetWe have not completed a health check for this listing yet.Last checked 8/10/2026, 11:48:26 PM

HL Portfolio API

Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View Repository

Hyperliquid account analysis: positions, PnL, fills, orders, funding. x402 pay-per-call.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Install Config Generator

Choose your client
claude_desktop_config.json
{
  "mcpServers": {
    "hl-portfolio-api": {
      "command": "npx",
      "args": [
        "-y",
        "hl-portfolio-api"
      ]
    }
  }
}

πŸ’‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

Install Directory Badge Claim listing AlternativesπŸ’° More in Finance & Fintech

Documentation Overview

HL Portfolio API

Full Hyperliquid account/portfolio analysis for AI agents. Retrieve positions, PnL, trade fills, open orders, and funding payments for any wallet via x402 micropayments.

Endpoints

EndpointPriceDescription
POST /api/account$0.003Full clearinghouse state: positions, margin, PnL, leverage
POST /api/fills$0.003Recent trade fills with realized PnL and fees
POST /api/orders$0.002All open/pending orders on the book
POST /api/funding$0.002Funding payments received and paid

Example Requests & Responses

Account State

Terminal
curl -X POST https://hl-portfolio-production.up.railway.app/api/account \
  -H "Content-Type: application/json" \
  -d '{"address": "0x1234567890abcdef1234567890abcdef12345678"}'
config.json
{
  "address": "0x1234...",
  "accountValue": "125430.50",
  "totalNtlPos": "89200.00",
  "totalMarginUsed": "52100.00",
  "withdrawable": "36230.50",
  "positions": [
    {
      "coin": "BTC",
      "size": "1.5",
      "entryPrice": "67500.00",
      "unrealizedPnl": "2340.00",
      "leverage": 5,
      "liquidationPrice": "54200.00",
      "marginType": "cross"
    }
  ],
  "positionCount": 1
}

Trade Fills

Terminal
curl -X POST https://hl-portfolio-production.up.railway.app/api/fills \
  -H "Content-Type: application/json" \
  -d '{"address": "0x1234...", "limit": 10}'
config.json
{
  "address": "0x1234...",
  "fills": [
    {
      "coin": "ETH",
      "side": "buy",
      "size": "10.0",
      "price": "3450.50",
      "fee": "0.69",
      "closedPnl": "0.00",
      "timestamp": 1712000000000
    }
  ],
  "count": 10,
  "totalFees": "6.90",
  "totalClosedPnl": "234.50"
}

Open Orders

Terminal
curl -X POST https://hl-portfolio-production.up.railway.app/api/orders \
  -H "Content-Type: application/json" \
  -d '{"address": "0x1234..."}'
config.json
{
  "address": "0x1234...",
  "orders": [
    {
      "coin": "BTC",
      "side": "buy",
      "limitPx": "65000.00",
      "sz": "0.5",
      "orderType": "limit",
      "reduceOnly": false
    }
  ],
  "count": 1
}

Funding History

Terminal
curl -X POST https://hl-portfolio-production.up.railway.app/api/funding \
  -H "Content-Type: application/json" \
  -d '{"address": "0x1234...", "startTime": 1711000000000}'
config.json
{
  "address": "0x1234...",
  "funding": [
    {
      "coin": "BTC",
      "fundingRate": "0.0001",
      "payment": "-1.35",
      "timestamp": 1712000000000,
      "positionSize": "1.5"
    }
  ],
  "totalReceived": "45.20",
  "totalPaid": "-12.30",
  "netFunding": "32.90"
}

Use Cases

  • Copy-trading evaluation: Analyze a trader's positions, PnL, and execution quality before copying
  • Risk monitoring: Track margin usage, leverage, and liquidation prices across positions
  • Funding income tracking: Calculate net funding income for carry/basis trade strategies
  • Trade journaling: Pull recent fills with realized PnL for performance analysis
  • Portfolio dashboards: Build real-time Hyperliquid portfolio views for clients

MCP Integration

Add to your Claude Desktop or Cursor config:

config.json
{
  "mcpServers": {
    "hl-portfolio": {
      "type": "sse",
      "url": "https://hl-portfolio-production.up.railway.app/sse"
    }
  }
}

Payment

All endpoints are gated by x402 protocol. Agents pay automatically in USDC on Base L2 per call. No API key needed.

Related APIs

  • hyperliquid-data -- Market data, prices, orderbook for Hyperliquid
  • hyperliquid-whales -- Whale trade detection and large position tracking
  • hl-vaults -- Vault performance, TVL, and depositor data
  • hl-funding -- Market-wide funding rates and arbitrage opportunities
  • wallet-portfolio -- Multi-chain EVM wallet portfolio analysis

Related MCP Servers

View all in Finance & Fintech View all alternatives
  • M
    Mcp Server

    34 stock valuation, financial data, and portfolio management tools for AI agents.

    πŸ’° Finance & Fintech0 views
    Compare vs Mcp Server β†’
  • Alpaca Mcp logoAlpaca Mcp

    An MCP Server for the Alpaca trading API to manage stock and crypto portfolios, place trades, and access market data.

    πŸ’° Finance & Fintech2 views
    Compare vs Alpaca Mcp β†’
  • P
    Parser

    Parse receipts & invoices into structured JSON. Pay per call in USDC (x402 on Base), no API key.

    πŸ’° Finance & Fintech0 views
    Compare vs Parser β†’
  • Mcp logoMcp

    Apideck Unified API MCP β€” 229 tools across 200+ SaaS connectors (accounting, HRIS, file storage).

    πŸ’° Finance & Fintech0 views
    Compare vs Mcp β†’

Frequently Asked Questions about HL Portfolio API

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "hl-portfolio-api": { "command": "npx", "args": ["-y", "HL Portfolio API"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewHL Portfolio API AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/hl-portfolio-api?style=directory)](https://allmcps.com/mcp/hl-portfolio-api)
HTML Embed
<a href="https://allmcps.com/mcp/hl-portfolio-api"><img src="https://allmcps.com/api/badge/hl-portfolio-api?style=directory" alt="HL Portfolio API on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ’°Finance & Fintech
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
0/4 checks healthy over the last 6h
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
27Quality signal: Emerging Β· 27/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership8/20
Documentation & tools11/30
Adoption & activity1/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Free dofollow backlink: after claiming, verify your product site and place a dofollow AllMCPs badge β€” we recheck it stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ’° Finance & Fintech β†’Best MCP servers for Finance & Fintech β†’Alternatives to HL Portfolio API β†’Install in Claude DesktopInstall in CursorInstall in VS Code