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.
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
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@marvelcodes/mcp-pear 0.2.2
{
"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.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"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
{
"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
{
"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
{
"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.