Guardian MCP Server
by cyanheadsio.github.cyanheads/guardian-mcp-serverv0.1.5
Guardian Open Platform: search and retrieve full article text from The Guardian archive.
context tax
queued
security
queued
cold start
queued
freshness
Active2d ago
Install Guardian MCP server
Install in Claude Code
claude mcp add guardian -e GUARDIAN_API_KEY='<guardian-api-key>' -- npx -y @cyanheads/guardian-mcp-serverInstall in Cursor
{
"mcpServers": {
"guardian": {
"command": "npx",
"args": [
"-y",
"@cyanheads/guardian-mcp-server"
],
"env": {
"GUARDIAN_API_KEY": "<guardian-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"guardian": {
"command": "npx",
"args": [
"-y",
"@cyanheads/guardian-mcp-server"
],
"env": {
"GUARDIAN_API_KEY": "<guardian-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"guardian": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/guardian-mcp-server"
],
"env": {
"GUARDIAN_API_KEY": "<guardian-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"guardian": {
"command": "npx",
"args": [
"-y",
"@cyanheads/guardian-mcp-server"
],
"env": {
"GUARDIAN_API_KEY": "<guardian-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| GUARDIAN_API_KEY | yes | — | API key for The Guardian Open Platform (https://open-platform.theguardian.com/). |
| MCP_LOG_LEVEL | — | — | Sets the minimum log level for output (e.g., 'debug', 'info', 'warn'). |
| MCP_TRANSPORT_TYPE | — | — | Selects the HTTP transport. |
| MCP_HTTP_HOST | — | — | The hostname for the HTTP server. |
| MCP_HTTP_PORT | — | — | The port to run the HTTP server on. |
| MCP_HTTP_ENDPOINT_PATH | — | — | The endpoint path for the MCP server. |
| MCP_AUTH_MODE | — | — | Authentication mode to use: 'none', 'jwt', or 'oauth'. |
Freshness
Active — last maintenance signal 2d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-07 · 2d ago · GitHub
Latest release
2026-10-07 · 2d ago · GitHub · v0.1.5
Package published
no data · npm/PyPI
Registry entry updated
2026-10-07 · 2d ago · official registry · v0.1.5
FAQ
›How do I install the Guardian MCP server in Claude Code?
Run: claude mcp add guardian -e GUARDIAN_API_KEY='<guardian-api-key>' -- npx -y @cyanheads/guardian-mcp-server. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Guardian require an API key?
Yes. It expects GUARDIAN_API_KEY.
›Can I use Guardian as a remote (hosted) MCP server?
Yes — it offers both a hosted endpoint and a local stdio package.
›Is Guardian in the official MCP registry?
Yes, as io.github.cyanheads/guardian-mcp-server.