# News api CLI for AI Agents

```json
{
  "title": "News api CLI for AI Agents",
  "toolkit": "News api",
  "toolkit_slug": "news_api",
  "framework": "CLI",
  "framework_slug": "cli",
  "url": "https://composio.dev/toolkits/news_api/framework/cli",
  "markdown_url": "https://composio.dev/toolkits/news_api/framework/cli.md",
  "updated_at": "2026-05-06T08:21:30.661Z"
}
```

## Introduction

CLIs are eating MCPs. The industry is converging on the very same idea. MCPs for all their merit can be token hungry, slow, and unreliable for complex tool chaining. However, coding agents have become incredibly good at working with CLIs, and in fact they are far more comfortable working with CLI tools than MCP.
With Composio's Universal CLI, your coding agents can talk to over 1000+ SaaS applications. With News api, agents can get headlines about today's tech news, find recent articles on climate change, show top stories from bbc news, and more — all without worrying about authentication.
This guide walks you through Composio Universal CLI and explains how you can connect it with coding agents like Claude Code, Codex, OpenCode, etc, for end-to-end News api automation.

## Also integrate News api with

- [OpenAI Agents SDK](https://composio.dev/toolkits/news_api/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/news_api/framework/claude-agents-sdk)
- [Claude Code](https://composio.dev/toolkits/news_api/framework/claude-code)
- [Claude Cowork](https://composio.dev/toolkits/news_api/framework/claude-cowork)
- [Codex](https://composio.dev/toolkits/news_api/framework/codex)
- [OpenClaw](https://composio.dev/toolkits/news_api/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/news_api/framework/hermes-agent)
- [Google ADK](https://composio.dev/toolkits/news_api/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/news_api/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/news_api/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/news_api/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/news_api/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/news_api/framework/crew-ai)

## TL;DR

The idea behind building the universal CLI is to give agents a single command interface to interact with all your external applications. Here's what you'll get with it:
- Agent-friendly: Coding agents like Claude Code, Codex, and OpenCode can use CLI tools natively — no MCP setup required.
- Authentication handled: Connect once via OAuth or API Key, and all CLI commands work with your credentials automatically.
- Tool discovery: Search, inspect, and execute 20,000+ tools across 1000+ apps from one interface.
- Trigger support: Use triggers to listen for events across your apps, powered by real-time webhooks or polling under the hood.
- Type generation: Generate typed schemas for autocomplete and type safety in your projects.

## Connect News api to CLI

### Prerequisites
Install the Composio CLI, authenticate, and initialize your project:

```bash
# Install the Composio CLI
curl -fsSL https://composio.dev/install | bash

# Authenticate with Composio
composio login
```

## What is the News api MCP server, and what's possible with it?

The News api MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your News api account. It provides structured and secure access to live news data, so your agent can perform actions like searching headlines, retrieving articles, and filtering news stories by topic, source, or date on your behalf.
- Headline search and retrieval: Instantly fetch the latest news headlines from thousands of trusted sources around the world, tailored to your interests or keywords.
- Topic-based article discovery: Ask your agent to pull in-depth articles about specific topics, trends, or breaking events as they happen.
- Source and region filtering: Easily filter news stories by publication, language, or geographic region to get the most relevant updates for your needs.
- Date and time range queries: Quickly access news published within a certain date or time window, perfect for tracking ongoing stories or recent developments.
- Trending and popular news aggregation: Let your agent surface the most-read or widely shared articles so you never miss what’s making headlines.

## Supported Tools

None listed.

## Supported Triggers

None listed.

## Complete Code

None listed.

## Conclusion

- Try asking your coding agent to perform various News api operations
- Explore cross-app workflows by connecting more toolkits
- Set up triggers for real-time automation
- Use composio generate for typed schemas in your projects

## How to build News api MCP Agent with another framework

- [OpenAI Agents SDK](https://composio.dev/toolkits/news_api/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/news_api/framework/claude-agents-sdk)
- [Claude Code](https://composio.dev/toolkits/news_api/framework/claude-code)
- [Claude Cowork](https://composio.dev/toolkits/news_api/framework/claude-cowork)
- [Codex](https://composio.dev/toolkits/news_api/framework/codex)
- [OpenClaw](https://composio.dev/toolkits/news_api/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/news_api/framework/hermes-agent)
- [Google ADK](https://composio.dev/toolkits/news_api/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/news_api/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/news_api/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/news_api/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/news_api/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/news_api/framework/crew-ai)

## Related Toolkits

- [Youtube](https://composio.dev/toolkits/youtube) - YouTube is a leading video-sharing platform for uploading, streaming, and discovering content. It empowers creators and businesses to reach global audiences and monetize their work.
- [Amara](https://composio.dev/toolkits/amara) - Amara is a collaborative platform for creating and managing subtitles and captions for videos. It helps make content accessible and multilingual for global audiences.
- [Cats](https://composio.dev/toolkits/cats) - Cats is an API with a huge library of cat images, breed data, and cat facts. It makes finding adorable cat photos and trivia effortless for your apps and users.
- [Chatfai](https://composio.dev/toolkits/chatfai) - Chatfai is an AI platform that lets users talk to AI versions of fictional characters from books, movies, and games. It offers an engaging, interactive experience for fans to chat, roleplay, and explore creative dialogues.
- [Cincopa](https://composio.dev/toolkits/cincopa) - Cincopa is a multimedia platform for uploading, managing, and customizing videos, images, and audio. It helps you deliver engaging media experiences with robust APIs and flexible integrations.
- [Dungeon fighter online](https://composio.dev/toolkits/dungeon_fighter_online) - Dungeon Fighter Online (DFO) is an arcade-style, side-scrolling action RPG packed with dynamic combat and progression. Play solo or with friends to battle monsters, complete quests, and upgrade your characters.
- [Elevenlabs](https://composio.dev/toolkits/elevenlabs) - Elevenlabs is an advanced AI voice generation platform for lifelike, multilingual speech synthesis. Perfect for creating natural voices for videos, apps, and business content in seconds.
- [Elevenreader](https://composio.dev/toolkits/elevenreader) - Elevenreader is an AI-powered text-to-speech service by ElevenLabs that converts written content into lifelike audio. It enables fast, natural audio generation from any text.
- [Epic games](https://composio.dev/toolkits/epic_games) - Epic Games is a leading video game publisher and digital storefront, known for Fortnite and Unreal Engine. It lets gamers access, manage, and purchase games all in one place.
- [Fal.ai](https://composio.dev/toolkits/fal_ai) - Fal.ai is a generative media platform offering 600+ AI models for images, video, voice, and audio. Developers use Fal.ai for fast, scalable access to cutting-edge generative AI tools.
- [Giphy](https://composio.dev/toolkits/giphy) - Giphy is the largest online library for searching and sharing GIFs and stickers. Instantly add vibrant animated content to your apps, chats, and workflows.
- [Headout](https://composio.dev/toolkits/headout) - Headout is a global platform for booking travel experiences, tours, and entertainment. It helps users discover and secure activities at top destinations, all in one place.
- [Imagekit io](https://composio.dev/toolkits/imagekit_io) - ImageKit.io is a cloud-based media management platform for image and video delivery. Instantly optimize, transform, and deliver visuals globally via a lightning-fast CDN.
- [Listennotes](https://composio.dev/toolkits/listennotes) - Listennotes is a powerful podcast search engine with a massive global database. Discover, search, and curate podcasts from around the world in seconds.
- [RAWG Video Games Database](https://composio.dev/toolkits/rawg_video_games_database) - RAWG Video Games Database is the largest video game discovery and info service. Instantly access comprehensive details, ratings, and release dates for thousands of games.
- [Seat geek](https://composio.dev/toolkits/seat_geek) - SeatGeek is a live event platform offering APIs for concerts, sports, and theater data. Instantly access events, venues, and performers info for smarter ticketing and discovery.
- [Shotstack](https://composio.dev/toolkits/shotstack) - Shotstack is a cloud platform for programmatically generating videos, images, and audio. Automate creative content production at scale with flexible RESTful APIs.
- [Spotify](https://composio.dev/toolkits/spotify) - Spotify is a streaming service for music and podcasts with millions of tracks from artists worldwide. Enjoy personalized playlists, recommendations, and seamless listening across all your devices.
- [Ticketmaster](https://composio.dev/toolkits/ticketmaster) - Ticketmaster is a global platform for event discovery, ticket sales, and live entertainment management. Get real-time access to events and streamline ticketing for fans and organizers.
- [Gmail](https://composio.dev/toolkits/gmail) - Gmail is Google's email service with powerful spam protection, search, and G Suite integration. It keeps your inbox organized and makes communication fast and reliable.

## Frequently Asked Questions

### What is the Composio Universal CLI?

The Composio Universal CLI is a single command-line interface that lets coding agents and developers interact with 1000+ SaaS applications. It handles authentication, tool discovery, action execution, and trigger setup — all from the terminal, without needing to configure MCP servers.

### Which coding agents work with the Composio CLI?

Any coding agent that can run shell commands works with the Composio CLI — including Claude Code, Codex, OpenCode, OpenClaw, and others. Once the CLI is installed, agents automatically discover and use the composio commands to interact with News api and other connected apps.

### How is the CLI different from using an MCP server for News api?

MCP servers require configuration and can be token-heavy for complex workflows. The CLI gives agents a direct, lightweight interface — no server setup needed. Agents simply call composio commands like any other shell tool. It's faster to set up, more reliable for multi-step tool chaining, and works natively with how coding agents already operate.

### How safe is my News api data when using the Composio CLI?

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your News api data and credentials are handled as safely as possible. You can also bring your own OAuth credentials for full control.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
