How to Add Google News to Claude Code
Claude Code is Anthropic’s CLI coding agent. It’s great for code tasks, but it’s also useful for research during development — looking up library changelogs, checking what’s happening in a space you’re building in, or pulling context on a topic before writing something. Adding Google News access through AgentPatch makes that research seamless.
Why This Matters
When you’re deep in a project and need current information — what’s the latest on a dependency, what are people saying about a particular approach — context switching to a browser adds friction. With AgentPatch connected, Claude Code can pull recent news results directly as part of any session.
This is about adding a capability, not about writing news-fetching code. The agent uses the tool when it’s relevant; you just need to connect it once.
Setup
The AgentPatch CLI is designed for AI agents to use via shell access. Install it, and your agent can discover and invoke any tool on the marketplace.
Install (zero dependencies, Python 3.10+):
pip install agentpatch
Set your API key:
export AGENTPATCH_API_KEY=your_api_key
Example commands your agent will use:
ap search "web search"
ap run google-search --input '{"query": "test"}'
Get your API key from the AgentPatch dashboard.
Skill (Recommended)
Install the AgentPatch skill — it teaches Claude Code when to use AgentPatch and how to use the CLI:
/plugin marketplace add fullthom/agentpatch-claude-skill
/plugin install agentpatch@agentpatch
MCP Server (Alternative)
If you prefer raw MCP tool access instead of the skill:
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.
Example
You’re working on a fintech project and you ask Claude Code:
“Before we implement the Stripe webhook handler, what are the most recent news stories about Stripe outages or API changes?”
Claude Code calls the Google News tool through AgentPatch, retrieves recent articles, and summarizes relevant context before proceeding with the implementation. It didn’t need you to paste in any links or set up a separate search integration.
Another common case — you’re writing a README for an open-source tool and ask:
“What’s the current developer sentiment around WebAssembly? Pull some recent coverage.”
Claude Code fetches current news and uses it to inform the framing of your docs. Useful context, no browser required.
Wrapping Up
Connecting AgentPatch gives Claude Code access to Google News and every other tool on the marketplace through a single MCP integration. Head to agentpatch.ai to get your API key.