Brave-Gemini Research MCP Server

by falahgs

188 downloads Not rated yet
GitHub

About

# Brave-Gemini Research MCP Server A modern MCP (Model Context Protocol) server implementation that provides AI assistants with web search capabilities via the Brave Search API and advanced research paper analysis with Google's Gemini model. ## Overview This project enables AI assistants like Claude to perform web…

Explore

- 🔍 Web Search API - Find information across the web
- 🏢 Local Search API - Discover businesses and places
- 📑 Research Paper Analysis - Analyze academic papers with Gemini AI
- 🤖 Claude Integration - Seamless connection with Claude Desktop
- 🛠️ Extensible Design - Easy to add new tools and capabilities

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Brave-Gemini Research MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

- Node.js v18+ recommended
- Brave Search API key (Get one here)
- Google API key for Gemini integration (required for research paper analysis)
- Claude Desktop for AI assistant integration (optional)

Set environment variables and start the server:

PowerShell:
``powershell
$env:BRAVE_API_KEY="your_brave_api_key"
$env:GOOGLE_API_KEY="your_google_api_key"
node dist/index.js
`

Command Prompt:
`
SET BRAVE_API_KEY=your_brave_api_key
SET GOOGLE_API_KEY=your_google_api_key
node dist/index.js
`

Bash/Linux/macOS:
``bash
BRAVE_API_KEY=your_brave_api_key GOOGLE_API_KEY=your_google_api_key node dist/index.js


DEBUG=mcp:* NODE_ENV=development node dist/index.js

To verify your MCP server is working correctly:

1. Manual Test:
- Run the server using the command line instructions above
- Check the console output for "Brave-Gemini Research MCP Server running on stdio"
- No error messages should appear

2. Claude Desktop Test:
- After configuring Claude Desktop, open a new conversation
- Ask Claude to "Search for latest developments in AI"
- Claude should respond with search results from Brave Search
- Ask Claude to analyze a research paper
- Claude should respond with a detailed analysis from Gemini

query

(required): Search query (max 400 chars)

count

(optional): Number of results (1-20, default 10)

offset

(optional): Pagination offset (max 9, default 0)

paperContent

(required): The full text of the research paper to analyze

analysisType

(optional): Type of analysis to perform

additionalContext

(optional): Specific questions or context to guide the analysis

The web search tool enables general internet searches:

- Function: brave_web_search
- Parameters:
- query (required): Search query (max 400 chars)
- count (optional): Number of results (1-20, default 10)
- offset (optional): Pagination offset (max 9, default 0)

The local search tool finds businesses and locations:

- Function: brave_local_search
- Parameters:
- query (required): Local search query (e.g., "pizza near Central Park")
- count (optional): Number of results (1-20, default 5)

The research paper analysis tool provides in-depth analysis of academic papers using Google's Gemini model:

- Function: gemini_research_paper_analysis
- Parameters:
- paperContent (required): The full text of the research paper to analyze
- analysisType (optional): Type of analysis to perform
- Options: "summary", "critique", "literature review", "key findings", "comprehensive" (default)
- additionalContext (optional): Specific questions or context to guide the analysis

Analysis Types:
- Summary: Comprehensive overview including research question, methodology, key findings, and conclusions
- Critique: Critical evaluation of methodology, validity, limitations, and suggestions for improvement
- Literature Review: Analysis of how the paper fits within the broader research landscape
- Key Findings: Extraction and explanation of the most significant findings and implications
- Comprehensive: Complete analysis covering all aspects (default)

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "brave-gemini research mcp server": {
            "Brave-Gemini-Research-MCP-Server": {
                "command": "npx",
                "args": [
                    "tsc"
                ]
            }
        }
    }
}

McpServers

{
    "Brave-Gemini-Research-MCP-Server": {
        "command": "npx",
        "args": [
            "tsc"
        ]
    }
}
A modern MCP (Model Context Protocol) server implementation that provides AI assistants with web search capabilities via the Brave Search API and advanced research paper analysis with Google's Gemini model.

Overview

This project enables AI assistants like Claude to perform web searches and analyze research papers directly through a standardized API interface. The MCP server exposes three main tools: 1. Web Search - For general internet searches and information retrieval 2. Local Search - For finding businesses, locations, and places of interest 3. Research Paper Analysis - For in-depth analysis of academic papers using Google's Gemini model

Features

- 🔍 Web Search API - Find information across the web - 🏢 Local Search API - Discover businesses and places - 📑 Research Paper Analysis - Analyze academic papers with Gemini AI - 🤖 Claude Integration - Seamless connection with Claude Desktop - 🛠️ Extensible Design - Easy to add new tools and capabilities

Setup and Installation

Prerequisites

- Node.js v18+ recommended - Brave Search API key (Get one here) - Google API key for Gemini integration (required for research paper analysis) - Claude Desktop for AI assistant integration (optional)

Installation

1. Clone the repository: ``bash git clone https://github.com/falahgs/brave-gemini-research-mcp.git cd brave-gemini-research-mcp ` 2. Install dependencies: `bash npm install ` 3. Create a .env file with your API keys: ` BRAVE_API_KEY=your_brave_api_key GOOGLE_API_KEY=your_google_api_key `

Building

Compile the TypeScript code to JavaScript:
``bash npm run build
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.