# Apiverify

> Apiverify is an open-source MCP server for developer tools. MCP server that checks whether a Python API exists in an exact PyPI version. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API, Self-hosted, Linux, macOS, Windows
- **Repository:** https://github.com/kumar-miskin/apiverify
- **MCP Registry name:** io.github.kumar-miskin/apiverify
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-27

## About

Apiverify is a small stdio server that lets an AI assistant confirm whether a Python symbol is present in a specific published release of a package. Instead of relying on documentation or what a model remembers, it downloads that release from PyPI, verifies the published sha256, unpacks it safely and reads the source with Python's ast module, so package code is never imported or executed.

A lookup returns one of three answers: verified, with file, line, signature and deprecation signals; not_found, when every lookup path was followed and the name is absent from the source; or cannot_verify, when static analysis cannot settle the question, such as module-level __getattr__ or re-exports from outside the package. Results are limited to plain module-level code, so dynamically created names are reported as uncertain rather than guessed.

The tool suits developers and agent builders who want fewer hallucinated calls to library APIs when code must match a pinned version. The author states the coverage is limited to Python packages on PyPI and that accuracy on real libraries is partial, with many abstentions on lazily loaded packages.

## Features

- **Exact version lookup:** Checks a symbol against the source of one named PyPI release rather than the latest version.
- **Three-way answers:** Returns verified, not_found or cannot_verify so an agent can tell absence from uncertainty.
- **Static source reading:** Parses the package with ast and never imports or runs its code.
- **Integrity checking:** Compares the downloaded artifact against the sha256 that PyPI publishes for it.
- **Signature and location details:** Reports the file, line, signature and deprecation signals for verified names.
- **No dependencies:** Installs and runs through uvx without extra packages.

## Good for

- Confirming a function exists in the version pinned by a project before an agent writes code against it
- Catching calls to renamed or removed library functions during version upgrades
- Reducing invented method names when an assistant writes code for less-documented Python libraries
- Checking whether a class attribute set in __init__ is plausibly present in a given release

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add apiverify -- uvx apiverify
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "apiverify": {
      "command": "uvx",
      "args": [
        "apiverify"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "apiverify": {
      "command": "uvx",
      "args": [
        "apiverify"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

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

```json
{
  "mcpServers": {
    "apiverify": {
      "command": "uvx",
      "args": [
        "apiverify"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "apiverify": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "apiverify"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add apiverify -- uvx apiverify
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.apiverify]
command = "uvx"
args = ["apiverify"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "apiverify": {
      "command": "uvx",
      "args": [
        "apiverify"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user apiverify uvx -- apiverify

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "apiverify": {
      "command": "uvx",
      "args": [
        "apiverify"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "apiverify": {
      "command": "uvx",
      "args": [
        "apiverify"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "apiverify": {
      "command": "uvx",
      "args": [
        "apiverify"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "apiverify": {
      "command": "uvx",
      "args": [
        "apiverify"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "apiverify": {
      "command": "uvx",
      "args": [
        "apiverify"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "apiverify": {
      "command": "uvx",
      "args": [
        "apiverify"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "apiverify": {
      "command": "uvx",
      "args": [
        "apiverify"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

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

```json
{
  "mcpServers": {
    "apiverify": {
      "command": "uvx",
      "args": [
        "apiverify"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 1 name doesn't say. From the server's own tool labels and tool names; not verified by us.

- `verify_python_api`: Checks whether a Python symbol exists in a given package version, with optional package and kwargs parameters.

## FAQ

### Does Apiverify run the package code?

No. It downloads the release, unpacks it safely and reads it with ast, and it never imports or runs package code.

### Which languages are supported?

Only Python packages on PyPI. JavaScript, Rust and Go are not supported yet.

### How do I install Apiverify for an MCP client?

Use the run command uvx --from apiverify apiverify-mcp, which needs uv installed. Claude Code, Claude Desktop and Cursor configurations are shown in the README.

### What does cannot_verify mean?

The answer depends on something static analysis cannot settle, such as module-level __getattr__, a base class re-exported from outside the package, or a file that does not parse.

### Is Apiverify free?

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

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

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

### What are the best alternatives to Apiverify?

The closest alternatives to Apiverify are Honestcode, apifacts, Symbol at Version Lookup, Freshdeps MCP and Symbol at Version Lookup.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Honestcode](https://ai-powered.com/mcp/honestcode): Honestcode is an open-source MCP server for developer tools.
- [apifacts](https://ai-powered.com/mcp/apifacts): apifacts is an open-source MCP server for developer tools.
- [Symbol at Version Lookup](https://ai-powered.com/mcp/symbol-at-version-lookup-2): Symbol at Version Lookup is a paid MCP server for developer tools.
- [Freshdeps MCP](https://ai-powered.com/mcp/freshdeps-mcp): Freshdeps MCP is a free MCP server for developer tools.
- [Symbol at Version Lookup](https://ai-powered.com/mcp/symbol-at-version-lookup): Symbol at Version Lookup is a paid MCP server for developer tools.
- [Preflight](https://ai-powered.com/mcp/preflight-6): Preflight is a free MCP server for developer tools.
- [verifAIed](https://ai-powered.com/mcp/verifaied): verifAIed is an MCP server for developer tools.
- [Agent Verify](https://ai-powered.com/mcp/agent-verify): Agent Verify is a freemium MCP server for security.

---
Source: https://ai-powered.com/mcp/apiverify
