MCPInstall
crypto-news-telegram-bot logo

crypto-news-telegram-bot

by deb-pradhan deb-pradhan/crypto-news-telegram-bot

A Telegram bot that fetches and summarizes cryptocurrency news using CryptoPanic API, xAI (Grok), and an MCP FastAPI server. Includes robust logging and error handling.

READMEmain

Telegram Crypto News Bot with xAI (Grok)

A Telegram bot that replies to user queries using xAI (Grok) and can fetch/summarize cryptocurrency news from an MCP server.

Features

  • Conversational AI replies via xAI (Grok)
  • Fetches and summarizes latest crypto news from MCP server
  • Supports user queries for specific coins/topics

Setup

  1. Clone this repository.
  2. Install dependencies:
    pip install -r requirements.txt
    
  3. Create a .env file with the following variables:
    • TELEGRAM_BOT_TOKEN=your-telegram-bot-token
    • XAI_API_KEY=your-xai-api-key
    • GROK_API_URL=https://api.groq.com/openai/v1/chat/completions (or your xAI endpoint)
    • MCP_SERVER_URL=http://127.0.0.1:8000/get_crypto_news (or your MCP endpoint)
  4. Run the bot:
    python main.py
    

Usage

  • Start a chat with your bot on Telegram.
  • Ask for crypto news or general questions!

License

MIT

More AI Chatbot MCP servers

Similar servers from the same category.

Jentic

jentic

Enables AI assistants to discover and execute external APIs and workflows through a Python SDK that leverages the Open Agentic Knowledge repository for standardized API access and execution.

AI Chatbot

Provides a bridge to the Flyworks AI lipsync service, enabling creation of digital avatar videos synchronized with audio inputs through a simple API.

git

Official JavaScript implementation that integrates with MiniMax's multimodal capabilities for image generation, video creation, text-to-speech, and voice cloning across multiple transport modes.

APIVideo+7

Provides a bridge to Mureka.ai's music generation capabilities, enabling on-demand creation of lyrics, complete songs, and instrumental tracks without requiring specialized music production knowledge.

AI Chatbot