@alfe.ai/news-mcp
v0.2.14
Published
News MCP server — broad news search (APITube / NewsData) with sentiment, metered server-side via Alfe
Downloads
774
Readme
@alfe.ai/news-mcp
Runtime-neutral stdio MCP server for metered APITube and NewsData search through
Alfe. Provider credentials and billing remain in services/news; the MCP reads
the agent's Alfe config and calls the typed Agent API client.
Tools
news_searchsearches recent articles with an explicit bounded query and optional provider, source, date, language, category, and result limit.top_headlinesreturns current headlines with optional provider filters.
The default provider is APITube. NewsData accepts at most 50 results and
YYYY-MM-DD date windows. Tool inputs mirror the service constraints, provider
results are runtime-validated and size-bounded, and provider/billing/API errors
surface as redacted MCP isError results.
Development
pnpm --filter @alfe.ai/news-mcp lint
pnpm --filter @alfe.ai/news-mcp typecheck
pnpm --filter @alfe.ai/news-mcp test
pnpm --filter @alfe.ai/news-mcp build