LogoLogo
HuggingFace Community$LUMOXTelegram
  • Introduction
  • Roadmap
  • Partnerships and Listings
  • LumoKit: Solana AI Toolkit Framwork
    • Introduction to LumoKit
    • Installation Guide
      • Pre-requisites
      • Environment Configuration
      • Local Installation
  • How to Add Tools
  • Tools
    • Wallet Portfolio tool
    • Token Identification Tool
    • Rugcheck Token Information Tool
    • Fluxbeam Token Price
    • BirdEye Token Trending
    • Birdeye All Time Trades
    • CoinMarketCap Crypto News
    • Crypto.news Memecoin News
    • GeckoTerminal Trending Pump.Fun Tool
    • CoinGecko Global Crypto Data Tool
    • CoinGecko Trending Crypto Tool
    • CoinGecko Exchange Rates Tool
    • CoinGecko Coin Data Tool
    • CoinMarketCap Trending Coins Tool
    • DexScreener Top Boosts Tool
    • DexScreener Token Information
    • Jupiter Token Price
    • Jupiter Token Metadata Tool
    • Solana Send SOL Tool
    • Solana Send SPL Tokens Tool
    • Solana Burn Tokens Tool
    • Jupiter Swap (Buy/Sell) Tool
    • Pump.Fun Launch Coin Tool
  • Lumo-8B-Instruct Model
    • Model Overview
    • Capabilities and Limitations
    • Use Cases
  • Lumo Dataset
    • About Lumo-Iris
    • About Lumo-8B
    • Dataset Preparation
    • Training Metrics
  • Using The Model
    • HuggingFace Hub
    • How to Inference
  • Lumo Community
    • How to Contribute
    • Report Bugs/Issues
Powered by GitBook

Copyright © 2025 Lumo. All Rights Reserved. This software is open-source and licensed under the GNU Affero General Public License (AGPL) v3.0. You are free to redistribute and modify it under the terms of this license.

On this page
  1. Tools

CoinMarketCap Crypto News

CMC Crypto News Tool (cmc_crypto_news_tool)

Fetches the latest general cryptocurrency news articles by scraping CoinMarketCap's news headlines. Keeps you updated with recent happenings in the crypto space.


class CMCCryptoNewsInput(BaseModel):
    limit: int = 8 # Number of articles (default 8, max 8)

Key Functionality:

  • Scrapes the latest crypto news headlines and summaries from coinmarketcap.com/headlines/news/.

  • For each article, it attempts to extract the heading, a brief body/summary, associated crypto tickers, and how long ago it was posted.

  • The number of articles returned is controlled by limit, effectively capped at 8.


Sample Usage Queries (How an AI might use it):

  • "What's the latest crypto news from CoinMarketCap?"

  • "Fetch the top 5 recent crypto news articles."

  • "Get today's crypto headlines via CMC."

  • "Show me the newest updates in the cryptocurrency world."

  • "Can you retrieve some crypto news for me?"

  • "What are the current news stories on CoinMarketCap?"

  • "Give me a summary of recent crypto events."

  • "Fetch 3 crypto news items."


Quick Code Glance:

class CMCCryptoNewsTool(BaseTool):
    name: ClassVar[str] = "cmc_crypto_news_tool"
    description: ClassVar[str] = "Get the latest crypto news from CoinMarketCap."
    args_schema: ClassVar[Type[BaseModel]] = CMCCryptoNewsInput

Important:

  • This tool operates asynchronously (_arun) only.

  • Relies on web scraping CoinMarketCap, which means its functionality can be affected by changes to the website's structure.

  • The limit for news articles defaults to 8 and is also capped at a maximum of 8.

PreviousBirdeye All Time TradesNextCrypto.news Memecoin News

Last updated 2 days ago