Back to Home
assafelovic icon

gpt-researcher

Verified Safe

by assafelovic

Overview

The GPT Researcher MCP Server enables AI assistants to conduct comprehensive web research and generate detailed, factual, and unbiased reports. It supports multi-agent workflows, local document analysis, and integration with external tools via the Machine Conversation Protocol (MCP) for various research tasks.

Installation

Run Command
docker-compose up --build

Environment Variables

  • OPENAI_API_KEY
  • TAVILY_API_KEY
  • OPENAI_BASE_URL
  • LANGCHAIN_API_KEY
  • LOGGING_LEVEL
  • NEXT_PUBLIC_GA_MEASUREMENT_ID
  • NEXT_PUBLIC_GPTR_API_URL
  • DISCORD_BOT_TOKEN
  • DISCORD_CLIENT_ID
  • DOC_PATH
  • RETRIEVER
  • EMBEDDING
  • MCP_API_KEY

Security Notes

The project demonstrates good security practices regarding file path manipulation by using `sanitize_filename` and `os.path.basename` to prevent path traversal in file uploads, deletions, and report generation. Sensitive API keys are managed via environment variables. However, the default `docker-compose.yml` runs services as `user: root`, which grants excessive privileges within containers and should be mitigated for production. Additionally, the FastAPI server's CORS `allow_origins` includes `"*"` for testing purposes, which needs to be restricted to specific domains in a production environment. LLM-based components are also inherently susceptible to prompt injection risks.

Similar Servers

Stats

Interest Score100
Security Score8
Cost ClassMedium
Avg Tokens300000
Stars24492
Forks3233
Last Update2025-12-14

Tags

AIResearch AgentLLMWeb ScrapingReport GenerationMulti-Agent SystemMachine Conversation ProtocolPythonFastAPINextJS