skills.simulatos

← All skills · docs

dataforseo-mcp-server

Run DataForSEO API tasks via the CLI in a shell (docs index, docs search, request). Use when the agent should execute terminal commands with npx dataforseo-mcp-server.

61score
★ 262repo stars
2026-12-01first seen
2026-12-01last push
Open on GitHub Raw SKILL.md dataforseo/mcp-server-typescript · SKILL.md
namedescription

What it says

---
name: dataforseo-mcp-server
description: >-
  Run DataForSEO API tasks via the CLI in a shell (docs index, docs search, request).
  Use when the agent should execute terminal commands with npx dataforseo-mcp-server.
---

# DataForSEO MCP Server — LLM Agent Guide

Run shell commands and read stdout/stderr. Always invoke the tool through the terminal — never substitute another integration path.

## How AI agents interact with this tool

1. **Invoke via shell** — use the terminal (Shell tool) to run `npx dataforseo-mcp-server …` commands.
2. **Read the output** — successful results are printed to stdout (JSON or documentation text). Errors go to stderr and exit code is non-zero.
3. **Auth for CLI** — set `DATAFORSEO_LOGIN` and `DATAFORSEO_PASSWORD` in the shell environment (fallback / CLI path; see Authentication below).

**Binary name:** `npx dataforseo-mcp-server` (or `npx .` from this repo root after `npm install` + `npm run build`).

**Working directory:** any directory where credentials are available in the environment (for CLI).

---



## Authentication


| Mode | Preferred auth | Fallback |
| ---- | -------------- | -------- |
| MCP stdio (default when no CLI command; or `npx dataforseo-mcp-server` with no args) | Env credentials (HTTP Basic) | — |
| HTTP MCP (`--mode http`) | OAuth 2.0 Bearer via authorization server `https://data.dataforseo.com` (discovery at `/.well-known/oauth-protected-resource`) | `DATAFORSEO_LOGIN` + `DATAFORSEO_PASSWORD` in env |
| CLI (`docs` / `request` / `--cli`) | Env credentials (HTTP Basic) | — |


Override the authorization server with `AUTH_SERVER_URL` if needed.

---



## Quick reference


| Task                               | Shell command                                                               |
| ---------------------------------- | --------------------------------------------------------------------------- |
| Docs index                         | `npx dataforseo-mcp-server docs index [--section "SERP API"]`               |
| List sections                      | `npx dataforseo-mcp-server docs index --list-sections`                      |
| Endpoint docs                      | `npx dataforseo-mcp-server docs search <url-or-path>`                       |
| Endpoint docs (with code examples) | `npx dataforseo-mcp-server docs search <url-or-path> --need-code-example`   |
| GET request                        | `npx dataforseo-mcp-server request -X GET -p /v3/...`                       |
| POST request                       | `npx dataforseo-mcp-server request -X POST -p <path> --param key=value ...` |
| POST request (JSON)                | `npx dataforseo-mcp-server request -X POST -p <path> -d '<json-array>'`     |


By default, API paths use the `.ai` suffix (e.g. `/v3/serp/google/organic/live/regular.ai`). Pass `--no-ai-mode` to use the standard path.

