Pear MCP Server
by marvelnwachukwuio.github.MarvelNwachukwu/mcp-pearv0.2.2
MCP server for Pear Protocol: markets, positions, orders, portfolio, and gated trade execution.
context tax
queued
security
queued
cold start
queued
freshness
Maintained3mo ago
Install Pear MCP server
Install in Claude Code
claude mcp add pear -e PEAR_API_KEY='<pear-api-key>' -e PEAR_JWT='<pear-jwt>' -e PEAR_REFRESH_TOKEN='<pear-refresh-token>' -- npx -y @marvelcodes/mcp-pearInstall in Cursor
{
"mcpServers": {
"pear": {
"command": "npx",
"args": [
"-y",
"@marvelcodes/mcp-pear"
],
"env": {
"PEAR_API_KEY": "<pear-api-key>",
"PEAR_JWT": "<pear-jwt>",
"PEAR_REFRESH_TOKEN": "<pear-refresh-token>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"pear": {
"command": "npx",
"args": [
"-y",
"@marvelcodes/mcp-pear"
],
"env": {
"PEAR_API_KEY": "<pear-api-key>",
"PEAR_JWT": "<pear-jwt>",
"PEAR_REFRESH_TOKEN": "<pear-refresh-token>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"pear": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@marvelcodes/mcp-pear"
],
"env": {
"PEAR_API_KEY": "<pear-api-key>",
"PEAR_JWT": "<pear-jwt>",
"PEAR_REFRESH_TOKEN": "<pear-refresh-token>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"pear": {
"command": "npx",
"args": [
"-y",
"@marvelcodes/mcp-pear"
],
"env": {
"PEAR_API_KEY": "<pear-api-key>",
"PEAR_JWT": "<pear-jwt>",
"PEAR_REFRESH_TOKEN": "<pear-refresh-token>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| PEAR_API_KEY | — | yes | Pear API key for authenticated read/write tools (single-user mode). Public tools work without it. |
| PEAR_ADDRESS | — | — | Wallet address (0x...) bound to PEAR_API_KEY. Required alongside PEAR_API_KEY. |
| PEAR_JWT | — | yes | Pre-minted Pear JWT for multi-tenant orchestrators (JWT pass-through mode). Used directly when set. |
| PEAR_REFRESH_TOKEN | — | yes | Refresh token so the server refreshes an expired JWT itself instead of requiring a restart. |
| PEAR_TRADE_ENABLED | — | — | Set to 'true' to enable the write/trade-execution tools. Off by default. |
Freshness
Maintained — last maintenance signal 3mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-07-18 · 3mo ago · GitHub
Latest release
2026-05-30 · 4mo ago · GitHub · v0.2.0
Package published
no data · npm/PyPI
Registry entry updated
2026-07-18 · 3mo ago · official registry · v0.2.2
FAQ
›How do I install the Pear MCP server in Claude Code?
Run: claude mcp add pear -e PEAR_API_KEY='<pear-api-key>' -e PEAR_JWT='<pear-jwt>' -e PEAR_REFRESH_TOKEN='<pear-refresh-token>' -- npx -y @marvelcodes/mcp-pear. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Pear require an API key?
Yes. It expects PEAR_API_KEY, PEAR_JWT, PEAR_REFRESH_TOKEN, of which 3 are secrets.
›Can I use Pear as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Pear in the official MCP registry?
Yes, as io.github.MarvelNwachukwu/mcp-pear.
Alternatives to Pear
Other e-commerce MCP servers.