# Search NYTimes articles by keyword and date via AI agents in n8n
This automation template exposes the New York Times Article Search API as an MCP-compatible tool for AI agents using n8n as a gateway. It allows AI systems to send parameterized queries (keywords, date ranges, sorting, filters) and receive structured article metadata directly through an HTTP webhook interface.
## Who it´s for
- AI agent developers integrating news sources
- Analysts leveraging historical media data
- Researchers automating press data collection
- Companies monitoring mentions in authoritative publications
## What the automation does
- Receives AI-generated requests via HTTP webhook in MCP tool format
- Extracts query parameters: search term, date range, content type, sort order, and filters
- Makes authenticated HTTP request to the New York Times API
- Transforms and returns structured article metadata back to the AI agent
- Ensures compatibility with LangChain and other frameworks via MCP Server
- Preserves original response structure from the NYTimes API
## What´s included
- Ready-to-use n8n workflow
- Logic for handling MCP-formatted AI requests
- Integration with New York Times API and HTTP API (webhook)
- Basic text guide for setup and adaptation
## Requirements for setup
- n8n instance (cloud or self-hosted)
- API key for New York Times Article Search API
- External AI agent capable of using MCP tools
- Basic understanding of webhooks and environment variables
## Benefits and outcomes
- Faster AI access to high-quality news data
- Automated article retrieval by topic without manual search
- Ability to analyze media narratives over historical periods
- Lower integration barrier for external APIs in AI apps
- Support for complex filtering and search logic
- Compatibility with LangChain-based systems
## Important: template only
Important: you are purchasing a ready-made automation workflow template only. Rollout into your infrastructure, connecting specific accounts and services, 1:1 setup help, custom adjustments for non-standard stacks and any consulting support are provided as a separate paid service at an individual rate. To discuss custom work or 1:1 help, contact via chat
No feedback yet