{"id":29114280,"url":"https://github.com/nayshins/mcp-server-ccxt","last_synced_at":"2026-02-19T02:40:04.386Z","repository":{"id":269638661,"uuid":"908004168","full_name":"Nayshins/mcp-server-ccxt","owner":"Nayshins","description":"Cryptocurrency Market Data MCP Server","archived":false,"fork":false,"pushed_at":"2025-02-17T18:45:06.000Z","size":1253,"stargazers_count":48,"open_issues_count":0,"forks_count":15,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-29T03:06:07.907Z","etag":null,"topics":["agent","ai","ccxt","cryptocurrency","mcp","mcp-server"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nayshins.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-24T20:56:00.000Z","updated_at":"2025-06-23T15:19:04.000Z","dependencies_parsed_at":"2024-12-25T09:15:49.457Z","dependency_job_id":null,"html_url":"https://github.com/Nayshins/mcp-server-ccxt","commit_stats":null,"previous_names":["nayshins/mcp-server-ccxt"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Nayshins/mcp-server-ccxt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nayshins%2Fmcp-server-ccxt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nayshins%2Fmcp-server-ccxt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nayshins%2Fmcp-server-ccxt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nayshins%2Fmcp-server-ccxt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nayshins","download_url":"https://codeload.github.com/Nayshins/mcp-server-ccxt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nayshins%2Fmcp-server-ccxt/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262581400,"owners_count":23331915,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agent","ai","ccxt","cryptocurrency","mcp","mcp-server"],"created_at":"2025-06-29T11:06:15.274Z","updated_at":"2025-06-29T11:08:22.504Z","avatar_url":"https://github.com/Nayshins.png","language":"Python","funding_links":[],"categories":["Finance \u0026 Fintech"],"sub_categories":["How to Submit"],"readme":"# Cryptocurrency Market Data MCP Server\n\nA Model Context Protocol (MCP) server that provides real-time and historical cryptocurrency market data through integration with major exchanges. This server enables LLMs like Claude to fetch current prices, analyze market trends, and access detailed trading information.\n\n[![MCP](https://img.shields.io/badge/MCP-Compatible-blue)](https://modelcontextprotocol.io)\n[![Python](https://img.shields.io/badge/Python-3.9%2B-blue)](https://www.python.org)\n[![CCXT](https://img.shields.io/badge/CCXT-Powered-green)](https://github.com/ccxt/ccxt)\n[![smithery badge](https://smithery.ai/badge/mcp-server-ccxt)](https://smithery.ai/server/mcp-server-ccxt)\n\n\u003ca href=\"https://glama.ai/mcp/servers/9kbbk1kmg2\"\u003e\u003cimg width=\"380\" height=\"200\" src=\"https://glama.ai/mcp/servers/9kbbk1kmg2/badge\" alt=\"Cryptocurrency Market Data Server MCP server\" /\u003e\u003c/a\u003e\n\n## Features\n\n- **Real-time Market Data**\n  - Current cryptocurrency prices\n  - Market summaries with bid/ask spreads\n  - Top trading pairs by volume\n  - Multiple exchange support\n\n- **Historical Analysis**\n  - OHLCV (candlestick) data\n  - Price change statistics\n  - Volume history tracking\n  - Customizable timeframes\n\n- **Exchange Support**\n  - Binance\n  - Coinbase\n  - Kraken\n  - KuCoin\n  - HyperLiquid\n  - Huobi\n  - Bitfinex\n  - Bybit\n  - OKX\n  - MEXC\n\n## Installation\n\n### Installing via Smithery\n\nTo install Cryptocurrency Market Data Server for Claude Desktop automatically via [Smithery](https://smithery.ai/server/mcp-server-ccxt):\n\n```bash\nnpx -y @smithery/cli install mcp-server-ccxt --client claude\n```\n\n### Installing Manually\n\n```bash\n# Using uv (recommended)\nuv pip install mcp ccxt\n\n# Using pip\npip install mcp ccxt\n```\n\n## Usage\n\n### Running the Server\n\n```bash\npython crypto_server.py\n```\n\n### Connecting with Claude Desktop\n\n1. Open your Claude Desktop configuration at:\n   - macOS: `~/Library/Application Support/Claude/claude_desktop_config.json`\n   - Windows: `%APPDATA%\\Claude\\claude_desktop_config.json`\n\n2. Add the server configuration:\n\n```json\n{\n    \"mcpServers\": {\n        \"crypto\": {\n            \"command\": \"python\",\n            \"args\": [\"/path/to/crypto_server.py\"]\n        }\n    }\n}\n```\n\n3. Restart Claude Desktop\n\n### Available Tools\n\n1. **get-price**\n   - Get current price for any trading pair\n   - Example: \"What's the current price of BTC/USDT on Binance?\"\n\n2. **get-market-summary**\n   - Fetch detailed market information\n   - Example: \"Show me a market summary for ETH/USDT\"\n\n3. **get-top-volumes**\n   - List top trading pairs by volume\n   - Example: \"What are the top 5 trading pairs on Kraken?\"\n\n4. **list-exchanges**\n   - Show all supported exchanges\n   - Example: \"Which exchanges are supported?\"\n\n5. **get-historical-ohlcv**\n   - Get historical candlestick data\n   - Example: \"Show me the last 7 days of BTC/USDT price data in 1-hour intervals\"\n\n6. **get-price-change**\n   - Calculate price changes over different timeframes\n   - Example: \"What's the 24-hour price change for SOL/USDT?\"\n\n7. **get-volume-history**\n   - Track trading volume over time\n   - Example: \"Show me the trading volume history for ETH/USDT over the last week\"\n\n### Example Queries\n\nHere are some example questions you can ask Claude once the server is connected:\n\n```\n- What's the current Bitcoin price on Binance?\n- Show me the top 5 trading pairs by volume on Coinbase\n- How has ETH/USDT performed over the last 24 hours?\n- Give me a detailed market summary for SOL/USDT on Kraken\n- What's the trading volume history for BNB/USDT over the last week?\n```\n\n## Technical Details\n\n### Dependencies\n\n- `mcp`: Model Context Protocol SDK\n- `ccxt`: Cryptocurrency Exchange Trading Library\n- Python 3.9 or higher\n\n### Architecture\n\nThe server uses:\n- CCXT's async support for efficient exchange communication\n- MCP's tool system for LLM integration\n- Standardized data formatting for consistent outputs\n- Connection pooling for optimal performance\n\n### Error Handling\n\nThe server implements robust error handling for:\n- Invalid trading pairs\n- Exchange connectivity issues\n- Rate limiting\n- Malformed requests\n- Network timeouts\n\n## Development\n\n### Running Tests\n\n```bash\n# To be implemented\npytest tests/\n```\n\n### Contributing\n\n1. Fork the repository\n2. Create a feature branch\n3. Make your changes\n4. Submit a pull request\n\n### Local Development\n\n```bash\n# Clone the repository\ngit clone [repository-url]\ncd crypto-mcp-server\n\n# Install dependencies\nuv pip install -e .\n```\n\n## Troubleshooting\n\n### Common Issues\n\n1. **Exchange Connection Errors**\n   - Check your internet connection\n   - Verify the exchange is operational\n   - Ensure the trading pair exists on the selected exchange\n\n2. **Rate Limiting**\n   - Implement delays between requests\n   - Use different exchanges for high-frequency queries\n   - Check exchange-specific rate limits\n\n3. **Data Formatting Issues**\n   - Verify trading pair format (e.g., BTC/USDT, not BTCUSDT)\n   - Check timeframe specifications\n   - Ensure numerical parameters are within valid ranges\n\n## License\n\nMIT License - See LICENSE file for details\n\n## Acknowledgments\n\n- [CCXT](https://github.com/ccxt/ccxt) for exchange integrations\n- [Model Context Protocol](https://modelcontextprotocol.io) for the MCP specification\n- The cryptocurrency exchanges for providing market data APIs\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnayshins%2Fmcp-server-ccxt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnayshins%2Fmcp-server-ccxt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnayshins%2Fmcp-server-ccxt/lists"}