Local MCP Installation Guide
Quick Start
Connecting Claude / Cursor
⚠️ Prerequisites: Node.js v18 or higher must be installed. You can download it from nodejs.org.
Step 1: Locate the MCP Configuration File
Claude Desktop (Mac)
~/Library/Application Support/Claude/claude_desktop_config.json
Claude Desktop (Windows)
%APPDATA%\Claude\claude_desktop_config.json
Claude Code
~/.claude/mcp.json or project .mcp.json
Cursor
Project .cursor/mcp.json
Step 2: Add Settings
Add the following settings to your MCP configuration file:
{
"mcpServers": {
"cryptoquant": {
"command": "npx",
"args": ["-y", "cryptoquant-mcp"]
}
}
}
Step 3: Restart the App
After saving the configuration file, completely close the app and restart it.
Step 4: Verify Connection
Call the initialize() tool to verify the connection. Done!
Authentication Methods
Method A: Set Environment Variables (Recommended)
Add the API key to your environment variables in MCP settings:
Method B: Direct Parameter
You can also pass the API key directly when calling initialize():
The key is stored in ~/.cryptoquant/credentials and reused in subsequent sessions.
API Key Issuance: https://cryptoquant.com/settings/api
Managing Credentials
When account switching or re-authentication is required:
Additionally, when managing API keys directly via LLM, session initialization occurs automatically.
MCP Tool List
CryptoQuant MCP Server provides the following tools:
initialize
Start session with API key, return plan information
discover_endpoints
Explore over 245 endpoints
get_endpoint_info
Retrieve detailed endpoint parameter information
query_data
Query API data
describe_metric
Metric Description and Threshold Lookup
list_assets
Retrieve list of supported assets
reset_session
Reset Session (Logout)
Setting Up a Local Development Environment
Setting up a local development environment for developers:
Requirements
Node.js
v18+
API Access
CryptoQuant API Key - You can obtain an API key by accessing the website!
Troubleshooting
When Connection Fails
Verify Node.js v18 or higher is installed
Verify the configuration file path is correct
Check for JSON syntax errors
Ensure the app has been fully restarted
API Key Issues
Verify the API key is valid on the settings page
Execute
initialize()again after callingreset_session(clear_stored=true)If using environment variables, verify they are set correctly
Last updated
Was this helpful?