Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ChainGPT AI News MCP Servershow me the latest AI crypto news from the last week"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ChainGPT AI News MCP Server
A Model Context Protocol (MCP) server that provides access to AI-related crypto and Web3 news through the ChainGPT AI News API.
Features
Smart Filtering: Filter news by categories, blockchains, tokens, and keywords
Date Range Support: Fetch news from specific time periods
Category Mapping: Supports 20+ categories including DeFi, NFTs, Gaming, DAOs, and more
Blockchain Coverage: Covers 40+ blockchains including Ethereum, Bitcoin, Solana, Polygon, and others
Token Tracking: Track news for 30+ major cryptocurrencies
Pagination: Handle large result sets with limit/offset controls
Real-time Data: Access to the latest crypto and Web3 news
Integration with MCP Clients
Claude Desktop
Add to your Claude Desktop configuration:
Installation
Prerequisites
Node.js 18+
npm or yarn
ChainGPT API key
Setup
Clone the repository:
Install dependencies:
Set up environment variables:
Or create a .env file:
Run the server:
Getting a ChainGPT API Key
Visit ChainGPT's website
Sign up for an account
Navigate to the API section
Generate your API key
Add it to your environment variables
Usage
Basic Usage
The server provides a single tool called getAINews with the following parameters:
Example Queries
Get latest DeFi news:
Get Ethereum-related news from the last week:
Search for AI-related crypto news:
Response Format
The server returns structured JSON responses:
Error Handling
The server provides detailed error responses:
Common error scenarios:
Missing API key
Invalid date format
API rate limiting
Network connectivity issues
Development
Project Structure
Dependencies
@modelcontextprotocol/sdk- MCP SDK@chaingpt/ainews- ChainGPT AI News API clientzod- Schema validation
Contributing
Fork the repository
Create a feature branch:
git checkout -b feature/your-featureMake your changes
Add tests if applicable
Commit your changes:
git commit -m 'Add some feature'Push to the branch:
git push origin feature/your-featureSubmit a pull request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Support
Issues: GitHub Issues
Discussions: GitHub Discussions