# RogueGPT

The RogueGPT MCP server for Claude Code stores news fragments with generation details and retrieves them on request. An agent can add a fragment or search saved records through its tools.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 8 repo stars
- Author: aloth
- License: GPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/aloth/RogueGPT
- Updated: 2026-11-07
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/roguegpt

## What it does

RogueGPT uses MongoDB to save news fragments and provides the `ingest_fragment` and `retrieve_fragments` tools. Each record carries details such as the model, language, style, and format used to produce it.

The server is a research instrument for studying responses to synthetic news. It does not publish or distribute content. Running it requires MongoDB, a connection string set in `ROGUEGPT_MONGO_URI`, and the `uvx` command.

## Requirements
- Needs: Python and uv (commands run via uvx)
- Environment variables: `ROGUEGPT_MONGO_URI` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add roguegpt -e ROGUEGPT_MONGO_URI=<ROGUEGPT_MONGO_URI> -- uvx roguegpt
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from roguegpt <command>

### Codex

**Platform CLI**
```bash
codex mcp add roguegpt --env ROGUEGPT_MONGO_URI=<ROGUEGPT_MONGO_URI> -- uvx roguegpt
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from roguegpt <command>

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "roguegpt": {
            "command": "uvx",
            "args": [
                "roguegpt"
            ],
            "env": {
                "ROGUEGPT_MONGO_URI": "<ROGUEGPT_MONGO_URI>"
            }
        }
    }
}
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from roguegpt <command>

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "roguegpt": {
            "type": "stdio",
            "command": "uvx",
            "args": [
                "roguegpt"
            ],
            "env": {
                "ROGUEGPT_MONGO_URI": "<ROGUEGPT_MONGO_URI>"
            }
        }
    }
}
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from roguegpt <command>

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e ROGUEGPT_MONGO_URI=<ROGUEGPT_MONGO_URI> roguegpt uvx roguegpt
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from roguegpt <command>

## When to use it
- save a news fragment with its generation settings
- retrieve previously stored fragments
- keep generation details linked to each fragment

## Example prompts
- Add a news fragment with its model, language, style, and format.
- Find stored fragments matching these parameters.
- Show the generation details for a selected fragment.

## Similar
- [ai-resources](https://affpapa.org/en/nevibecode/mcp/ai-resources.md) — MCP server · ★ 133 repo stars
- [news-monitor](https://affpapa.org/en/nevibecode/skills/news-monitor.md) — skill · 5300 installs
- [News MCP — AP, BBC, NPR, HN, Google News Aggregator](https://affpapa.org/en/nevibecode/mcp/news-mcp-ap-bbc-npr-hn-google-news-aggregator.md) — MCP server · 9748 installs
- [Synorb](https://affpapa.org/en/nevibecode/mcp/synorb.md) — MCP server
- [content-intelligence](https://affpapa.org/en/nevibecode/plugins/content-intelligence.md) — plugin · ★ 96 repo stars
- [gdelt-mcp-server](https://affpapa.org/en/nevibecode/mcp/gdelt-mcp-server.md) — MCP server · ★ 10 repo stars

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
