# Яндекс.Директ

> Яндекс.Директ is an open-source MCP server. API Яндекс.Директа v5: кампании, объявления, фразы, ставки, минус-фразы, статистика. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/pavelsiba/yandex-direct-mcp-plus
- **MCP Registry name:** io.github.Pavelsiba/yandex-direct-mcp-plus
- **Listing updated:** 2026-11-13

## About

API Яндекс.Директа v5: кампании, объявления, фразы, ставки, минус-фразы, статистика

## Install

### Claude Code (Terminal)

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

### Claude Desktop (claude_desktop_config.json)

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

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

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

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

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

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

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

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

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

## FAQ

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

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

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

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

---
Source: https://ai-powered.com/mcp/listing-mwenyjxk
