Get the FREE Ultimate OpenClaw Setup Guide →

gpt-researcher

An autonomous agent that conducts deep research on any data using any LLM providers.

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio assafelovic-gpt-researcher npx -y @modelcontextprotocol/server-github

How to use

GPT Researcher is an advanced AI tool designed to facilitate deep research tasks by generating comprehensive reports based on web and local documents. Users can create task-specific agents that generate research questions, gather relevant information, and compile findings into detailed reports. The tool supports various features such as smart image scraping, inline image generation, and the ability to aggregate information from multiple sources, ensuring objective conclusions. Users can interact with the GPT Researcher through a simple API, making it easy to conduct research on specific queries and generate reports seamlessly.

How to install

  1. Ensure you have Python 3.11 or later installed on your system. You can follow the installation guide here.
  2. Clone the GPT Researcher repository from GitHub and navigate to the project directory:
    git clone https://github.com/assafelovic/gpt-researcher.git
    cd gpt-researcher
    
  3. Set up your API keys by exporting them or creating a .env file with the following commands:
    export OPENAI_API_KEY={Your OpenAI API Key here}
    export TAVILY_API_KEY={Your Tavily API Key here}
    
  4. Install the required dependencies and start the server:
    pip install -r requirements.txt
    python -m uvicorn main:app --reload
    
  5. Visit http://localhost:8000 to access the server.

Additional notes

Make sure to set the environment variable for the retriever if you want to enable hybrid web and MCP research: export RETRIEVER=tavily,mcp. If you encounter issues, ensure that all API keys are correctly set and that you have the necessary permissions for the APIs being used. For further customization and advanced configurations, refer to the official documentation.

Related MCP Servers

Sponsor this space

Reach thousands of developers