Build a web search chatbot with GPT 4o and MCP Brave Search
MCP AI Chatbot using Brave Search Disclaimer: This workflow only works with local installations of n8n because it uses a community MCP node Who is this for? ...
🔌 Nodes & Integrations Used (5)
📖 Implementation & Setup Guide
MCP AI Chatbot using Brave Search
Disclaimer: This workflow only works with local installations of n8n because it uses a community MCP node
**Who is this for?** This workflow is ideal for developers, automation enthusiasts, and businesses looking to integrate AI-powered chat capabilities into their workflows. It's particularly useful for those leveraging Brave Search and MCP tools to enhance user interactions and streamline data retrieval.
**What problem is this workflow solving?** This workflow addresses the challenge of creating an intelligent chatbot that can process user queries, execute searches using Brave Search, and provide responses enriched by AI. It simplifies the integration of multiple tools into a cohesive system, saving time and effort for users who need a robust conversational AI solution.
**What this workflow does** - Listens for incoming chat messages using the **Chat Trigger** node. - Processes user input with an **AI Agent** powered by GPT-4o. - Retrieves relevant tools using the **MCP Get Brave Tools** node. - Executes specific search queries via the **MCP Execute Brave Search** node. - Maintains short-term memory of conversations with the **Simple Memory** node.
**Setup** 1. **Prerequisites**: - Access to an n8n instance (self-hosted). - API credentials for OpenAI and MCP Client Tools. - Brave Search API key.
2. **Steps**: - Import the workflow JSON into your n8n instance. - Configure the API credentials for OpenAI and MCP Client Tools in their respective nodes. - Set up your Brave Search API key in the MCP nodes. https://brave.com/search/api/
3. **Testing**: - Use the built-in chat interface to send test messages. - Verify that the chatbot processes queries and returns results as expected.
**How to customize this workflow to your needs** - Modify the AI Agent's prompt settings to tailor responses to your specific use case. - Adjust the memory buffer in the Simple Memory node to retain more or less conversational context. - Replace or add additional tools in the MCP nodes to expand functionality.
⚡ How to import this workflow into n8n:
- Click the Direct Download JSON button above to save
_Build_a_web_search_chatbot_with_GPT_4o_and_MCP_Brave_Search.json. - Log in to your n8n Cloud or self-hosted n8n instance.
- In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
- Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
- Click Execute Workflow to test and switch to Active!
Related AI Agents Workflows
View All in AI Agents →5 ways to process images PDFs with Gemini AI in n8n
How it works Many users have asked in the support forum about different methods to analyze images and PDF documents with Google Gemini AI in n8n. This workfl...
7 AI Sales Assistant
Production-ready n8n automation template for 7 AI Sales Assistant built by AhiXLight. Seamlessly connects Airtop Tool, Slack, Airtop with 24 configured nodes.
AAVE portfolio professional AI agent Telegram Email GPT 4o
A next-generation AI-powered DeFi health monitor that tracks wallet positions across Aave V3 using GPT-4o and LangChain. It delivers human-readable reports v...
Access control for AI agents RBAC using Airtable and Telegram
Purpose This workflow allows granular control over the access to tools connected to AI Agents (including Multi-Agent setups) using Role Based Access Control....