Telegram Crypto News Bot with xAI (Grok)
About
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.
Details
- Author
- deb-pradhan
- Downloads
- 965
- Categories
- Communication
Jump to
- Conversational AI replies via xAI (Grok)
- Fetches and summarizes latest crypto news from MCP server
- Supports user queries for specific coins or topics
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Telegram Crypto News Bot with xAI (Grok)Command (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Clone the repository, install dependencies with pip install -r requirements.txt, create a .env file with your Telegram bot token, xAI API key, Grok endpoint, and MCP server URL, then run python main.py. Start a chat on Telegram and ask for crypto news or general questions.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"telegram crypto news bot with xai (grok)": {
"crypto-news-telegram-bot": {
"command": "python",
"args": [
"main.py"
]
}
}
}
}
McpServers
{
"crypto-news-telegram-bot": {
"command": "python",
"args": [
"main.py"
]
}
}
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/topicsSetup
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
MITSign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



