Is there a way to search for news using an API, MCP, or CLI?
Yes. You can search for news programmatically using a web search API with a recency filter, an MCP server connected to an AI agent, or a CLI tool — each returning article content rather than just headlines and links. The key difference from general web search is freshness: news queries need results indexed within hours or days, not weeks, which is why data freshness is the main thing to check when picking an approach.
| Method | Setup | Output | Best for |
|---|---|---|---|
| Web search API (e.g. Firecrawl) | API key, HTTP call | Full article content in markdown | Scripts, pipelines, RAG |
| Dedicated news API (e.g. NewsAPI) | API key | Headlines, snippets, source metadata | High-volume news monitoring |
| MCP server | One config block in agent settings | Live results inside agent context | Claude, Cursor, Windsurf agents |
| CLI tool | npx firecrawl-cli@latest init | Markdown output in terminal | Quick lookups, ad-hoc queries |
A dedicated news API gives structured metadata (source, author, published date) and is well-suited to high-volume monitoring across many outlets. The tradeoff is that most return snippets, not full body text, so extracting the full article still requires a separate scrape. A general web search API with a date filter gives you fewer structured fields but returns full page content, which works better when you are feeding articles into an LLM for summarization, sentiment analysis, or fact-checking.
Firecrawl's Search API returns full article content with each result. The MCP server connects directly to Claude, Cursor, and other agents so they can run news searches from natural language prompts without any code. For quick terminal lookups, firecrawl search "topic site:reuters.com" returns the article body immediately after running npx -y firecrawl-cli@latest init.
data from the web