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

linker-trading-mcp

v0.1.0

Published

MCP server for Linker Trading System - strategies, positions, PnL, and market data

Readme

linker-trading-mcp

MCP server for the Linker Trading System — gives AI assistants access to trading strategies, positions, PnL analysis, and market data.

All requests proxy through the deployed Linker Trading API via the MCP protocol.

Quick Start

Add the following to your MCP client config:

{
  "mcpServers": {
    "linker-trading": {
      "command": "npx",
      "args": ["-y", "linker-trading-mcp@latest"],
      "env": {
        "API_KEY": "12345"
      }
    }
  }
}

Config file locations

| Client | Config file | |--------|-------------| | Claude Desktop | claude_desktop_config.json | | Cursor | .cursor/mcp.json | | Claude Code | .mcp.json (project root) or run: claude mcp add linker-trading --env API_KEY=12345 -- npx -y linker-trading-mcp@latest |

Environment Variables

| Variable | Required | Description | Default | |----------|----------|-------------|---------| | API_KEY | Yes | API authentication key (contact admin to obtain) | - | | API_BASE_URL | No | API endpoint (only if self-hosting) | http://admin.linker.net/trade-api |

Available Tools (23)

| Tool | Description | |------|-------------| | Strategy | | | list_strategies | List all trading strategies | | get_strategy_detail | Get detailed info for a strategy | | get_strategy_values | Get strategy value/performance data | | get_strategy_options | Get strategy dropdown options | | get_strategy_factors | Get factor weights for a strategy | | get_strategy_charts | Get chart data for a strategy | | generate_strategy_name | Auto-generate a strategy name | | Position | | | get_open_positions | Get all currently open positions | | get_closed_positions | Get historical closed positions | | get_position_owners | Get list of position owners | | PnL | | | get_pnl_summary | Get profit & loss summary | | get_pnl_details | Get detailed PnL breakdown | | get_pnl_historical | Get historical PnL data | | Market Data | | | get_latest_prices | Get latest commodity prices | | get_historical_prices | Get historical price data | | get_technical_indicators | Get technical indicators (MA, MACD, RSI, etc.) | | get_foreign_prices | Get foreign market real-time prices | | get_foreign_available | Get available foreign market data | | Economic | | | search_economic_indicators | Search for economic indicators | | get_economic_data | Get economic indicator time series | | Freight | | | search_freight_routes | Search shipping/freight routes | | get_freight_data | Get freight rate data | | Search | | | search_options | Search across all available options |

Architecture

AI Assistant (Claude / Cursor)
    ↓ MCP (stdio)
linker-trading-mcp          ← this package
    ↓ HTTP proxy
Linker Trading FastAPI       ← deployed at API_BASE_URL

License

MIT