Observed since 20 Oct, 21:18 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
AG2 tools for Webz.io News Search - global news in natural language with semantic ranking and rich filters
Search global news with Webz.io from AG2 agents — in natural language, with the most relevant articles first.
Webz.io News Search covers news and current events from sources worldwide. Ask a question in plain language, narrow results with filters (language, country, date, sentiment, domain, ticker, and more), and get back focused article excerpts with titles, URLs, and metadata.
Use this package with AG2 agents, or construct the toolkit directly to verify MCP connectivity.
"EU AI Act enforcement updates" or "How is Tesla stock reacting to earnings?"tools/list). New Webz filters appear automatically, without republishing this package.WebzioNewsSearchToolkit(...) to Agent(tools=[...]), or use toolkit.search() to register only news search.pip install ag2-webzio
export WEBZ_API_TOKEN="your-webz-api-token"
Get a token from your Webz.io dashboard (same token as the News Search API).
Requires AG2 v1 with MCP support (ag2[mcp]>=1.0, installed automatically).
Full setup and client options: MCP Server docs.
import os
from ag2 import Agent
from ag2.config import AnthropicConfig
from ag2_webzio import WebzioNewsSearchToolkit
agent = Agent(
"researcher",
config=AnthropicConfig(model="claude-sonnet-4-6"),
tools=[WebzioNewsSearchToolkit(api_token=os.environ["WEBZ_API_TOKEN"])],
)
The model discovers the live news_search_by_webz schema and picks filters itself. Example prompts:
When the MCP server exposes more than one tool, register news search with search():
toolkit = WebzioNewsSearchToolkit(api_token="your-webz-api-token")
agent = Agent("researcher", config=config, tools=[toolkit.search()])
Today the server exposes a single tool, so toolkit and toolkit.search() are equivalent.
export WEBZ_API_TOKEN="your-token"
python examples/run_news_search.py
This package wraps AG2's client-side MCPToolkit around the hosted Webz News Search MCP server at https://news-search-mcp.webz.io/mcp. Each tool call runs a regular News Search API request with your token (same credits and rate limits). Filter fields are not hardcoded — the tool schema comes from the live server.
| Name | Default | Purpose |
|---|---|---|
WEBZ_API_TOKEN | required | Webz API token from the dashboard |
WEBZ_MCP_URL | https://news-search-mcp.webz.io/mcp | Override for local MCP testing |
You can also pass api_token= and mcp_url= to WebzioNewsSearchToolkit().
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.0 | 6 Sept 2026 | 3 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 21:18 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:ecf213c8d9c4cd8ff1ff6e4ba1d40cf8e011722308412e2d1b2d610de64e22eb