ContextGate
Free MCP gateway that applies tool policies, PII redaction and audit logs to agent calls
- Pricing
- Free
- Platforms
- Web, API
- Runs
- Remotely
- Version
- 1.0.0
- Listing updated
- 2 days ago
About ContextGate
ContextGate is a free MCP server for security. It runs as a hosted remote server, so there is nothing to install locally.
The gateway sits in the middle of every tool call. You add ContextGate once to Claude, ChatGPT, Claude Code, Cursor, VS Code, Codex or Gemini CLI, then connect other apps such as Gmail, GitHub, Salesforce or HubSpot, or any remote MCP server, through it. Each call is recorded and checked against your policies, and can be blocked or have personal data redacted.
Switching off a tool hides it from your AI apps and refuses it if called. The site frames the risks as leaking data (customer emails, bank details, keys pasted into arguments), reaching too far when a server exposes delete or merge tools, and having no record of what the AI did. It sees only calls that pass through it, not an app's built-in tools or your chats.
Auth is OAuth, or a workspace API key added to the URL for apps that cannot sign in. The service is free with no card.
Install
Run in a terminal
claude mcp add --transport http mcp https://api.contextgate.ai/mcpAdd to Settings → Connectors → Add custom connector
https://api.contextgate.ai/mcpAdd to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp": {
"url": "https://api.contextgate.ai/mcp"
}
}
}Add to .vscode/mcp.json
{
"servers": {
"mcp": {
"type": "http",
"url": "https://api.contextgate.ai/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp": {
"serverUrl": "https://api.contextgate.ai/mcp"
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp": {
"type": "http",
"url": "https://api.contextgate.ai/mcp"
}
}
}What it does
- Tool policies
- Apply rules to every tool call.
- PII redaction
- Redact personal data in results.
- Audit log
- Keep a record of each call's tool, arguments and result.
- Tool switch-off
- Hide and refuse tools you do not want used.
- App catalog
- Connect apps like Gmail and GitHub or any remote MCP server.
- One connection
- Add one URL to each AI app.
Good for
- Block risky delete or send tools
- Redact personal data in tool results
- Review what an agent did in your apps
- Give several AI apps one governed connection
Pricing
Free
Free, no card required
Prices change. Check contextgate.ai before you buy.
ContextGate FAQ
Is it free?
The site calls it free with no card required.
Does it see my chats?
No. It sees only tool calls that go through it.
How do I sign in?
OAuth, or a workspace API key in the URL for apps that cannot sign in.
Which apps are supported?
Claude, ChatGPT, Claude Code, Cursor, VS Code, Codex, Gemini CLI and other MCP clients.
Is ContextGate free?
Yes. ContextGate is free to use.
How do I add ContextGate to Claude Code?
Run this command in your terminal: claude mcp add --transport http mcp https://api.contextgate.ai/mcp
What are the best alternatives to ContextGate?
The closest alternatives to ContextGate are REA, Claude Code Ultimate Guide, Agent Roast, Midplane and Leash.
Alternatives to ContextGate

REA
MCP serverCLI and MCP server that lets coding agents reverse engineer apps and binaries
Runs locally- Open source
- 464K GitHub stars
- Developer tools

Claude Code Ultimate Guide
MCP serverMCP server for searching the Claude Code Ultimate Guide from any MCP client
Runs locally- Open source
- 6.5K GitHub stars
- AI models and LLM tooling
Agent Roast
MCP serverOffline review that flags agent changes which weaken tests, assertions or CI
Runs locally- Open source
- 4 Hacker News points
- Developer tools

Midplane
MCP serverPostgres gateway for AI agents with table grants, column masking and approval for writes
Runs locally- Open source
- 5 GitHub stars
- Databases

Leash
MCP serverReview what your AI touched, approve risky actions and undo supported changes
- 1 tool
- Remote
- Free
- 1 GitHub star
- Security
Zero-log MCP server with 49 tools for AI guardrails, secret scanning and EU compliance
- 49 tools
- Remote
- Freemium
- Security