Telegram Crypto News Bot with xAI (Grok)
LocalAbout Telegram Crypto News Bot with xAI (Grok)
A Telegram bot for conversational replies and cryptocurrency news queries, using xAI (Grok) and a configured MCP endpoint. It can summarize news and handle questions about specific coins or topics.
Key features
- 01Conversational replies via xAI (Grok)
- 02Fetches and summarizes crypto news
- 03Supports coin and topic queries
Use cases
- 01Getting summaries of recent crypto news in Telegram
- 02Asking about news for a specific coin or topic
- 03Using the bot for general questions
MCP support
The bot fetches cryptocurrency news from a configured MCP server endpoint.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMETelegram 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
- Clone this repository.
- Install dependencies:
pip install -r requirements.txt - Create a
.envfile with the following variables:TELEGRAM_BOT_TOKEN=your-telegram-bot-tokenXAI_API_KEY=your-xai-api-keyGROK_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)
- Run the bot:
python main.py
Usage
- Start a chat with your bot on Telegram.
- Ask for crypto news or general questions!
License
MIT
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.