Building a News Monitoring Bot with Claude Code

Claude Code is primarily a coding agent, but it’s also useful for structured research tasks. With AgentPatch connected, you can use it to pull and summarize news across multiple topics in a single session — useful before writing docs, doing competitive research, or staying current on a space you’re building in.

Why This Matters

The pattern here is using Claude Code as a research agent, not a code generator. You give it a list of topics, it fetches current news for each, and it produces a structured summary. That output feeds into whatever you’re actually building — a document, a decision, a brief.

The advantage over doing this manually is that Claude Code can query multiple topics, compare coverage across them, and synthesize a response in one pass. With the Google News tool available through AgentPatch, it has access to live results rather than its training data.

Setup

Install the AgentPatch CLI (zero dependencies, Python 3.10+):

pip install agentpatch

Set your API key:

export AGENTPATCH_API_KEY=your_api_key

Then use it:

ap search "web search"
ap run agentpatch google-search --input '{"query": "test"}'

Get your API key from the AgentPatch dashboard.

Run this command to add AgentPatch as an MCP server:

claude mcp add -s user --transport http agentpatch https://agentpatch.ai/mcp \
  --header "Authorization: Bearer YOUR_API_KEY"

Replace YOUR_API_KEY with your actual key from the AgentPatch dashboard. Claude Code discovers all AgentPatch tools automatically.

Example

You’re about to write a market analysis section for a pitch deck. You start a Claude Code session and ask:

“I need a news briefing on three competitors before I write this analysis: Linear, Jira, and Notion. Pull the most recent coverage on each and summarize what’s changed in the last month.”

Claude Code calls Google News for each company, retrieves current articles, and produces a structured briefing — one section per company, with notable headlines and themes. You get real current information, not Claude’s training data from a year ago.

You then follow up:

“Based on that, are there any product announcements from these three that I should address in my analysis?”

Claude Code synthesizes the news it just pulled and highlights the most relevant recent developments. The whole research phase takes a few minutes instead of an hour.

Wrapping Up

A single AgentPatch connection gives Claude Code access to Google News and every other tool on the marketplace. It’s one config entry that covers web search, image generation, email, and more. Get started at agentpatch.ai.