The Token Metrics MCP Server provides comprehensive cryptocurrency data, analytics, and insights through function calling for AI assistants. With this server, you can:
- Access Real-time Crypto Data: Fetch current prices, market cap, volume, and historical OHLCV data (hourly/daily)
- Generate Trading Signals: Obtain AI-generated trading signals for long and short positions
- Price Predictions: Use advanced price forecasting and scenario analysis tools
- Technical Analysis: Access support/resistance levels and token correlation analysis
- Market Analytics: Get comprehensive market insights, bullish/bearish indicators, and sentiment analysis from Twitter, Reddit, and news
- Quantitative Metrics: Utilize advanced quantitative analysis and grading systems for traders and investors
- Research & Reports: Fetch AI-generated token reports and crypto investor information
- Indices & Portfolio: Retrieve data on active/passive crypto indices, their performance, and holdings
- List Top Tokens: Access rankings of top tokens by market capitalization
Provides a Node.js-based interface to Token Metrics' cryptocurrency analytics API, supporting real-time data retrieval and analysis of crypto market metrics
Allows easy installation and deployment of the Token Metrics MCP server through npm, providing cryptocurrency analysis tools and market data access
Implements TypeScript for type-safe interaction with Token Metrics' cryptocurrency data API, enabling structured access to trading signals and market analytics
Token Metrics MCP Server
The Token Metrics Model Context Protocol (MCP) server provides comprehensive cryptocurrency data, analytics, and insights through function calling. This server enables AI assistants and agents to access Token Metrics' powerful API for real-time crypto market data, trading signals, price predictions, and advanced analytics.
Features
- Real-time Crypto Data: Access current prices, market cap, volume, and other key metrics
- Trading Signals: AI-generated trading signals for long and short positions
- Price Predictions: Advanced price forecasting and scenario analysis
- Technical Analysis: Support and resistance levels, correlation analysis
- Market Analytics: Comprehensive market insights and sentiment analysis
- Quantitative Metrics: Advanced quantitative analysis and grading systems
Quick Start
Option 1: HTTP Transport
The easiest way to get started is using our hosted HTTP transport - no installation required:
Option 2: Using npx (Local Installation)
Connection Methods
HTTP Transport (Hosted)
- URL:
https://mcp.tokenmetrics.com
- Authentication: Use
x-api-key
header with your Token Metrics API key - Benefits:
- No local installation required
- Always up-to-date
- Better performance and reliability
- Automatic scaling
- Usage: Perfect for production environments and users who prefer not to install packages locally
Local Installation (npx/npm)
- Benefits:
- Full control over the server instance
- Works offline (after installation)
- Can modify and extend functionality
- Usage: Ideal for development, testing, or custom implementations
MCP Listings
You can find the Token Metrics MCP server on these popular MCP listing sites:
- Smithery: https://smithery.ai/server/@token-metrics/mcp
- Glama AI: https://glama.ai/mcp/servers/@token-metrics/mcp
- MCP.so: https://mcp.so/server/mcp/token-metrics
- Awesome MCP Servers: https://mcpservers.org/servers/token-metrics/mcp
Setup with AI Clients
Claude Desktop or VS Code/Cursor
HTTP Transport Configuration
Add the following to your claude_desktop_config.json
or mcp.json
:
Local Installation Configuration
Add the following to your claude_desktop_config.json
or mcp.json
:
Available Tools
The Token Metrics MCP server provides the following tools:
Token Data & Prices
get_tokens_data
- Fetch comprehensive token informationget_tokens_price
- Get current token pricesget_tokens_hourly_ohlcv
- Hourly OHLCV dataget_tokens_daily_ohlcv
- Daily OHLCV data
Trading & Analysis
get_tokens_trading_signal
- AI-generated trading signalsget_tokens_trader_grade
- Short-term trader gradesget_tokens_investor_grade
- Long-term investor gradesget_tokens_resistance_and_support
- Technical support/resistance levelsget_tokens_correlation
- Token correlation analysis
Market Intelligence
get_market_metrics
- Overall market analyticsget_sentiment
- Market sentiment analysisget_tokens_quant_metrics
- Quantitative metricsget_tokens_scenario_analysis
- Price prediction scenarios
Research & Reports
get_tokens_ai_report
- AI-generated token reportsget_crypto_investors
- Crypto investor informationget_top_tokens_by_market_cap
- Top tokens by market cap
Indices & Portfolio
get_indices
- Fetch active and passive crypto indicesget_indices_performance
- Historical performance data for indicesget_indices_holdings
- Current holdings and weights for indices
Getting Your API Key
- Visit Token Metrics
- Sign up for an account
- Navigate to your API Dashboard
- Generate a new API key
- Use the API key with this MCP server
Development
Prerequisites
- Node.js 18 or higher
- npm or yarn
- TypeScript
Local Development
- Clone the repository:
- Install dependencies:
- Set your API key:
- Run in development mode:
Building
Testing with MCP Inspector
You can test the local server using the MCP Inspector:
Configuration
HTTP Transport Configuration
When using the hosted HTTP transport at https://mcp.tokenmetrics.com
, the server accepts:
Headers:
x-api-key
- Your Token Metrics API key (required)Content-Type: application/json
(for requests)
Supported Endpoints:
POST /
- Main MCP JSON-RPC endpoint
Local Server Configuration
The local server accepts the following configuration options:
--help
- Show help information
Environment variables:
TOKEN_METRICS_API_KEY
- Your Token Metrics API key
Error Handling
The server includes comprehensive error handling:
- Invalid API Key: Returns authentication error
- Rate Limiting: Handles API rate limits gracefully
- Network Issues: Retries failed requests
- Invalid Parameters: Validates input parameters
Security
- API keys are handled securely
- No sensitive data is logged
- Docker container runs as non-root user
- Input validation on all parameters
Support
- Documentation: Token Metrics API Docs
- Issues: GitHub Issues
- Support: Token Metrics Support
License
MIT License - see LICENSE file for details.
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
The Token Metrics Model Context Protocol (MCP) server provides comprehensive cryptocurrency data, analytics, and insights through function calling. This server enables AI assistants and agents to access Token Metrics' powerful API for real-time crypto market data, trading signals, price predictions, and advanced analytics.
Related MCP Servers
- Python
- -securityAlicense-qualitySatellite Tracking MCP ServerLast updated -TypeScriptMIT License
- -securityAlicense-qualityMarineTraffic MCP ServerLast updated -1TypeScriptMIT License
- TypeScriptMIT License