Deep ResearchSAFE
MCP Deep Research Server using Gemini creating a Research AI Agent
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
[](https://nodejs.org/) [](https://www.typescriptlang.org/) [](https://makersuite.google.com/app/apikey) [](https://github.com/modelcontextprotocol) [](https://opensource.org/licenses/MIT)
Your AI-Powered Research Assistant. Conduct iterative, deep research using Google Gemini 2.5 Flash with Google Search Grounding and URL context. No web-scraping dependency is required.
Table of Contents
- Features
- Why This Project
- Workflow Diagram
- Persona Agents
- How It Works
- Project Structure
- Requirements
- Setup
- Usage
- As MCP Tool
- Standalone CLI Usage
- MCP Inspector Testing
- Configuration
- Quickstart
- Example Output
- Support
- Contributing
- Roadmap
- License
The goal of this project is to provide the simplest yet most effective implementation of a deep research agent. It's designed to be easily understood, modified, and extended, aiming for a codebase under 500 lines of code (LoC).
Key Features:
- MCP Integration: Runs as a Model Context Protocol (MCP) server/tool for seamless agent integration.
- Gemini 2.5 Flash Pipeline: Long-context reasoning, structured JSON outputs, and tool use (Google Search Grounding
f60e177efc45OBSERVED · 2026-10-07Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.
claude mcp add deep-research --env EXA_API_KEY=${EXA_API_KEY} --env GEMINI_API_KEY=${GEMINI_API_KEY} --env GEMINI_MAX_OUTPUT_TOKENS=${GEMINI_MAX_OUTPUT_TOKENS} --env THINKING_BUDGET_TOKENS=${THINKING_BUDGET_TOKENS} -- npx -y [email protected]{
"mcpServers": {
"deep-research": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"EXA_API_KEY": "${EXA_API_KEY}",
"GEMINI_API_KEY": "${GEMINI_API_KEY}",
"GEMINI_MAX_OUTPUT_TOKENS": "${GEMINI_MAX_OUTPUT_TOKENS}",
"THINKING_BUDGET_TOKENS": "${THINKING_BUDGET_TOKENS}"
}
}
}
}Exposed tools (1)
0 read · 1 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
deepResearch.run | write |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- not all pinned
- Secrets in source
- none-found
Findings (3)
.prettierignore
@crawlee/core, @crawlee/memory-storage, @crawlee/types, @google/genai, @modelcontextprotocol/sdk, @tavily/core, ai, cheerio
async with session.post(endpoint, headers=headers, data=json.dumps(data)) as response:
Gates applied: no_behavioural_pass.
f60e177efc45full audit observations/trust-audit/mcp-server/ssdeanx__deep-research-7.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-07 | f60e177efc45 | SAFE | B | 89 | first audit |
Questions
What is the Deep Research MCP server?
MCP Deep Research Server using Gemini creating a Research AI Agent
What tools does Deep Research expose?
1 in total: 0 read-only, 1 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Deep Research safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does Deep Research need?
It reads EXA_API_KEY, GEMINI_API_KEY, GEMINI_MAX_OUTPUT_TOKENS, THINKING_BUDGET_TOKENS and TIKTOKEN_ENCODING from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Deep Research run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as deep-research at 0.3.0.
How current is this page?
The grade is for one exact copy of the source (f60e177efc45), read on 2026-10-07. The repository is watched and re-audited when it changes.