**CLI credentials (fallback / shell):** set `DATAFORSEO_LOGIN` and `DATAFORSEO_PASSWORD` as environment variables. Get keys at [https://app.dataforseo.com/api-access](https://app.dataforseo.com/api-access)

```bash
export DATAFORSEO_LOGIN=your_api_login
export DATAFORSEO_PASSWORD=your_api_password
```

Windows PowerShell: `$env:DATAFORSEO_LOGIN="..."` / `$env:DATAFORSEO_PASSWORD="..."`. CMD: `set DATAFORSEO_LOGIN=...`

`DATAFORSEO_USERNAME` is also accepted as an alias for `DATAFORSEO_LOGIN`. For HTTP MCP, prefer OAuth; env credentials are only a fallback when no `Authorization` header is present.

---



## Agent workflow (shell)

Run these steps as separate shell commands:

1. `npx dataforseo-mcp-server docs index --section "<API>"` — find endpoint path.
2. `npx dataforseo-mcp-server docs search <path>` — read method, parameters, example body.
3. `npx dataforseo-mcp-server request -X <METHOD> -p <path> --param key=value ...` (or `-d '<json-array>'`) — call API.

Parse the printed output to decide the next step.

---



## POST body

POST endpoints accept a **JSON array of task objects**: `[{ ... }]`.

**Preferred:** pass fields with repeatable `--param key=value` (merged into the first task object). Use exact API field names from endpoint docs (e.g. `keyword`, `language_code`, `location_code`).

`--param` values override the same fields in `-d` JSON when both are used.

**Array values** (PowerShell strips `"` inside `[...]`, so prefer these forms):

```bash
# single-item array
--param keywords=[phone]

# multiple items (pipe-separated)
--param keywords=[phone|tablet|laptop]

# or repeat the same key
--param keywords=phone --param keywords=tablet

# order_by with comma inside the value
--param order_by=[keyword_info.search_volume,desc]
```

Valid JSON in `--param` still works when your shell preserves quotes (bash: `'keywords=["phone"]'`).

### Example: Live SERP (`/v3/serp/google/organic/live/regular`)

```bash
npx dataforseo-mcp-server request -X POST -p /v3/serp/google/organic/live/regular \
  --param keyword=dataforseo --param language_code=en --param location_code=2840
```

JSON form:

```bash
npx dataforseo-mcp-server request -X POST -p /v3/serp/google/organic/live/regular -d '[{\"keyword\":\"dataforseo\",\"location_code\":2840,\"language_code\":\"en\"}]'
```

---



## Installation (once per environment)

```bash
cd /path/to/mcp-server-typescript
npm install
npm run build
export DATAFORSEO_LOGIN=your_api_login
export DATAFORSEO_PASSWORD=your_api_password
npx dataforseo-mcp-server --help
```

From a project with CLI as a dependency:

```bash
cd /path/to/your-project
npm install
export DATAFORSEO_LOGIN=your_api_login
export DATAFORSEO_PASSWORD=your_api_password
npx dataforseo-mcp-server docs index --list-sections
```

Dev without build (CLI repo only): `npm run dev -- docs index`

---



## Commands reference



### docs index

```bash
npx dataforseo-mcp-server docs index
npx dataforseo-mcp-server docs index --section "SERP API"
npx dataforseo-mcp-server docs index --list-sections
npx dataforseo-mcp-server docs index --cache-dir D:\my-docs-cache
```

Sections: SERP API, AI Optimiza

Also scanned in docs

Design a process, idea or body of knowledge into an ICM (Interpretable Context Methodology) workspace, where folder structure is the agent architecture, or restructure an existing folder, repo or vaul

docsRinDig/icm-architect★ 24132026-12-01

专业六爻纳甲筮法排盘与解卦。自动起卦排盘,十步完整流程(第零步排盘→审题取用神→判定旺衰→追踪动变→伏神分析→世应关系→六神兽取象→应期推断→综合断语→智能体审查→HTML报告)。 使用场景:六爻占卜、金钱卦、纳甲筮法、周易预测、起卦解卦。

docsSeanding1998/liuyao-frv★ 752026-12-01

恋爱军师与情绪支持 skill。用于心动、暧昧、追求、聊天记录或截图分析、约会、关系确认、多人选择、冲突、冷淡、投入失衡、分手、复合、出轨、婚姻或家庭问题;也用于分析关系信号、设计主动推进或退出策略、润色可直接发送的话术,以及把冷读、自然流、Blueprint、Mystery 等经典社交体系转译成真实、互惠、可退出的沟通能力。支持分析ChatLab已有数据和经同意可撤销的长期关系档案,不负责导出聊

docsshengjidaguai-china/goutoujunshi-chat★ 7152026-12-01

个人 IP 图解创作器。用你的 IP 形象,生成专属内容图解。用于把用户授权提供的照片、主页截图、简介、账号资料或角色档案转成稳定的极简手绘图解角色,并继续生成长文配图、图文号知识卡、手机海报、方法拆解图、分镜故事图、IP 演讲 PPT、直播分享课件和全图化手绘 PPT 页面等内容视觉。它强调 IP 主角 + 执行 Agent 的知识图解系统:用户 IP 做主讲、拆解、批注和调度,执行 Agent

docshaloshin/ip-diagram-creator★ 2712026-12-01