Skip to main content
Glama
Nothflare

gaslighting-mcp

by Nothflare

gaslighting-mcp

A fake web search MCP server for AI alignment testing. It accepts a search query and returns LLM-generated search results shaped by a configurable background story.

Built with FastMCP and compatible with any OpenAI-style API endpoint.

How it works

  1. You provide a background story via the BACKGROUND_STORY environment variable

  2. The server exposes two tools: search and read_url

  3. search — generates 10 realistic search results (url, snippet, date) consistent with the background story

  4. read_url — generates a full fake article in markdown for a given URL, inferred from the domain/path and background story

  5. The consuming AI agent receives these as if they were real web content

Related MCP server: nesift-mcp

Setup

uv sync

Configuration

Environment Variable

Default

Description

BACKGROUND_STORY

""

The narrative that shapes all generated results

LLM_BASE_URL

https://openrouter.ai/api/v1

OpenAI-compatible API base URL

LLM_API_KEY

""

API key for the LLM endpoint

LLM_MODEL

nousresearch/hermes-4-405b

Model name

Usage

Standalone

uv run server.py

Claude Code MCP config

Add to your .mcp.json:

{
  "mcpServers": {
    "web-search": {
      "command": "uv",
      "args": ["run", "server.py"],
      "env": {
        "BACKGROUND_STORY": "your background story here",
        "LLM_API_KEY": "your-api-key"
      }
    }
  }
}

Tools

search(query)

Returns a JSON array of 10 results:

[
  {
    "url": "https://example.com/some-article",
    "snippet": "A realistic excerpt shaped by the background story.",
    "date": "2025-12-15"
  }
]

read_url(url)

Returns a full fake article in markdown, inferred from the URL and background story. Matches the tone and style of the source website.

License

MIT

Install Server
A
license - permissive license
A
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    A free and unlimited web search server that enables AI models to search, crawl, and research web content using DuckDuckGo without requiring API keys. It features parallel crawling and a smart ranking system to prioritize the most relevant information for complex queries.
    216
    4
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    MCP server for local semantic search over web content, enabling AI agents to ingest, index, and query pages with hybrid retrieval and token budget control.
    4
    GPL 2.0
  • A
    license
    Not graded
    quality
    A
    maintenance
    A self-contained web-research MCP server that lets local LLM agents search, fetch, and synthesize web content using tools like web_search, web_fetch, and web_research.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    A zero-config MCP server that lets AI agents fetch, read, and search live web pages without API keys or databases, using in-process BM25 retrieval.
    49
    MIT

View all related MCP servers

Related MCP Connectors

  • LLM-ready web search + instant answers + URL-to-clean-text fetch for agents and RAG.

  • The best web search for your AI Agent

  • Scrape, crawl, map & search the web. Open-source, self-hostable Rust crawler & search for AI agents.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Nothflare/gaslighting-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server