Koskamo

mcp-pear MCP

An MCP server for Pear Protocol that connects AI agents like Claude to Hyperliquid pair trading. It allows browsing markets, reading positions and portfolio data, and executing gated pair trades. The server handles server-side signing, ensuring private keys are never held by the agent.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

mcp-pear MCP logo, by MarvelNwachukwuCommunity listingLocal stdioSource reviewed; not executedPublished by MarvelNwachukwu
You need:For the authenticated tools, mint a key
Vendor documentation

What you can do with it

  • Browse pair markets with filters and pagination
  • Read open positions and portfolio PnL
  • Execute gated pair trades on Hyperliquid
  • Manage leverage and risk parameters

Source and maintenance

Community listingRegistry 0.2.2
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

@marvelcodes/mcp-pear 0.2.2

npm
@marvelcodes/mcp-pear package definition
{
  "version": "0.2.2",
  "transport": "stdio",
  "identifier": "@marvelcodes/mcp-pear",
  "registryType": "npm",
  "environmentVariables": [
    {
      "name": "PEAR_API_KEY",
      "description": "Pear API key for authenticated read/write tools (single-user mode). Public tools work without it."
    },
    {
      "name": "PEAR_ADDRESS",
      "description": "Wallet address (0x...) bound to PEAR_API_KEY. Required alongside PEAR_API_KEY."
    },
    {
      "name": "PEAR_JWT",
      "description": "Pre-minted Pear JWT for multi-tenant orchestrators (JWT pass-through mode). Used directly when set."
    },
    {
      "name": "PEAR_REFRESH_TOKEN",
      "description": "Refresh token so the server refreshes an expired JWT itself instead of requiring a restart."
    },
    {
      "name": "PEAR_TRADE_ENABLED",
      "description": "Set to 'true' to enable the write/trade-execution tools. Off by default."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "mcp-pear-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@marvelcodes/mcp-pear@0.2.2"
      ],
      "env": {
        "PEAR_API_KEY": "<YOUR_PEAR_API_KEY>",
        "PEAR_ADDRESS": "<YOUR_PEAR_ADDRESS>",
        "PEAR_JWT": "<YOUR_PEAR_JWT>",
        "PEAR_REFRESH_TOKEN": "<YOUR_PEAR_REFRESH_TOKEN>",
        "PEAR_TRADE_ENABLED": "<YOUR_PEAR_TRADE_ENABLED>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "mcp-pear-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@marvelcodes/mcp-pear@0.2.2"
      ],
      "env": {
        "PEAR_API_KEY": "<YOUR_PEAR_API_KEY>",
        "PEAR_ADDRESS": "<YOUR_PEAR_ADDRESS>",
        "PEAR_JWT": "<YOUR_PEAR_JWT>",
        "PEAR_REFRESH_TOKEN": "<YOUR_PEAR_REFRESH_TOKEN>",
        "PEAR_TRADE_ENABLED": "<YOUR_PEAR_TRADE_ENABLED>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "mcp-pear-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@marvelcodes/mcp-pear@0.2.2"
      ],
      "env": {
        "PEAR_API_KEY": "<YOUR_PEAR_API_KEY>",
        "PEAR_ADDRESS": "<YOUR_PEAR_ADDRESS>",
        "PEAR_JWT": "<YOUR_PEAR_JWT>",
        "PEAR_REFRESH_TOKEN": "<YOUR_PEAR_REFRESH_TOKEN>",
        "PEAR_TRADE_ENABLED": "<YOUR_PEAR_TRADE_ENABLED>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "mcp-pear-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@marvelcodes/mcp-pear@0.2.2"
      ],
      "env": {
        "PEAR_API_KEY": "<YOUR_PEAR_API_KEY>",
        "PEAR_ADDRESS": "<YOUR_PEAR_ADDRESS>",
        "PEAR_JWT": "<YOUR_PEAR_JWT>",
        "PEAR_REFRESH_TOKEN": "<YOUR_PEAR_REFRESH_TOKEN>",
        "PEAR_TRADE_ENABLED": "<YOUR_PEAR_TRADE_ENABLED>"
      }
    }
  }
}

Let your agent find its tools

Find servers like mcp-pear MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.