Multi-exchange crypto intelligence platform with real-time streaming, screening, and analytics.
git clone https://github.com/HanSoBored/CryptoScope
cd CryptoScope
cp .env.example .env
docker compose up -dAccess:
- Frontend: http://localhost:3001
- Backend: http://localhost:3000
- API Docs: http://localhost:3000/api-docs/swagger-ui
β οΈ Notice: CLI/TUI interface has been deprecated. Use the web API and frontend instead.
- β Price Screener β Filter symbols by price change %, volume, and contract type
- β Database Caching β Daily open prices cached in SQLite for fast queries
- β K-line Mode β Accurate 00:00 UTC daily open for price calculations
- β Multi-Exchange β Modular architecture for easy exchange integration
- β Web UI β Modern Next.js frontend with real-time updates
- β Authentication β JWT-based auth with Argon2id password hashing
- β MCP Server β AI agent integration via Model Context Protocol
- β Security β Parameter validation, JWT nbf claims, path traversal prevention
- β Docker Support β Production and development Docker Compose setups
- β Fast Execution β Sub-3-second fetch for all symbols
# Build from source
git clone https://github.com/HanSoBored/CryptoScope
cd CryptoScope
cargo build --releasePrerequisites: Rust 1.88+, Node.js 20+, Linux: sudo apt-get install -y pkg-config libssl-dev
| Guide | Description |
|---|---|
| π Deployment Guide | Docker setup, production deployment, troubleshooting |
| π» Development Guide | Local dev setup, hot reload, code quality |
| π‘ API Reference | REST API endpoints, authentication, examples |
| βοΈ Configuration | Environment variables, security settings |
| π€ MCP Server | AI agent integration (Claude, Cursor, etc.) |
Supported: Bybit V5 (linear + inverse perpetual/futures)
Planned: Binance Futures, OKX Derivatives, cross-exchange symbol comparison
CryptoScope/
βββ src/
β βββ api/ # REST API endpoints (Axum)
β βββ core/
β β βββ exchange/ # Exchange integrations (Bybit, etc.)
β β βββ screener/ # Price screening logic
β β βββ db/ # Database repository
β β βββ security.rs # Parameter validation, path safety
β βββ mcp/
β β βββ mod.rs # MCP server implementation
β β βββ client.rs # HTTP client for API
β β βββ types.rs # MCP parameter types
β βββ bin/
β βββ mcp-server.rs # MCP server binary
βββ frontend/ # Next.js web application
βββ docs/ # Documentation
βββ data/ # SQLite database (gitignored)
βββ docker-compose.yml
Required: JWT_SECRET, ADMIN_USER, ADMIN_PASS_HASH, CORS_ORIGINS, RUST_ENV
See Configuration Guide for all environment variables and options.
CryptoScope provides an MCP server for AI agents to interact with market data:
# Run MCP server
cargo run --bin mcp-server
# Configure in Claude Desktop or Cursor
# See docs/mcp/README.md for setup instructionsAvailable Tools:
get_exchangesβ List supported exchangesget_symbolsβ Fetch trading symbolsrun_screenerβ Price screening with filtersget_statsβ Cache statisticsloginβ JWT authenticationrefresh_cacheβ Manual cache refresh (protected)
Contributions welcome! Please feel free to submit a Pull Request.
GNU General Public License v3.0 (GPL-3.0)