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

hl-eco-mcp

v0.1.12-alpha

Published

Gateway to the HyperLiquid Ecosystem for AI agents.

Readme

HyperLiquid Ecosystem MCP Server

Transform ANY API into AI-accessible tools in 60 seconds! 🚀

hl-eco-mcp is a revolutionary Model Context Protocol (MCP) server that makes every DeFi protocol instantly accessible to AI agents. Simply submit a JSON definition of your API, and watch it automatically transform into tools that Claude, ChatGPT, and any AI agent can use. No coding required, no complex integrations - just unlimited extensibility for the entire DeFi ecosystem.

🌟 Core Features

  • ♾️ Unlimited Extensibility - Any REST API, GraphQL endpoint, or WebSocket feed becomes AI tools
  • 🤖 Zero-Code Integration - JSON protocol definitions automatically generate MCP tools
  • 🌐 Community-Driven - Protocols contributed by the community, for the community
  • ⚡ Instant Deployment - Submit PR, get AI tools - it's that simple
  • 🛡️ Security Built-in - Authentication, rate limiting, and validation for every protocol
  • 📊 Production Ready - Battle-tested with HyperLiquid integration as the flagship example

🚀 Quick Start

🔍 Read-Only Mode (No API Keys Required)

Get started instantly with market data and read-only features:

# Install the MCP server
npm install -g hl-eco-mcp

# Run in read-only mode - perfect for market analysis
hl-eco-mcp

Available in read-only mode: Market data, price feeds, analytics, protocol information, and more!

🔑 Full-Access Mode (API Keys Required)

For trading and account management, add your API keys:

# Set your credentials for trading features
export HYPERLIQUID_PRIVATE_KEY="your_key_here"
export GLUEX_DEFI_API_KEY="your_key_here"

# Now access all features including trading
hl-eco-mcp

For Protocol Teams - Add Your API in 30 Minutes

// docs/community-protocols/template/protocol-template.json
{
  "name": "your-defi-protocol",
  "version": "1.0.0",
  "description": "Your protocol description",
  "baseUrl": "https://api.yourprotocol.com/v1",
  "endpoints": [
    {
      "name": "getPoolInfo",
      "method": "GET",
      "path": "/pools/{poolId}",
      "description": "Get liquidity pool information"
    }
  ]
}

Result: Your API is now accessible to every AI agent as your_defi_protocol_getPoolInfo!

Claude Desktop Configuration

Read-Only Mode (market data and analytics only):

{
  "mcpServers": {
    "hyperliquid": {
      "command": "hl-eco-mcp",
      "env": {
        "ENABLE_COMMUNITY_SYSTEM": "true"
      }
    }
  }
}

Full-Access Mode (includes trading capabilities):

{
  "mcpServers": {
    "hyperliquid": {
      "command": "hl-eco-mcp",
      "env": {
        "ENABLE_COMMUNITY_SYSTEM": "true",
        "HYPERLIQUID_PRIVATE_KEY": "your_private_key",
        "HYPERLIQUID_USER_ADDRESS": "your_wallet_address",
        "GLUEX_DEFI_API_KEY": "your_api_key"
      }
    }
  }
}

🛠️ What's Included

Community Protocol System (Unlimited Tools)

Any protocol can join the ecosystem:

  • DeFi Protocols - DEXs, lending platforms, yield aggregators
  • Data Providers - Price feeds, analytics, on-chain data
  • Infrastructure - RPCs, indexers, oracles
  • Cross-Chain - Bridges, aggregators, multi-chain protocols
  • Your Protocol - Whatever API you have, we can integrate!

Example: HyperLiquid Integration (32+ Built-in Tools)

As a demonstration of what's possible, we include a complete HyperLiquid integration:

  • Trading - Orders, positions, account management
  • Market Data - Real-time prices, order books, trade history
  • Risk Management - Portfolio analysis, risk limits, alerts
  • Smart Execution - TWAP, VWAP, iceberg orders
  • Market Intelligence - Technical analysis, sentiment data

📖 Documentation

🚀 Complete Documentation on GitBook 🚀

Quick Links

For Users

For Developers

Community

🔒 Security

  • Never commit private keys to version control
  • Use testnet for development and testing
  • Consider hardware wallets for mainnet trading
  • Monitor API access and permissions regularly

🤝 Join the Ecosystem

🎯 For Protocol Teams

Get your protocol AI-ready in 30 minutes:

  1. Fork this repository
  2. Create a JSON definition of your API
  3. Submit a pull request
  4. Done! Your protocol is now accessible to every AI agent

No SDK integration, no code changes, no maintenance - we handle everything.

🌟 Success Stories

  • GlueX: Multi-chain routing protocol - 6 endpoints via json specification
  • HyperLiquid: Complete DEX integration - 32+ tools demonstrating full capabilities
  • Your Protocol: Next success story - Start here

👨‍💻 For Developers

Extend the platform:

  • Enhance protocol validation
  • Improve tool generation
  • Add new authentication methods
  • Contribute to core infrastructure

See CONTRIBUTING.md for detailed contribution guidelines.

📄 License

MIT License - see LICENSE file for details.

🆘 Support


Ready to make your API AI-accessible? Join the ecosystem today - your protocol could be live in 30 minutes! 🚀

For traders: Access the entire DeFi ecosystem through natural language with your AI agent. For builders: Make your protocol instantly available to thousands of AI users. For everyone: The future of DeFi is AI-native, and it starts here.