Brave Search AI Agent: Your Intelligent Web Research Gateway
detail.loadingPreview
Unlock the power of web intelligence with the Brave Search AI Agent. This n8n workflow acts as a seamless gateway, leveraging Google Gemini and Brave Search tools to deliver precise, context-aware search results directly to your applications.
About This Workflow
The Brave Search AI Agent MCP Server workflow is a sophisticated n8n setup designed to bring intelligent, context-aware web search capabilities to your external applications. Acting as a public gateway, it exposes an MCP (Multi-Agent Collaboration Protocol) SSE (Server-Sent Events) endpoint, allowing clients like Roo Code or Cline to easily integrate powerful search functionality. At its core, this workflow utilizes Google Gemini (models/gemini-2.5-flash-preview-05-20) as the AI model, enhanced with system prompts and tools like brave_web_search and brave_local_search. Conversational memory is managed via a Simple Memory buffer, ensuring context is maintained across interactions. The entire process is orchestrated to provide a streamlined interface for querying information, making it an invaluable asset for automated research and data retrieval.
Key Features
- Intelligent AI-Powered Search: Leverages Google Gemini for advanced query understanding and result synthesis.
- Seamless Integration: Exposes an MCP SSE endpoint for easy integration with external clients.
- Brave Search Capabilities: Utilizes
brave_web_searchandbrave_local_searchfor comprehensive data retrieval. - Contextual Memory: Maintains conversational context with a sliding window memory buffer.
- Customizable Workflow: Fully configurable within n8n for tailored automation needs.
How To Use
- Configure the MCP Server Trigger: This node acts as the public entry point. Note its unique path (
/cc8cc827-3e72-4029-8a9d-76519d1c136d) and your n8n instance URL. - Define the
call_brave_search_agentTool: This node represents the tool exposed by the MCP Server. It triggers the AI Agent sub-workflow. - Integrate with your MCP Client: In your client application (e.g., Roo Code), configure the
n8n-brave-search-agentsetting with the provided URL, ensuringcall_brave_search_agentis listed inalwaysAllow. - Utilize the AI Agent Sub-Workflow: This part of the workflow contains the core AI logic, including the Google Gemini model, Brave Search tools, and memory management. Ensure your credentials for Google Gemini and Brave Search are correctly set up in n8n.
Apps Used
Workflow JSON
{
"id": "edcc16db-c91e-44f9-bd56-97242369a0a1",
"name": "Brave Search AI Agent: Your Intelligent Web Research Gateway",
"nodes": 26,
"category": "Marketing",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: edcc16db-c91e...
About the Author
N8N_Community_Pick
Curator
Hand-picked high quality workflows from the global community.
Statistics
Related Workflows
Discover more workflows you might like
AI-Powered On-Page SEO Audit & Report Automation
Instantly generate comprehensive on-page SEO technical and content audits for any website URL. This AI-powered workflow automates the entire process, from scraping the page to delivering a detailed report directly to your inbox, empowering you to optimize for better search rankings and user engagement.
Automate LinkedIn Content Promotion for Your Ghost Blog with AI
Effortlessly promote your latest Ghost blog posts on LinkedIn. This workflow leverages AI to generate engaging, professional LinkedIn messages based on your article content and saves them, along with article metadata, directly to a Google Sheet.
AI-Powered Instagram Comment Automation
This n8n workflow intelligently automates responses to Instagram comments, leveraging advanced AI to engage with your audience. It filters out irrelevant content and personalizes replies, saving you time while boosting your social media presence.