npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@pacifica-dev/mcp

v0.1.7

Published

MCP server for Pacifica — gives AI agents the ability to trade, monitor, and manage positions on Solana's #1 perps DEX.

Downloads

796

Readme

@pacifica-dev/mcp

MCP server for Pacifica — the #1 Solana perps DEX. Gives AI agents the ability to trade, monitor positions, and manage accounts on Pacifica through natural language.

36 tools. One-line install. All free.

Install

Claude Code

claude mcp add pacifica npx @pacifica-dev/mcp

Cursor / Windsurf / Claude Desktop / VS Code Copilot

Add to your MCP config:

{
  "mcpServers": {
    "pacifica": {
      "command": "npx",
      "args": ["-y", "@pacifica-dev/mcp"]
    }
  }
}

Gemini CLI

gemini mcp add pacifica npx -y @pacifica-dev/mcp

Other Hosts

Any MCP-compatible client can use npx @pacifica-dev/mcp as the server command.

What You Can Do

Once installed, talk to your AI agent naturally:

"What's the BTC price on Pacifica?"
→ pacifica-prices { symbol: "BTC" }
→ BTC mark: $74,586, funding: +0.0015%, 24h vol: $9.1M

"Show me my open positions"
→ pacifica-positions
→ ETH long 0.2681 @ $2,180.14, unrealized P&L: +$5.32

"Open a 0.01 ETH long at market"
→ pacifica-market-order { symbol: "ETH", side: "bid", amount: "0.01" }
→ Order placed, order_id: 306672002

"Set a stop loss at $2,100 on my ETH position"
→ pacifica-set-tpsl { symbol: "ETH", side: "bid", stop_loss_price: "2100" }

"Watch BTC prices for 10 seconds"
→ pacifica-watch { channel: "prices", symbol: "BTC", duration: 10 }
→ 75 symbols tracked, BTC moved +0.02%

Tools (36)

| Category | Count | Tools | |----------|-------|-------| | Market Data | 7 | prices, markets, orderbook, candles, mark-candles, trades, funding-rates | | Account | 9 | account, settings, positions, trade-history, portfolio, balance-history, orders, order-history, order-by-id | | Trading | 11 | market-order, limit-order, stop-order, edit-order, batch-order, tpsl, cancel, cancel-stop, leverage, margin-mode, withdraw | | Subaccounts | 3 | create-subaccount, list-subaccounts, transfer-funds | | Real-Time | 4 | watch, watch-start, watch-read, watch-stop | | System | 2 | wallet, tools |

Configuration

On first run, a Solana wallet is auto-generated at ~/.pacifica-mcp/config.json. Your private key never leaves your machine.

| Variable | Default | Description | |----------|---------|-------------| | PACIFICA_NETWORK | testnet | testnet or mainnet | | PACIFICA_PRIVATE_KEY | — | Override wallet (base58 encoded) | | LOG_LEVEL | info | debug, info, warn, error |

Getting Started on Testnet

  1. Install the MCP server (see above)
  2. Ask your agent: "Show my wallet" — this generates your wallet
  3. Go to test-app.pacifica.fi (access code: Pacifica)
  4. Deposit testnet funds (SOL, USDC, or other supported assets) via the Pacifica web app
  5. Start trading: "Open a 0.001 BTC long"

Architecture

This package is a thin (~30 line) stdio wrapper around @pacifica-dev/cli, which contains all 36 tool implementations.

Links

License

MIT