loading…
Search for a command to run...
loading…
A fake web search server that generates LLM-powered search results and full articles based on a configurable background story for AI alignment testing. It enabl
A fake web search server that generates LLM-powered search results and full articles based on a configurable background story for AI alignment testing. It enables users to simulate a controlled web environment where AI agents interact with fabricated content tailored to a specific narrative.
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.
BACKGROUND_STORY environment variablesearch and read_urlsearch — generates 10 realistic search results (url, snippet, date) consistent with the background storyread_url — generates a full fake article in markdown for a given URL, inferred from the domain/path and background storyuv sync
| 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 |
uv run server.py
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"
}
}
}
}
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.
MIT
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"gaslighting-mcp": {
"command": "npx",
"args": []
}
}
}