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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@ijusttookadnatest/ekubo-mcp

v0.5.1

Published

MCP server for Ekubo protocol interactions on Starknet

Readme

Snak - Ekubo MCP

The Ekubo MCP provides tools for interacting with Ekubo Protocol, the next-generation AMM (Automated Market Maker) on Starknet that revolutionizes DeFi with ultra-concentrated liquidity and singleton architecture.

About Ekubo Protocol

Ekubo is Starknet's leading AMM, commanding 60% of the total AMM TVL and the majority of trading volume on the network. Built by former Uniswap Labs engineers, it features:

  • Singleton Architecture: All pools consolidated into a single Cairo smart contract for 99% cheaper pool creation
  • Ultra-Concentrated Liquidity: Up to 100x more capital efficient positions with precision down to 1/100th of a basis point
  • Extensions System: Custom pool logic deployment without governance approval
  • Till Pattern: Gas-optimized deferred token transfers

Features

This MCP adds the following tools:

Read Operations

  • get_pool_info: Get comprehensive information about an Ekubo pool including current price, liquidity, and fee data.
  • get_token_price: Get the price of a token via Ekubo pools by querying the pool price directly from the Core contract.
  • get_pool_liquidity: Get the total liquidity available in an Ekubo pool at the current tick.
  • get_pool_fees_per_liquidity: Get the cumulative fees per unit of liquidity for an Ekubo pool (both token0 and token1).

Write Operations

  • swap: Swap tokens on Ekubo DEX. Supports both exact input and exact output swaps with configurable slippage tolerance.
  • create_position: Create a new liquidity position (NFT) in an Ekubo pool within a specified price range (concentrated liquidity).
  • add_liquidity: Add liquidity to an existing Ekubo pool position without minting a new NFT.
  • withdraw_liquidity: Withdraw liquidity from an Ekubo pool position. Can withdraw full position, partial position, or only collect fees.
  • transfer_position: Transfer an Ekubo NFT position to another address.

Usage

The Ekubo MCP is used by Claude Code and compatible MCP clients. Configure it in your MCP settings to enable Ekubo Protocol functionality.

Example

When asking the agent to perform Ekubo-related tasks, it will use the appropriate tool from this MCP:

"Get info about the ETH/USDC pool on Ekubo"  // Uses get_pool_info
"What's the price of STRK on Ekubo?"  // Uses get_token_price
"How much liquidity is in the ETH/USDC pool?"  // Uses get_pool_liquidity
"Swap 0.1 ETH for USDC on Ekubo"  // Uses swap
"Create a liquidity position for ETH/USDC"  // Uses create_position
"Add liquidity to my existing position"  // Uses add_liquidity
"Withdraw liquidity from my position"  // Uses withdraw_liquidity
"Transfer my position NFT to another address"  // Uses transfer_position

Development

To extend this MCP, add new tools in the src/tools directory and register them in the registerTools function in src/tools/index.ts.