Skip to content
MCP server

Guard Core

MCP server to validate Guard Core SecurityConfig, search its docs and check threats

Runs locallyStatus and history
Install
Pricing
Open source
Platforms
CLI, self-hosted
Runs
Locally
Version
1.7.0
Listing updated
2 days ago

About Guard Core

Guard Core is an open-source MCP server for security. It runs locally on your machine and is started by your AI client.

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.

Install

Run in a terminal

claude mcp add guard-core-mcp -- uvx guard-core-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "guard-core-mcp": {
      "command": "uvx",
      "args": [
        "guard-core-mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "guard-core-mcp": {
      "command": "uvx",
      "args": [
        "guard-core-mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

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

Add to ~/.codeium/windsurf/mcp_config.json

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

Add to your client's MCP settings (most use this shape)

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

What it does

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

Pricing

Open source

Open-source ecosystem; no pricing listed

Prices change. Check guard-core.github.io before you buy.

Guard Core 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 to Guard Core

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools