Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

MCP Pear

by MarvelNwachukwuversion 0.2.2i★ 1iRuns on your computerRepository ↗
Registry nameio.github.MarvelNwachukwu/mcp-pear

How to install

What it does

MCP server for Pear Protocol: markets, positions, orders, portfolio, and gated trade execution.

  • Connects Runs on your computer
  • Account or key Needs PEAR_API_KEY, PEAR_REFRESH_TOKEN · 1 setting to fill in (PEAR_ADDRESS)
  • Category Online shops & payments

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity4/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness3/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score7/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install MCP Pear. Follow https://mcp.popnx.com/i/marvelnwachukwu-mcp-pear.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

You need a MCP Pear key (create it on the maker’s site) · 1 setting(s) to fill in (PEAR_ADDRESS) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server MCP Pear for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "pear": { "command": "npx", "args": [ "-y", "@marvelcodes/mcp-pear" ], "env": { "PEAR_API_KEY": "your-value", "PEAR_ADDRESS": "your-value", "PEAR_REFRESH_TOKEN": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For PEAR_API_KEY, PEAR_REFRESH_TOKEN, PEAR_ADDRESS, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the MCP Pear tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a MCP Pear key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • PEAR_ADDRESS Wallet address (0x...) bound to PEAR_API_KEY. Required alongside PEAR_API_KEY.

    Descriptions are as written by the maker.

  4. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  5. Paste these settings and save the file

    {
      "mcpServers": {
        "pear": {
          "command": "npx",
          "args": [
            "-y",
            "@marvelcodes/mcp-pear"
          ],
          "env": {
            "PEAR_API_KEY": "your-value",
            "PEAR_ADDRESS": "your-value",
            "PEAR_REFRESH_TOKEN": "your-value"
          }
        }
      }
    }

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Quit Claude and open it again

  7. Try it

    Use MCP Pear and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using MCP Pear or shows a MCP Pear tool in the answer, you are connected

2 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • PEAR_JWT Pre-minted Pear JWT for multi-tenant orchestrators (JWT pass-through mode). Used directly when set.
  • PEAR_TRADE_ENABLED Set to 'true' to enable the write/trade-execution tools. Off by default.

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect MCP Pear yet

MCP Pear runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect MCP Pear

  • You need a MCP Pear key (create it on the maker’s site) · 1 setting(s) to fill in (PEAR_ADDRESS) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • You need a MCP Pear key (create it on the maker’s site) · 1 setting(s) to fill in (PEAR_ADDRESS) · Install Node.js on your computer first (one time)
  • You need a MCP Pear key (create it on the maker’s site) · 1 setting(s) to fill in (PEAR_ADDRESS) · Install Node.js on your computer first (one time)
  • You need a MCP Pear key (create it on the maker’s site) · 1 setting(s) to fill in (PEAR_ADDRESS) · Install Node.js on your computer first (one time)

B · Others in Online shops & payments that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

You need a MCP Pear key (create it on the maker’s site) · 1 setting(s) to fill in (PEAR_ADDRESS) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server MCP Pear for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user pear --env PEAR_API_KEY=your-value --env PEAR_ADDRESS=your-value --env PEAR_REFRESH_TOKEN=your-value -- npx -y @marvelcodes/mcp-pear 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For PEAR_API_KEY, PEAR_REFRESH_TOKEN, PEAR_ADDRESS, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the MCP Pear tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a MCP Pear key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • PEAR_ADDRESS Wallet address (0x...) bound to PEAR_API_KEY. Required alongside PEAR_API_KEY.

    Descriptions are as written by the maker.

  4. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  5. Paste this command and press Enter

    claude mcp add --scope user pear --env PEAR_API_KEY=your-value --env PEAR_ADDRESS=your-value --env PEAR_REFRESH_TOKEN=your-value -- npx -y @marvelcodes/mcp-pear

    Replace “your-value” with your key before pressing Enter

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Type /mcp in Claude Code

    You should see MCP Pear listed as connected

  7. Try it

    Use MCP Pear and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using MCP Pear or shows a MCP Pear tool in the answer, you are connected

2 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • PEAR_JWT Pre-minted Pear JWT for multi-tenant orchestrators (JWT pass-through mode). Used directly when set.
  • PEAR_TRADE_ENABLED Set to 'true' to enable the write/trade-execution tools. Off by default.

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

You need a MCP Pear key (create it on the maker’s site) · 1 setting(s) to fill in (PEAR_ADDRESS) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server MCP Pear for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "pear": { "command": "npx", "args": [ "-y", "@marvelcodes/mcp-pear" ], "env": { "PEAR_API_KEY": "your-value", "PEAR_ADDRESS": "your-value", "PEAR_REFRESH_TOKEN": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For PEAR_API_KEY, PEAR_REFRESH_TOKEN, PEAR_ADDRESS, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the MCP Pear tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a MCP Pear key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • PEAR_ADDRESS Wallet address (0x...) bound to PEAR_API_KEY. Required alongside PEAR_API_KEY.

    Descriptions are as written by the maker.

  4. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  5. Fill in your key

    In the MCP Pear settings, PEAR_API_KEY, PEAR_REFRESH_TOKEN, PEAR_ADDRESS is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Open the AI chat in Cursor in Agent mode

  7. Try it

    Use MCP Pear and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using MCP Pear or shows a MCP Pear tool in the answer, you are connected

2 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • PEAR_JWT Pre-minted Pear JWT for multi-tenant orchestrators (JWT pass-through mode). Used directly when set.
  • PEAR_TRADE_ENABLED Set to 'true' to enable the write/trade-execution tools. Off by default.

Descriptions are as written by the maker.

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

You need a MCP Pear key (create it on the maker’s site) · 1 setting(s) to fill in (PEAR_ADDRESS) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server MCP Pear for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "pear": { "type": "stdio", "command": "npx", "args": [ "-y", "@marvelcodes/mcp-pear" ], "env": { "PEAR_API_KEY": "your-value", "PEAR_ADDRESS": "your-value", "PEAR_REFRESH_TOKEN": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For PEAR_API_KEY, PEAR_REFRESH_TOKEN, PEAR_ADDRESS, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the MCP Pear tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a MCP Pear key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • PEAR_ADDRESS Wallet address (0x...) bound to PEAR_API_KEY. Required alongside PEAR_API_KEY.

    Descriptions are as written by the maker.

  4. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  5. Fill in your key

    In the MCP Pear settings, PEAR_API_KEY, PEAR_REFRESH_TOKEN, PEAR_ADDRESS is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Open the AI chat in VS Code in Agent mode

  7. Try it

    Use MCP Pear and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using MCP Pear or shows a MCP Pear tool in the answer, you are connected

2 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • PEAR_JWT Pre-minted Pear JWT for multi-tenant orchestrators (JWT pass-through mode). Used directly when set.
  • PEAR_TRADE_ENABLED Set to 'true' to enable the write/trade-execution tools. Off by default.

Descriptions are as written by the maker.

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use MCP Pear💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user pear --env PEAR_API_KEY=your-value --env PEAR_ADDRESS=your-value --env PEAR_REFRESH_TOKEN=your-value -- npx -y @marvelcodes/mcp-pear

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "pear": {
      "command": "npx",
      "args": [
        "-y",
        "@marvelcodes/mcp-pear"
      ],
      "env": {
        "PEAR_API_KEY": "your-value",
        "PEAR_ADDRESS": "your-value",
        "PEAR_REFRESH_TOKEN": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "pear": {
      "command": "npx",
      "args": [
        "-y",
        "@marvelcodes/mcp-pear"
      ],
      "env": {
        "PEAR_API_KEY": "your-value",
        "PEAR_ADDRESS": "your-value",
        "PEAR_REFRESH_TOKEN": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "pear": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@marvelcodes/mcp-pear"
      ],
      "env": {
        "PEAR_API_KEY": "your-value",
        "PEAR_ADDRESS": "your-value",
        "PEAR_REFRESH_TOKEN": "your-value"
      }
    }
  }
}

Values you fill in

  • PEAR_API_KEY secret required env
    Pear API key for authenticated read/write tools (single-user mode). Public tools work without it.
  • PEAR_ADDRESS required env
    Wallet address (0x...) bound to PEAR_API_KEY. Required alongside PEAR_API_KEY.
  • PEAR_JWT secret env
    Pre-minted Pear JWT for multi-tenant orchestrators (JWT pass-through mode). Used directly when set.
  • PEAR_REFRESH_TOKEN secret required env
    Refresh token so the server refreshes an expired JWT itself instead of requiring a restart.
  • PEAR_TRADE_ENABLED env
    Set to 'true' to enable the write/trade-execution tools. Off by default.

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
66/wk
Connection
Runs on your computer
Latest versioni
0.2.2
Published to registryi
Jul 19, 2026
Code last changedi
Jul 19, 2026
Maker
MarvelNwachukwu
Packages
npm: @marvelcodes/mcp-pear
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account MarvelNwachukwu, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed 4 months ago

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for @marvelcodes/mcp-pear@0.2.2

Checks only this package version, not every dependency · checked Nov 16, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/marvelnwachukwu-mcp-pear.svg)](https://mcp.popnx.com/en/servers/marvelnwachukwu-mcp-pear)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Online shops & paymentsi

  • More stars than 89% of the other 2941 servers in this category
  • Published to the registry more recently than 15% of the other 2941 servers in this category
  • Basic checks equal to or better than 99% of the other 2941 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is MCP Pear safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: PEAR_API_KEY, PEAR_REFRESH_TOKEN

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 4 months ago, and the latest version (0.2.2) reached the registry 4 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: Stripe MCP, flightclaw, Trade It, Marketplace Ad Pros: Amazon Ads & Seller Central, idealo MCP Server

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Stripe MCP

Stripe’s official server lets AI view and manage customers, products, payments and invoices. Connect to Stripe’s cloud and sign in with OAuth.

by stripeWidely used★ 2.1KUpdated 13 months ago

Runs in the cloud✓ service owner · stripe.com

flightclaw

Search ~300 airlines and book flights with a checkout link. OAuth sign-in by email code.

by flightclawGrowing★ 86Updated 2 months ago

Runs in the cloud✓ service owner · flightclaw.com

Trade It

Connect brokerage accounts to AI assistants: holdings, orders, asset lookup, and approved trading.

by trade-it-incEarly★ 62Updated 34 days ago

Runs in the cloud✓ service owner · tradeit.app

idealo MCP Server

Search products, compare prices and discover deals across 6 European markets with your AI assistant.

by idealoEarly★ 28Updated 6 months ago

Runs in the cloud✓ service owner · mcp.idealo.com
Compared with similar ones
This one
MCP Pear
Stripe MCPflightclawTrade ItMarketplace Ad Pros: Amazon Ads & Seller Centralidealo MCP Server
Runs whereInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyYesNoNoNoNoNo
Add with + in ClaudeNoYesNoNoNoNo
Basic checks3/34/44/45/54/44/4
LicenseMITMITMITCC0-1.0MITMIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

mcp-pear

The Pear Protocol MCP server for Hyperliquid pair trading — connect Claude, Cursor, or any AI agent to on-chain perps: browse pair markets, read positions and portfolio, and (opt-in) execute pair trades.

Model Context Protocol (MCP) server for Pear Protocol. Gives Claude, or any MCP-compatible agent, access to markets, pair ratios, positions, orders, trade history, portfolio, and (v0.2) full trade execution on Hyperliquid.

v0.2 adds trade execution. Ten write tools (open, close, and adjust positions; manage leverage and risk; cancel orders) are off by default behind PEAR_TRADE_ENABLED=true. Pear signs server-side, so mcp-pear never holds private keys.

What is Pear Protocol?

Pear is a Hyperliquid-backed perps platform for pair markets: long one basket against another. Every pair has a live ratio that moves as the legs diverge. More at pearprotocol.io.

Tools

Public (no auth):

  • get_health: API health and uptime
  • list_markets: browse pair markets with filters and pagination
  • get_active_markets: top gainers, losers, and highlighted pairs
  • get_pair_ratio: current ratio, 24h change, and funding for a specific pair

Authenticated read:

  • get_account_summary: your account header
  • get_open_positions: your open positions with PnL
  • get_open_orders: your open limit, TP, and SL orders
  • get_twap_orders: your active TWAP orders
  • get_trade_history: your closed trades with realized PnL
  • get_portfolio: bucketed PnL across 1d, 1w, 1m, 1y, and all-time
  • get_agent_wallet: the agent wallet Pear uses to sign your trades

Authenticated write (v0.2, gated behind PEAR_TRADE_ENABLED=true):

  • create_agent_wallet: create the agent wallet
  • open_position, close_position, close_all_positions: open and close pair positions
  • adjust_position, adjust_leverage: change size or leverage on a live position
  • set_risk_parameters: set or update TP and SL
  • cancel_order, cancel_twap_order: cancel pending orders

Full parameter reference in Tool reference. See Trade execution (v0.2) for the gate and Hyperliquid funding rules.

Install

# Run directly

npx -y @marvelcodes/mcp-pear@latest

Or install globally

pnpm install -g @marvelcodes/mcp-pear mcp-pear

Pin `@latest` (or a specific version) in the npx spec. Plain npx @marvelcodes/mcp-pear can launch a stale cached version: npx prefers its local cache over the npm registry when the spec is unpinned, so after a new release lands you may still be running the old one. @latest re-resolves against the registry each launch; pin like @0.2.0 instead if you want a frozen version. Stuck on an old version after upgrading? Clear the npx cache: rm -rf ~/.npm/_npx (macOS/Linux).

Getting an API key

For the authenticated tools, mint a key:

npx -y @marvelcodes/mcp-pear@latest setup

The CLI opens a browser, asks you to sign once with your wallet, mints a Pear API key, and (optionally) writes PEAR_API_KEY and PEAR_ADDRESS to a .env. Copy those two values into your Claude Desktop config and restart Claude.

Already have a JWT from app.pear.garden? Skip setup and use JWT pass-through below.

Configuration

Three auth modes. mcp-pear uses the first one whose env vars are set, decided on the first authenticated call.

Mode 1: JWT pass-through (multi-tenant orchestrators)

For Telegram bots and other orchestrators that mint JWTs externally (Privy, EIP-712, or any Pear-supported flow). The JWT is opaque; mcp-pear never calls /auth/login.

Env varRequiredDescription
PEAR_JWTyesPre-minted access token. Used directly when set. PEAR_API_KEY and PEAR_ADDRESS act as fallback if the JWT expires and no PEAR_REFRESH_TOKEN is configured.
PEAR_REFRESH_TOKENnoIf set, mcp-pear refreshes the JWT itself when it expires mid-session (each refresh rotates the token). Without it, the orchestrator has to re-mint and respawn the subprocess.

When PEAR_JWT expires and no refresh token is set, authenticated tools return:

JWT expired; the orchestrator must mint a new one and restart mcp-pear.

See examples/telegram-bot-usage.ts for the orchestrator pattern.

Mode 2: API key + wallet address (single-user, Claude Desktop)
Env varRequiredDescription
PEAR_API_KEYfor auth toolsYour Pear API key.
PEAR_ADDRESSfor auth toolsWallet address bound to the API key (0x...).

mcp-pear mints the JWT itself by calling POST /auth/login. Both fields are required: the OpenAPI spec needs address in the request body.

Public-only mode

The four public tools work without any auth env vars. Authenticated tools return a ConfigError naming the missing env var.

Common settings (optional)
Env varDefaultDescription
PEAR_API_BASE_URLhttps://hl-v2.pearprotocol.ioPear API host.
PEAR_API_TIMEOUT_MS10000Per-request timeout.
PEAR_CLIENT_IDAPITRADERClient identifier sent to /auth/login.

Claude Desktop

Add to claude_desktop_config.json:

{

"mcpServers": { "pear": { "command": "npx", "args": ["-y", "@marvelcodes/mcp-pear@latest"], "env": { "PEAR_API_KEY": "your-pear-api-key-here", "PEAR_ADDRESS": "0xYourWalletAddress" } } } }

Restart Claude Desktop and ask: "Use Pear to show me the top active markets right now."

ADK-TS

import { McpToolset, StdioTransport } from "@iqai/adk";

const pearTools = new McpToolset({ transport: new StdioTransport({ command: "npx", args: ["-y", "@marvelcodes/mcp-pear@latest"], env: { PEAR_API_KEY: process.env.PEAR_API_KEY ?? "", PEAR_ADDRESS: process.env.PEAR_ADDRESS ?? "" }, }), });

await pearTools.connect(); const tools = await pearTools.listTools();

Full example in examples/adk-ts-usage.ts.

Tool reference

adjust_leverage

Change leverage (1-100x) on an existing Pear Protocol position. Higher leverage means greater liquidation risk for the same price move. WRITE: changes risk profile of a live position. Requires PEAR_TRADE_ENABLED=true.

ParameterTypeRequiredDescription
positionIdstringyes
leverageintegeryes
adjust_position

Reduce or increase an existing Pear Protocol position's size by 1-100 percent. executionType: MARKET (immediate) or LIMIT (provide limitRatio). WRITE: changes exposure on a real trade. Requires PEAR_TRADE_ENABLED=true.

ParameterTypeRequiredDescription
positionIdstringyes
adjustmentTypestringyes
adjustmentSizeintegeryes
executionTypestringyes
limitRationumber
referralCodestring
cancel_order

Cancel a pending Pear Protocol limit, take-profit, or stop-loss order by orderId. Does not affect already-filled portions. For TWAP orders, use cancel_twap_order. WRITE: cancels a live order. Requires PEAR_TRADE_ENABLED=true.

ParameterTypeRequiredDescription
orderIdstringyes
cancel_twap_order

Cancel a Pear Protocol TWAP (time-weighted average price) order and all of its remaining unfilled chunks. WRITE: cancels a live order. Requires PEAR_TRADE_ENABLED=true.

ParameterTypeRequiredDescription
orderIdstringyes
close_all_positions

Close every open Pear Protocol position with a single executionType (MARKET or TWAP). Returns a per-position result array with success/error. WRITE: executes real trades. Requires PEAR_TRADE_ENABLED=true.

ParameterTypeRequiredDescription
executionTypestringyes
twapDurationnumber
twapIntervalSecondsnumber
randomizeExecutionboolean
referralCodestring
close_position

Close one open Pear Protocol position by positionId. executionType: MARKET (immediate) or TWAP (spread over time; requires twapDuration in seconds). WRITE: executes a real trade. Requires PEAR_TRADE_ENABLED=true.

ParameterTypeRequiredDescription
positionIdstringyes
executionTypestringyes
twapDurationnumber
twapIntervalSecondsnumber
randomizeExecutionboolean
referralCodestring
create_agent_wallet

Create a new Pear Protocol agent wallet for the authenticated user. The agent wallet is what Pear uses to sign Hyperliquid trades. After creation, the user MUST approve this wallet on Hyperliquid (the response message contains the approval instructions). WRITE: executes a state change. Requires PEAR_TRADE_ENABLED=true.

_No parameters_

get_account_summary

Get the authenticated user's Pear Protocol account summary: agent wallet address, total closed trades, pending trigger-order USD value, pending TWAP-chunk USD value, and last sync timestamp. Requires PEAR_API_KEY.

_No parameters_

get_active_markets

Get the most active Pear Protocol pair markets right now: current active pairs plus top gainers, top losers, highlighted pairs, and the user's watchlist. Use to see what's hot or as a starting point for narrowing into a specific pair.

_No parameters_

get_agent_wallet

Get the authenticated user's Pear Protocol agent wallet address. The agent wallet is what Pear uses to sign Hyperliquid trades on the user's behalf. Returns an empty/missing address if no agent wallet has been created yet; call create_agent_wallet to create one.

_No parameters_

get_health

Check Pear Protocol API health. Returns service status, server timestamp, and uptime in seconds. Use this to verify the API is reachable before running other tools.

_No parameters_

get_open_orders

List the authenticated user's open limit, take-profit, and stop-loss orders on Pear Protocol. Returns each order's ID, type, status, and pair composition. Requires PEAR_API_KEY.

_No parameters_

get_open_positions

List the authenticated user's currently open Pear Protocol pair positions, including position ID, entry ratio, mark ratio, unrealized PnL, and long/short composition. Requires PEAR_API_KEY.

_No parameters_

get_pair_ratio

Get the current ratio (long/short composition price) for a specific Pear Protocol pair. Pass long and short asset arrays. Returns the ratio, 24h change, and funding rate. Useful when you know the pair you care about and want the latest number.

ParameterTypeRequiredDescription
longAssetsarrayyesAsset symbols on the long side (e.g. ['BTC']).
shortAssetsarrayyesAsset symbols on the short side. Pass an empty array for long-only baskets.
get_portfolio

Fetch the authenticated user's full portfolio metrics on Pear Protocol: bucketed PnL across last 1 day / 1 week / 1 month / 1 year / all-time, plus overall stats (total trades, all-time volume, current open interest, unrealized PnL). Requires PEAR_API_KEY.

_No parameters_

get_trade_history

Fetch the authenticated user's recent closed trades on Pear Protocol with realized PnL, entry/exit ratios, and pair composition. Optional date range and limit. Requires PE

Only the beginning is shown; read the rest in the repo