@menesekinci/deep-research-mcp
v0.1.8
Published
Async deep research MCP server for AI agents and MCP clients with Brave, GitHub, Context7, and SQLite-backed local storage.
Readme
Deep Research MCP
Async deep research MCP server for AI agents and MCP clients. It starts long-running research jobs, searches Brave/GitHub/Context7, fetches and cleans sources, stores chunks in local SQLite, and lets clients retrieve reports or targeted evidence without dumping every page into context.
Install With NPX
No repository clone or global install is required. Add the package to your MCP client config and let npx download and run the latest published version on demand.
[mcp_servers.deep-research]
command = "npx"
args = ["-y", "@menesekinci/deep-research-mcp@latest"]GitHub fallback for testing unreleased commits:
[mcp_servers.deep-research]
command = "npx"
args = ["-y", "github:menesekinci/deep-research-mcp"]Authentication And Secrets
Deep Research MCP reads credentials from environment variables or from a local config file. Environment variables always win over config file values.
Required and optional keys:
BRAVE_API_KEYis required for web search.GITHUB_TOKENis optional for higher limits/private repositories.CONTEXT7_API_KEYis optional.DEEP_RESEARCH_HOMEdefaults to~/.deep-research-mcp.DEEP_RESEARCH_DBcan point directly to a custom SQLite file.DEEP_RESEARCH_CONFIGcan point to a JSON config file. Default:~/.deep-research-mcp/config.json.
Legacy CODEX_DEEP_RESEARCH_HOME and CODEX_DEEP_RESEARCH_DB environment variables are still accepted as aliases.
Option 1: MCP Config Env Block
Use this for a quick local setup. Do not commit files containing real tokens.
[mcp_servers.deep-research]
command = "npx"
args = ["-y", "@menesekinci/deep-research-mcp@latest"]
[mcp_servers.deep-research.env]
BRAVE_API_KEY = "..."
GITHUB_TOKEN = "..."
CONTEXT7_API_KEY = "..."Option 2: Local Config File
Use this when your MCP client config is shared or checked into a repository. Keep this file outside your project repo.
Default path:
~/.deep-research-mcp/config.jsonExample:
{
"braveApiKey": "...",
"githubToken": "...",
"context7ApiKey": "...",
"homeDir": "~/.deep-research-mcp",
"dbPath": "~/.deep-research-mcp/research.sqlite"
}Then your MCP config can stay token-free:
[mcp_servers.deep-research]
command = "npx"
args = ["-y", "@menesekinci/deep-research-mcp@latest"]For a custom config location:
[mcp_servers.deep-research.env]
DEEP_RESEARCH_CONFIG = "C:\\Users\\you\\.deep-research-mcp\\config.json"Storage
The server stores cleaned text chunks, source metadata, citations, events, and job state in SQLite. It does not store raw HTML by default.
Tools
research_startresearch_statusresearch_reportresearch_sourcesresearch_searchresearch_get_sourceresearch_get_chunksresearch_active_jobsresearch_due_jobsresearch_cancelresearch_delete
Typical Flow
- Call
research_startwith a query, depth, and source types. - The tool returns a
job_idandnext_check_after_seconds. - Later, call
research_status,research_report,research_sources, orresearch_search. - Only reports and relevant chunks are returned to the agent context; full fetched pages are kept in SQLite.
