# ExactGround

> ExactGround is an open-source MCP server for security. Hosted MCP checks that npm and PyPI packages, versions and functions actually exist. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API
- **Website:** https://alidaram99.github.io/exactground/
- **Repository:** https://github.com/alidaram99/exactground
- **MCP Registry name:** io.github.alidaram99/exactground
- **Categories:** security, developer tools
- **Listing updated:** 2026-11-16

## About

ExactGround starts from a documented problem: coding agents sometimes recommend packages that do not exist, and attackers can register those names. A free MIT-licensed hook for Claude Code, Codex, Gemini CLI and Cursor checks install commands and new manifest dependencies against the public npm and PyPI registries before they run. It blocks unknown names, unpublished versions, young look-alikes and npm security placeholders.

The hosted MCP API goes further and checks symbols inside a specific package version, such as a function removed in a later release. It reads published type definitions and Python wheels statically and never executes them. It runs on Apify, so calls need an Apify token, and pricing is per call.

The authors describe the hook as a cooperative guardrail, not a sandbox: installs hidden in inline scripts are denied, and a deliberately evasive agent can bypass it. If the registry check fails, the hook denies by default.

## Features

- **Install-time blocking:** Checks npm, pnpm, yarn, bun, pip, uv and poetry install commands before they run.
- **Manifest checks:** Inspects new dependencies in package.json, requirements files and pyproject.toml.
- **Version-exact symbol checks:** The hosted API verifies a function exists in a given package version.
- **Look-alike detection:** Flags young look-alikes of popular packages.
- **Fail-closed behaviour:** Denies when the registry or checker cannot be reached.
- **Four agent integrations:** Hooks for Claude Code, Codex, Gemini CLI and Cursor.

## Good for

- Stop an agent installing a hallucinated package
- Verify an API exists in the installed library version
- Check a diff for symbols that do not exist
- Guard against slopsquatting in agent workflows

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http exactground https://dropin-apis--exactground-api.apify.actor/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://dropin-apis--exactground-api.apify.actor/mcp
```

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

```json
{
  "mcpServers": {
    "exactground": {
      "url": "https://dropin-apis--exactground-api.apify.actor/mcp"
    }
  }
}
```

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

```json
{
  "servers": {
    "exactground": {
      "type": "http",
      "url": "https://dropin-apis--exactground-api.apify.actor/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "exactground": {
      "serverUrl": "https://dropin-apis--exactground-api.apify.actor/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "exactground": {
      "type": "http",
      "url": "https://dropin-apis--exactground-api.apify.actor/mcp"
    }
  }
}
```

## Tools

- `check_symbols`: Checks whether symbols exist in an exact package version
- `check_packages`: Checks that packages exist
- `check_diff`: Checks a diff for nonexistent symbols

## FAQ

### Is it free?

The hook is free and open source under MIT. The hosted API charges per call through Apify.

### Is it a sandbox?

No. The authors call it a guardrail; use OS or container sandboxing for an agent you do not trust.

### What does the hosted API cost?

check_symbols is $0.002 per symbol, check_packages $0.0005 per package and check_diff $0.01 per diff.

### What happens if the registry is down?

The hook denies the command.

### Is ExactGround free?

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

### How do I add ExactGround to Claude Code?

Run this command in your terminal: claude mcp add --transport http exactground https://dropin-apis--exactground-api.apify.actor/mcp

### What are the best alternatives to ExactGround?

The closest alternatives to ExactGround 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/exactground
