# Яндекс Директ API v5

> Яндекс Директ API v5 is an open-source MCP server. MCP server for Yandex Direct API v5: 113 methods from the machine-readable schema. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/artgas1/yandex-direct-mcp
- **MCP Registry name:** io.github.artgas1/yandex-direct-api-mcp
- **Listing updated:** 2026-09-09

## About

MCP server for Yandex Direct API v5: 113 methods from the machine-readable schema

## Install

### Claude Code (Terminal)

```sh
claude mcp add yandex-direct-api-mcp --env YANDEX_DIRECT_TOKEN='<YANDEX_DIRECT_TOKEN>' -- npx -y yandex-direct-api-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "yandex-direct-api-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "yandex-direct-api-mcp"
      ],
      "env": {
        "YANDEX_DIRECT_TOKEN": "<YANDEX_DIRECT_TOKEN>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "yandex-direct-api-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "yandex-direct-api-mcp"
      ],
      "env": {
        "YANDEX_DIRECT_TOKEN": "<YANDEX_DIRECT_TOKEN>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "yandex-direct-api-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "yandex-direct-api-mcp"
      ],
      "env": {
        "YANDEX_DIRECT_TOKEN": "<YANDEX_DIRECT_TOKEN>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "yandex-direct-api-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "yandex-direct-api-mcp"
      ],
      "env": {
        "YANDEX_DIRECT_TOKEN": "<YANDEX_DIRECT_TOKEN>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "yandex-direct-api-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "yandex-direct-api-mcp"
      ],
      "env": {
        "YANDEX_DIRECT_TOKEN": "<YANDEX_DIRECT_TOKEN>"
      }
    }
  }
}
```

## FAQ

### Is Яндекс Директ API v5 free?

Yes. Яндекс Директ API v5 is open source, so you can use and self-host it for free.

### How do I add Яндекс Директ API v5 to Claude Code?

Run this command in your terminal: claude mcp add yandex-direct-api-mcp --env YANDEX_DIRECT_TOKEN='<YANDEX_DIRECT_TOKEN>' -- npx -y yandex-direct-api-mcp

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/api-v5
