MCP Pear
MCP server for Pear Protocol: markets, positions, orders, portfolio, and gated trade…
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.2.2
- Listing updated
- 6 days ago
About MCP Pear
MCP Pear is an open-source MCP server. It runs locally on your machine and is started by your AI client.
MCP server for Pear Protocol: markets, positions, orders, portfolio, and gated trade execution.
Install
Run in a terminal
claude mcp add mcp-pear --env PEAR_API_KEY='<PEAR_API_KEY>' --env PEAR_JWT='<PEAR_JWT>' --env PEAR_REFRESH_TOKEN='<PEAR_REFRESH_TOKEN>' -- npx -y @marvelcodes/mcp-pearAdd to claude_desktop_config.json
{
"mcpServers": {
"mcp-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
{
"mcpServers": {
"mcp-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 .vscode/mcp.json
{
"servers": {
"mcp-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 ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-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 your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp-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>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
PEAR_API_KEYPear API key for authenticated read/write tools (single-user mode). Public tools work without it.PEAR_ADDRESSWallet address (0x...) bound to PEAR_API_KEY. Required alongside PEAR_API_KEY.PEAR_JWTPre-minted Pear JWT for multi-tenant orchestrators (JWT pass-through mode). Used directly when set.PEAR_REFRESH_TOKENRefresh token so the server refreshes an expired JWT itself instead of requiring a restart.PEAR_TRADE_ENABLEDSet to 'true' to enable the write/trade-execution tools. Off by default.
Pricing
Open source
MCP Pear FAQ
Is MCP Pear free?
Yes. MCP Pear is open source, so you can use and self-host it for free.
How do I add MCP Pear to Claude Code?
Run this command in your terminal: claude mcp add mcp-pear --env PEAR_API_KEY='<PEAR_API_KEY>' --env PEAR_JWT='<PEAR_JWT>' --env PEAR_REFRESH_TOKEN='<PEAR_REFRESH_TOKEN>' -- npx -y @marvelcodes/mcp-pear
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.