tokenspy-mcp
šµļø TokenSpy MCP Server
Give your AI agent access to pitfall intelligence and trading signals.
TokenSpy maintains a curated database of AI pitfalls (common mistakes, failure modes, and gotchas that cost teams real money) and trading signals (data-driven directional indicators). This MCP server lets AI agents like Claude, Cursor, and others query that data directly.
Quick Start
npx tokenspy-mcpThat's it. Your AI agent can now search pitfalls and trading signals.
Installation
Option 1: npx (no install)
npx tokenspy-mcpOption 2: Global install
npm install -g tokenspy-mcp
tokenspy-mcpConfiguration
Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"tokenspy": {
"command": "npx",
"args": ["-y", "tokenspy-mcp"],
"env": {
"TOKENSPY_API_KEY": "your-api-key-here"
}
}
}
}Cursor
Add to your Cursor MCP settings (.cursor/mcp.json in your project or global config):
{
"mcpServers": {
"tokenspy": {
"command": "npx",
"args": ["-y", "tokenspy-mcp"],
"env": {
"TOKENSPY_API_KEY": "your-api-key-here"
}
}
}
}Windsurf / Other MCP Clients
Any MCP-compatible client can use this server. Point it at:
npx tokenspy-mcpThe server communicates over stdio using the standard MCP protocol.
Available Tools
Pitfall Tools
Tool | Description |
| Search the AI pitfall database by keyword and tags |
| Get full details for a specific pitfall |
| List all available pitfalls |
Signal Tools
Tool | Description |
| Search trading signals by keyword, ticker, or category |
| Get full details for a specific signal |
| List all available trading signals |
Tool Examples
Search for AI pitfalls
Agent: "Search for pitfalls related to RAG"
ā search_pitfalls({ query: "RAG" })
Returns:
[
{
"id": "pit_rag_001",
"title": "RAG Retrieval Poisoning",
"summary": "Attackers inject malicious content into...",
"price": 4.99,
"estimatedCostSaved": 50000,
"tags": ["security", "rag", "retrieval"]
}
]Get trading signal details
Agent: "What's the current BTC signal?"
ā search_signals({ ticker: "BTC" })
Returns:
[
{
"id": "sig_btc_momentum",
"name": "BTC Momentum Oscillator",
"ticker": "BTC",
"direction": "bullish",
"winRate": 0.72,
"price": 9.99,
"category": "crypto"
}
]Free vs Paid Tier
Free | Paid | |
Search pitfalls | ā | ā |
List pitfalls | ā | ā |
Pitfall summaries | ā | ā |
Full pitfall content | ā | ā |
Search signals | ā | ā |
List signals | ā | ā |
Signal direction & win rate | ā | ā |
Full signal methodology | ā | ā |
Free tier works without any API key ā great for discovery and basic queries.
Paid tier requires a TOKENSPY_API_KEY environment variable. Get your API key at tokenspy.ai.
Environment Variables
Variable | Required | Description |
| No | API key for full content access |
API Documentation
Full API docs are available at tokenspy.ai/docs.
How It Works
This package implements the Model Context Protocol (MCP) ā an open standard for connecting AI agents to external tools and data sources. When you configure this server in Claude Desktop, Cursor, or any MCP client:
The client starts the
tokenspy-mcpprocessCommunication happens over stdin/stdout using JSON-RPC
The AI agent can discover and call TokenSpy tools
All tools are read-only ā no destructive operations, ever
Development
git clone https://github.com/kypro-ai/tokenspy-mcp.git
cd tokenspy-mcp
npm install
npm run build
npm startLicense
MIT ā see LICENSE.
Built with šµļø by TokenSpy
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/kypro-ai/tokenspy-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server