Skip to content
MCP server

Reuse Before Generate

Checks whether your idea already exists before your agent builds it. Searches GitHub…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.2.3
Listing updated
6 days ago

About Reuse Before Generate

Reuse Before Generate is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Checks whether your idea already exists before your agent builds it. Searches GitHub, npm, Python.

Install

Run in a terminal

claude mcp add reuse-before-generate --env GITHUB_TOKEN='<GITHUB_TOKEN>' -- npx -y reuse-before-generate

Add to claude_desktop_config.json

{
  "mcpServers": {
    "reuse-before-generate": {
      "command": "npx",
      "args": [
        "-y",
        "reuse-before-generate"
      ],
      "env": {
        "GITHUB_TOKEN": "<GITHUB_TOKEN>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "reuse-before-generate": {
      "command": "npx",
      "args": [
        "-y",
        "reuse-before-generate"
      ],
      "env": {
        "GITHUB_TOKEN": "<GITHUB_TOKEN>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "reuse-before-generate": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "reuse-before-generate"
      ],
      "env": {
        "GITHUB_TOKEN": "<GITHUB_TOKEN>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "reuse-before-generate": {
      "command": "npx",
      "args": [
        "-y",
        "reuse-before-generate"
      ],
      "env": {
        "GITHUB_TOKEN": "<GITHUB_TOKEN>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "reuse-before-generate": {
      "command": "npx",
      "args": [
        "-y",
        "reuse-before-generate"
      ],
      "env": {
        "GITHUB_TOKEN": "<GITHUB_TOKEN>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • GITHUB_TOKENOptional GitHub token. Raises the search rate limit from 10 requests/minute to 30.

Pricing

Open source

Reuse Before Generate FAQ

Is Reuse Before Generate free?

Yes. Reuse Before Generate is open source, so you can use and self-host it for free.

How do I add Reuse Before Generate to Claude Code?

Run this command in your terminal: claude mcp add reuse-before-generate --env GITHUB_TOKEN='<GITHUB_TOKEN>' -- npx -y reuse-before-generate

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers