RogueGPT — Claude Code MCP server: features and setup
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.
GPL-3.0 ★ 8 updated 2026-11-07
claude mcp add roguegpt -e ROGUEGPT_MONGO_URI=<ROGUEGPT_MONGO_URI> -- uvx roguegptWhat RogueGPT 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.
What it helps with
- save a news fragment with its generation settings
- retrieve previously stored fragments
- keep generation details linked to each fragment
Example prompts for the agent
- 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.
How to install RogueGPT
Platform CLI
claude mcp add roguegpt -e ROGUEGPT_MONGO_URI=<ROGUEGPT_MONGO_URI> -- uvx roguegptReplace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from roguegpt <command>
Platform CLI
codex mcp add roguegpt --env ROGUEGPT_MONGO_URI=<ROGUEGPT_MONGO_URI> -- uvx roguegptReplace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from roguegpt <command>
Config file
{
"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>
Config file
{
"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>
Platform CLI
gemini mcp add -e ROGUEGPT_MONGO_URI=<ROGUEGPT_MONGO_URI> roguegpt uvx roguegptReplace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from roguegpt <command>
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about RogueGPT
How do I install RogueGPT in Claude Code?
Add the server with claude mcp add roguegpt -e ROGUEGPT_MONGO_URI=<ROGUEGPT_MONGO_URI> -- uvx roguegpt. Replace the placeholder with the MongoDB connection string.
What does RogueGPT do?
It adds and retrieves synthetic news fragments, keeping generation details such as the model, language, style, and format with each record.
What does RogueGPT need to run?
It requires MongoDB, a connection string in ROGUEGPT_MONGO_URI, and the uvx command.