Claude Agent SDK source verification

Reconcile evidence through in-process SerpApi MCP tools.

The agent receives web and news search as an in-process SDK MCP server and uses them to turn a broad public claim into a verification memo.

SerpApi enhancement: the SDK’s custom-tool pattern now searches live evidence and distinguishes confirmed facts, overstatements, and jurisdictional gaps.

uv run --isolated --no-project --with 'serpapi-search-tools[claude-agent-sdk]' --with python-dotenv cookbook/claude-agent-sdk/main.py

Read the complete cookbook entry or Anthropic’s official SDK MCP tool example.