DEX K-line (GeckoTerminal)
FreeNot checkedStreams real-time OHLCV candlestick data from decentralized exchanges via GeckoTerminal API, automatically selecting highest liquidity pools across Ethereum, BS
About
Streams real-time OHLCV candlestick data from decentralized exchanges via GeckoTerminal API, automatically selecting highest liquidity pools across Ethereum, BSC, and Solana networks for accurate DeFi market analysis and trading insights.
README
An MCP server that streams K-line (candlestick) data from decentralized exchanges (DEXs) to power your AI agents and workflows.
Features
- K-line Data Retrieval: Fetches OHLCV (Open, High, Low, Close, Volume) data for specified tokens on supported chains (Ethereum, Binance Smart Chain, Solana).
- Dynamic Timeframes: Supports multiple timeframes (
1m,5m,15m,1h,4h,12h,1d) with appropriate API endpoints. - Best Pool Selection: Automatically selects the pool with the highest liquidity for accurate data.
- Flexible End Time: Allows specifying an end time in ISO 8601 format or defaults to the current UTC time.
- Tabular Output: Formats K-line data into a clean, readable table using the
tabulatelibrary.
Installation
Prerequisites
- Python 3.10 or higher
- uv for dependency management
Setup
Clone the repository:
git clone https://github.com/kukapay/dex-kline-mcp.git cd dex-kline-mcpInstall dependencies:
uv syncInstalling to Claude Desktop:
Install the server as a Claude Desktop application:
uv run mcp install main.py --name "DEX K-line"Configuration file as a reference:
{ "mcpServers": { "DEX K-line": { "command": "uv", "args": [ "--directory", "/path/to/dex-kline-mcp", "run", "main.py" ] } } }Replace
/path/to/dex-kline-mcpwith your actual installation path.
Usage
Tool: get_kline
The server exposes a single tool, get_kline, which retrieves K-line data for a specified token.
Parameters
chain(str): Blockchain network (e.g.,eth,bsc,solana)address(str): Token contract addresstimeframe(str): K-line timeframe (e.g.,1m,5m,15m,1h,4h,12h,1d). Default:1hend_time(str, optional): ISO 8601 timestamp for data end time (e.g.,2025-07-03T02:14:00Z). Default: current UTC timelimit(int): Number of data points to return (max 1000). Default: 100
Example Prompt
Fetch the 1-hour K-line data for the token with the contract address 0xf4b385849f2e817e92bffbfb9aeb48f950ff4444 on the Binance Smart Chain (BSC).
Example Output
Pair: TOKEN/USDT
+---------------------+------------+------------+------------+------------+------------+
| Timestamp | Open | High | Low | Close | Volume |
+---------------------+------------+------------+------------+------------+------------+
| 2025-07-03 01:00:00 | 0.12345678 | 0.12345678 | 0.12345678 | 0.12345678 | 1234.56789 |
| 2025-07-03 00:00:00 | 0.12345678 | 0.12345678 | 0.12345678 | 0.12345678 | 1234.56789 |
+---------------------+------------+------------+------------+------------+------------+
License
This project is licensed under the MIT License. See the LICENSE file for details.
Acknowledgments
Data powered by GeckoTerminal API.
Installing DEX K-line (GeckoTerminal)
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/kukapay/dex-kline-mcpFAQ
Is DEX K-line (GeckoTerminal) MCP free?
Yes, DEX K-line (GeckoTerminal) MCP is free — one-click install via Unyly at no cost.
Does DEX K-line (GeckoTerminal) need an API key?
No, DEX K-line (GeckoTerminal) runs without API keys or environment variables.
Is DEX K-line (GeckoTerminal) hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install DEX K-line (GeckoTerminal) in Claude Desktop, Claude Code or Cursor?
Open DEX K-line (GeckoTerminal) on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectServer Sequential Thinking
MCP server for sequential thinking and problem solving
by GitHub ActionsUnyly Deploy
Deploy sites and MCP servers to Unyly straight from your AI agent
by UnylyAmap Maps Mcp Server
MCP server for using the AMap Maps API
by duxiaohuiPayMCP
Lightweight payments layer for MCP servers: turn tools into paid endpoints with a two-line decorator. [PyPI](https://pypi.org/project/paymcp/) · [npm](https://w
by blustAIServer For Power BI
Enables exploring Microsoft Fabric / Power BI workspaces and semantic models, and executing ad-hoc DAX queries.
by Mitsubishi-FusoGpt Image 2 Mcp
RunAPI GPT Image 2 MCP server for image generation: create tasks, poll results, and check pricing across 1 model from Claude Code, Codex, Cursor, and VS Code.
by runapi-aiCompare DEX K-line (GeckoTerminal) with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
