MCP
Brave Search MCP Integration
Guide for integrating Brave Search capabilities with PraisonAI agents using MCP
Add Brave Search Tool to AI Agent
Quick Start
1
Install Dependencies
Make sure you have Node.js installed, as the MCP server requires it:
2
Set API Key
Set your Brave Search API key as an environment variable in your terminal:
You can obtain a Brave Search API key from Brave Search API.
3
Create a file
Create a new file brave_search.py
with the following code:
4
Run the Agent
Execute your script:
Requirements
- Python 3.10 or higher
- Node.js installed on your system
- Brave Search API key
- OpenAI API key (for the agent’s LLM)
Was this page helpful?