gpt-researcher
An autonomous agent that conducts deep research on any data using any LLM providers
- 30.3k estrellas
- 4.1k forks
- 48 issues abiertos
- Lenguaje: Python
- Licencia: Apache-2.0
- actualizado
Instalación
local · npxclaude mcp add gpt-researcher -- npx -y skills{
"mcpServers": {
"gpt-researcher": {
"command": "npx",
"args": ["-y", "skills"],
"env": {
"GOOGLE_API_KEY": "<google_api_key>",
"TYPESAFE_API_KEY": "<typesafe_api_key>"
}
}
}
}{
"mcpServers": {
"gpt-researcher": {
"command": "npx",
"args": ["-y", "skills"],
"env": {
"GOOGLE_API_KEY": "<google_api_key>",
"TYPESAFE_API_KEY": "<typesafe_api_key>"
}
}
}
}- Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
- Replace any <placeholder> values with your API keys or paths.
- Restart Claude. The MCP server and its tools appear automatically.
GOOGLE_API_KEYTYPESAFE_API_KEYNota editorial
GPT Researcher is an autonomous research agent that conducts multi-step web and local document research, producing structured reports exceeding 2,000 words with citations. It uses a planner-executor architecture where one agent generates targeted research questions and parallel crawler agents scrape and summarize content from more than 20 sources before a publisher aggregates findings into a final report. The system supports JavaScript-enabled web scraping, smart image filtering, AI-generated inline images via Google Gemini, and report export to PDF and Word formats. It integrates with Claude as an installable Claude Skill via the skills.sh registry, allowing Claude to invoke GPT Researcher's research pipeline directly within conversations using a single npx command. The project also exposes an MCP server interface and is compatible with multiple LLM providers beyond OpenAI. Researchers, analysts, and developers who need current, cited, long-form research summaries without manually aggregating sources across the web are the primary beneficiaries.
Resumen de MCP Servers
English | 中文 | 日本語 | 한국어 | Русский
🔎 GPT Researcher
GPT Researcher the first open deep research agent designed for both web and local research on any given task.
The agent produces detailed, factual, and unbiased research reports with citations. GPT Researcher provides a full suite of customization options to create tailor made and domain specific research agents. GPT Researcher goes well beyond RAG: planner and execution agents break each task into research questions, decision models keep only the context that is actually useful for answering them, multi-agent workflows coordinate specialized agents from planning to publication, and recursive deep research explores a topic in both breadth and depth. Research runs in parallel, which keeps it fast, stable and reliable, and reduces misinformation.
Our mission is to empower individuals and organizations with accurate, unbiased, and factual information through AI.
Why GPT Researcher?
Objective conclusions for manual research can take weeks, requiring vast resources and time.
LLMs trained on outdated information can hallucinate, becoming irrelevant for current research tasks.
Current LLMs have token limitations, insufficient for generating long research reports.
Limited web sources in existing services lead to misinformation and shallow results.
Selective web sources can introduce bias into research tasks.
Demo
Install as Claude Skill
Extend Claude's deep research capabilities by installing GPT Researcher as a Claude Skill:
npx skills add assafelovic/gpt-researcherOnce installed, Claude can leverage GPT Researcher's deep research capabilities directly within your conversations.
Architecture
The core idea is to utilize 'planner' and 'execution' agents. The planner generates research questions, while the execution agents gather relevant information. The publisher then aggregates all findings into a comprehensive report.
Steps:
Create a task-specific agent based on a research query.
Generate questions that collectively form an objective opinion on the task.
Use a crawler agent for gathering information for each question.
Summarize and source-track each resource.
Filter and aggregate summaries into a final research report.
Tutorials
Features
📝 Generate detailed research reports using web and local documents.
🖼️ Smart image scraping and filtering for reports.
🍌 AI-generated inline images using Google Gemini (Nano Banana) for visual illustrations.
📜 Generate detailed reports exceeding 2,000 words.
🌐 Aggregate over 20 sources for objective conclusions.
🎯 Smart context filtering with Jev, with no API key or embeddings required by default.
🖥️ Frontend available in lightweight (HTML/CSS/JS) and production-ready (NextJS + Tailwind) versions.
🔍 JavaScript-enabled web scraping.
📂 Maintains memory and context throughout research.
📄 Export reports to PDF, Word, and other formats.
📖 Documentation
See the Documentation for:
Installation and setup guides
Configuration and customization options
How-To examples
Full API references
⚙️ Getting Started
Installation
Install Python 3.12 or later. Guide.
Clone the project and navigate to the directory:
git clone https://github.com/assafelovic/gpt-researcher.git cd gpt-researcherSet up API keys by exporting them or storing them in a
.envfile.export OPENAI_API_KEY={Your OpenAI API Key here} export TAVILY_API_KEY={Your Tavily API Key here}(Optional) For enhanced tracing and observability, you can also set:
# export LANGCHAIN_TRACING_V2=true # export LANGCHAIN_API_KEY={Your LangChain API Key here}For custom OpenAI-compatible APIs (e.g., local models, other providers), you can also set:
export OPENAI_BASE_URL={Your custom API base URL here}Install dependencies and start the server:
pip install -r requirements.txt python -m uvicorn main:app --reload
Visit http://localhost:8000 to start.
For other setups (e.g., Poetry or virtual environments), check the Getting Started page.
Run as PIP package
pip install gpt-researcher
Example Usage:
...
from gpt_researcher import GPTResearcher
query = "why is Nvidia stock going up?"
researcher = GPTResearcher(query=query)
# Conduct research on the given query
research_result = await researcher.conduct_research()
# Write the report
report = await researcher.write_report()
...For more examples and configurations, please refer to the PIP documentation page.
🔧 MCP Client
GPT Researcher supports MCP integration to connect with specialized data sources like GitHub repositories, databases, and custom APIs. This enables research from data sources alongside web search.
export RETRIEVER=tavily,mcp # Enable hybrid web + MCP researchfrom gpt_researcher import GPTResearcher
import asyncio
import os
async def mcp_research_example():
# Enable MCP with web search
os.environ["RETRIEVER"] = "tavily,mcp"
researcher = GPTResearcher(
query="What are the top open source web research agents?",
mcp_configs=[
{
"name": "github",
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"],
"env": {"GITHUB_TOKEN": os.getenv("GITHUB_TOKEN")}
}
]
)
research_result = await researcher.conduct_research()
report = await researcher.write_report()
return reportFor comprehensive MCP documentation and advanced examples, visit the MCP Integration Guide.
🍌 Inline Image Generation
GPT Researcher can automatically generate and embed AI-created illustrations in your research reports using Google's Gemini models (Nano Banana).
# Enable in your .env file
IMAGE_GENERATION_ENABLED=true
GOOGLE_API_KEY=your_google_api_key
IMAGE_GENERATION_MODEL=models/gemini-2.5-flash-imageWhen enabled, the system will:
Analyze your research context to identify visualization opportunities
Pre-generate 2-3 relevant images during the research phase
Embed them inline as the report is written
Images are generated with dark-mode styling that matches the GPT Researcher UI, featuring professional infographic aesthetics with teal accents.
Learn more about Image Generation in our documentation.
✨ Deep Research
GPT Researcher now includes Deep Research - an advanced recursive research workflow that explores topics with agentic depth and breadth. This feature employs a tree-like exploration pattern, diving deeper into subtopics while maintaining a comprehensive view of the research subject.
🌳 Tree-like exploration with configurable depth and breadth
Lo que la gente pregunta sobre gpt-researcher
¿Qué es assafelovic/gpt-researcher?
assafelovic/gpt-researcher es mcp servers para el ecosistema de Claude AI. An autonomous agent that conducts deep research on any data using any LLM providers Tiene 30.3k estrellas en GitHub y su última actualización registrada es del 2026-10-10.
¿Cómo se instala gpt-researcher?
Puedes instalar gpt-researcher clonando el repositorio (https://github.com/assafelovic/gpt-researcher) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.
¿Es seguro usar assafelovic/gpt-researcher?
Nuestro agente de seguridad ha analizado assafelovic/gpt-researcher y le ha asignado un Trust Score de 100/100 (tier: Verified). Revisa el desglose completo de comprobaciones superadas y flags en esta página.
¿Quién mantiene assafelovic/gpt-researcher?
assafelovic/gpt-researcher es mantenido por assafelovic. La última actividad registrada en GitHub es del 2026-10-10, con 48 issues abiertos.
¿Hay alternativas a gpt-researcher?
Sí. En ClaudeWave puedes explorar mcp servers similares en /categories/mcp, ordenados por popularidad o actividad reciente.
Despliega gpt-researcher en tu cloud
Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.
¿Mantienes este repo? Muestra su Trust Score en tu README
La insignia muestra el Trust Score y el veredicto actuales de este repositorio y enlaza a esta página. Sigue los datos del catálogo: nadie puede comprar ni editar la puntuación que enseña.
[](https://claudewave.com/en/repo/assafelovic-gpt-researcher)<a href="https://claudewave.com/en/repo/assafelovic-gpt-researcher"><img src="https://claudewave.com/api/badge/assafelovic-gpt-researcher" alt="ClaudeWave Trust Score for assafelovic/gpt-researcher" width="320" height="64"></a>