# Guard Core

> Guard Core is an open-source MCP server for security. MCP server to validate Guard Core SecurityConfig, search its docs and check threats. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, self-hosted
- **Website:** https://guard-core.github.io/guard-core-mcp/
- **Repository:** https://github.com/guard-core/guard-core-mcp
- **MCP Registry name:** io.github.Guard-Core/guard-core-mcp
- **Categories:** security, developer tools
- **Listing updated:** 2026-11-15

## About

Guard Core is a family of web-security libraries: a framework-agnostic Python engine, thin adapters for FastAPI, Flask, Django and Tornado, and parallel engines for Go, PHP, TypeScript and Rust that follow the same reference behaviour and are tested against a shared adversarial corpus. This MCP server is the agent-facing piece of that ecosystem, installed from PyPI as `guard-core-mcp` and run over stdio.

The registry entry names three jobs: validating a `SecurityConfig`, searching the project's documentation, and live threat detection. The README also mentions corpus tooling for agents and developers. Telemetry agents in the wider ecosystem ship security events and metrics to a monitoring backend, which is separate from this server.

It suits developers who already protect an API with one of the Guard Core adapters and want an assistant to check configuration or find the right docs page instead of guessing.

## Features

- **SecurityConfig validation:** Check a Guard Core security configuration for mistakes before deploying it.
- **Docs search:** Let an assistant look up the project's documentation.
- **Threat detection:** The registry describes live threat detection as part of the server.
- **Corpus tooling:** The README mentions tooling around the shared adversarial test corpus.
- **Multi-language ecosystem:** Pairs with engines and adapters for Python, Go, PHP, TypeScript and Rust.

## Good for

- Validate a security config before shipping a FastAPI or Flask service
- Ask an assistant where a Guard Core option is documented
- Review request-protection settings across several language ports
- Work with the adversarial corpus used for conformance tests

## Install

### Claude Code (Terminal)

```sh
claude mcp add guard-core-mcp -- uvx guard-core-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "guard-core-mcp": {
      "command": "uvx",
      "args": [
        "guard-core-mcp"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "guard-core-mcp": {
      "command": "uvx",
      "args": [
        "guard-core-mcp"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "guard-core-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "guard-core-mcp"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "guard-core-mcp": {
      "command": "uvx",
      "args": [
        "guard-core-mcp"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "guard-core-mcp": {
      "command": "uvx",
      "args": [
        "guard-core-mcp"
      ]
    }
  }
}
```

## FAQ

### How do I install it?

It is published on PyPI as guard-core-mcp and runs over stdio.

### Which frameworks does Guard Core cover?

Adapters are listed for FastAPI, Flask, Django, Tornado, Laravel, Symfony and several Go frameworks, among others.

### Is the server itself a firewall?

The registry describes it as config validation, docs search and live threat detection tooling for the Guard ecosystem.

### Is Guard Core free?

Yes. Guard Core is open source, so you can use and self-host it for free.

### How do I add Guard Core to Claude Code?

Run this command in your terminal: claude mcp add guard-core-mcp -- uvx guard-core-mcp

### What are the best alternatives to Guard Core?

The closest alternatives to Guard Core are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/guard-core
