Block 1 - Google Gemini Chat Model
- Type / Role
- @n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
- Config choices
- Version 1
This workflow is provided as-is. Please review and test before using in production.
Summary This n8n workflow implements an AI powered agent that intelligently uses the Brave Search API (via an external MCP service like Smithery) to perform both web and local searches. It understa...
@n8n/n8n-nodes-langchain.lmchatgooglegemini, @n8n/n8n-nodes-langchain.memorybufferwindow, n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.mcptrigger, @n8n/n8n-nodes-langchain.toolworkflow, n8n-nodes-mcp.mcpclienttool, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.executeworkflowtrigger
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Jez.
Original n8n.io sourceThis n8n workflow implements an AI-powered agent that intelligently uses the Brave Search API (via an external MCP service like Smithery) to perform both web and local searches. It understands natural language queries, selects the appropriate search tool, and exposes this enhanced capability as a single, callable MCP tool.
call_brave_search_agent).gemini-2.5-flash-preview-05-20 LLM for advanced reasoning.@n8n/n8n-nodes-langchain.mcpTrigger (MCP Server Trigger)@n8n/n8n-nodes-langchain.toolWorkflow@n8n/n8n-nodes-langchain.agent (AI Agent)@n8n/n8n-nodes-langchain.lmChatGoogleGemini (Google Gemini Chat Model)n8n-nodes-mcp.mcpClientTool (MCP Client Tool - for Brave Search)@n8n/n8n-nodes-langchain.memoryBufferWindow (Simple Memory)n8n-nodes-base.executeWorkflowTrigger (Workflow Start - for direct execution/testing)Brave_Search_Smithery_AI_Agent_MCP_Server.json file and import it into your n8n instance.Smithery Brave Search Accesshttps://server.smithery.ai/@YOUR_PROFILE/brave-search/mcp).X-API-Key) and value provided by your MCP service./cc8cc827-3e72-4029-8a9d-76519d1c136d). You will combine this with your n8n instance's base URL to get the full endpoint URL for clients.This workflow exposes an MCP tool named call_brave_search_agent. External clients can call this tool via the URL derived from the 'Brave Search MCP Server Trigger'.
Example Client MCP Configuration (e.g., for Roo Code):
"n8n-brave-search-agent": {
"url": "https://YOUR_N8N_INSTANCE/mcp/cc8cc827-3e72-4029-8a9d-76519d1c136d/sse",
"alwaysAllow": [
"call_brave_search_agent"
]
}
Replace YOUR_N8N_INSTANCE with your n8n's public URL and ensure the path matches your trigger node.
Example Request:
Send a POST request to the trigger URL with a JSON body:
{
"input": { "query": "best coffee shops in London" }
}
The agent will stream its response, including the summarized search results.
Jeremy Dawes (Jezweb)
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
Showing the first 24 of 26 workflow blocks. Download the JSON for the full node graph.
| Workflow | Intelligent web & local search with Brave Search API and Google Gemini MCP Server |
|---|---|
| Complexity | advanced |
| Nodes | 26 |
| Categories | Engineering, AI RAG |
| Author | Jez |
| Published | 01 Jun 2025 |
Use the JSON export at /data/workflows/4559/4559.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
Summary This n8n workflow implements an AI powered agent that intelligently uses the Brave Search API (via an external MCP service like Smithery) to perform both web and local searches. It understa...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Engineering, AI RAG use case.