Back to Templates
See llms.txt for all machine-readable content.
This n8n workflow implements an AI-powered "Local Event Finder" agent. It takes user criteria (like event type, city, date, and interests), uses a suite of search tools (Brave Web Search, Brave Local Search, Google Gemini Search) and a web scraper (Jina AI) to find relevant events, and returns formatted details. The entire agent is exposed as a single, easy-to-use MCP (Multi-Capability Peer) tool, making it simple to integrate into other workflows or applications.
This template cleverly combines the MCP server endpoint and the AI agent logic into a single n8n workflow file for ease of import and management.
MCP TriggerTool WorkflowExecute Workflow TriggerAI AgentGoogle Gemini Chat Model (ChatGoogleGenerativeAI)Simple Memory (Window Buffer Memory)MCP Client (for Brave Search tools via Smithery)Google Gemini Search ToolJina AI ToolGoogle Gemini Chat Model node) and the Google Gemini Search Tool. Ensure your key is enabled for these services.jina_ai_web_page_scraper node. A free tier is often available.MCP Client nodes configured for Brave Search via a provider like Smithery. You'll need an account/API key for your chosen Brave Search MCP provider to configure the smithery brave search credential.Google Gemini Chat Model node.Google Gemini Context7 in the template) using your Google AI API Key.google_gemini_event_search node.Gemini Credentials account in the template) using your Google AI API Key (ensure it's enabled for Search/Vertex AI).jina_ai_web_page_scraper node.Jina AI account in the template) using your Jina AI API Key.smithery brave search.brave_web_search and brave_local_search MCP Client nodes in the workflow.smithery brave search (or your named credential) to both of these nodes.local_event_finder (MCP Trigger) node.Path field (e.g., 0ca88864-ec0a-4c27-a7ec-e28c5a900697) combined with your n8n webhook base URL forms the endpoint for client calls.YOUR_N8N_INSTANCE_URL/webhooks/PATH-TO-MCP-SERVERevent_finder_agent node to change the AI's persona, its strategy for using tools, or the desired output format.Google Gemini Chat Model node with another compatible LLM node (e.g., OpenAI Chat Model) if desired. You'll need to adjust credentials and potentially the system prompt.event_finder_agent's system prompt and tool configuration accordingly.jina_ai_web_page_scraper's usage due to potential timeouts. The system prompt already guides the LLM on this, but you can adjust its usage instructions.