1. CLI
Dataify
English
  • 中文
  • English
  • Introduction
    • Overview
    • Support
  • Data Services
    • Getting Started Guide
    • MCP Setup Guide
    • Dataify cloud delivery tutorial
    • Web Scraper API
      • Introduction
      • Quick Start Guide
      • Send Your First Request
      • API Request Builder
      • Request Parameter Reference
        • Amazon Parameters
        • EBay Parameters
        • Walmart Parameters
    • Video Scraper API
      • Introduction
      • Quick Start Guide
      • Send Your First Request
      • API Request Builder
      • Request Parameter
    • SERP API
      • Overview
      • Quick Start Guide
      • Send your first request
      • Billing Information
      • FAQ
      • Status Code
      • Request Parameter Reference
        • Google
          • Google Search
          • Google Light
          • Google AI Mode
          • Google Map
          • Google Scholar
          • Google News
          • Google Lens
          • Google Jobs
          • Google Videos
          • Google Local
          • Google Trends
          • Google finance
          • Google Flight
          • Google Hotel
          • Google Images
          • Google Patent
          • Google Shopping
          • Google Play
        • Bing
          • Bing Search
          • Bing Map
          • Bing News
          • Bing Videos
          • Bing Images
          • Bing Shopping
        • DuckDuckGo
          • DuckDuckGo
        • Yandex
          • Yandex
      • Response Field Reference
        • Google
          • Google Search
          • Google AI Mode
          • Google Images
          • Google Shopping
          • Google videos
          • Google news
          • Google Map
          • Google Lens
          • Google Flight
          • Google Scholar
          • Google Hotel
          • Google Jobs
          • Google Trends
          • Google Local
          • Google Play
          • Google Finance
        • Bing
          • Bing search
          • Bing Map
          • Bing Shopping
          • Bing Video
          • Bing Images
          • Bing News
        • Yandex
          • Yandex
    • Web API
      • Overview
      • Quick Start
      • Billing Information
      • Send Your First Request
        • Search API
        • Extract API
        • Map API
      • Parameter Reference
        • Search API
        • Export API
        • Map API
        • Response code
    • Web Unlocker API
      • Overview
      • Quick Start
      • Send Your First Request
      • Parameter Reference
      • Billing Information
      • Response code
    • FAQ
      • Frequently Asked Questions
  • Network Infrastructure
    • Dynamic Network Services
      • Dynamic Residential Network
        • Introduction
        • Quick Start
          • Account and Password Authentication
          • Whitelist
          • List of countries/regions
      • High bandwidth network
        • Introduction
        • Quick Start
          • Account Verification
          • Whitelist
    • Static Network Services
      • Static ISP Network
        • Introduction
        • Quick Start
      • Static Data Center
        • Introduction
        • Quick Start
  • Public API
    • Overview
    • Get Token
    • Account
      • Query Credit Balance
      • Query Traffic Balance
      • Query Traffic Usage Records
    • Geolocation
      • Get Country Lists
      • Get State Lists
      • Get City Lists
      • Get ASN Lists
    • Network Service Users
      • Update user information
      • Delete user
      • Daily Traffic Usage Records
      • Hourly Traffic Usage Records
    • Whitelist
      • Query whitelist list
      • Add to Whitelist
      • Remove from Whitelist
    • ISP / Datacenter Proxies
      • Get a list of network nodes
      • Query network nodes expired
    • Dynamic High Bandwidth
      • Get a list of dynamic high-bandwidth servers
      • Restart dynamic high-bandwidth server
      • Renewal for Dynamic High-Bandwidth Servers
      • Dynamic High-Bandwidth Upgrade
      • Whitelist for High-Bandwidth Server Sub-accounts
      • Add sub-accounts to the high-bandwidth server whitelist
      • Remove the sub-account from the high-bandwidth server whitelist.
    • Web Scraper API
      • Usage Statistics
      • Task API
        • Create Task Instructions
        • Task Execution Status Description
        • Task List Retrieval Instructions
        • Task Download Instructions
        • Get Latest Task Instructions
    • SERP API
      • Interface Information
      • Task API
        • Google search API
        • Bing Search API
        • Duckduckgo search API
        • Yandex search API
    • Web API
      • Search API
      • Extract API
      • Map API
    • Web Unlocker API
      • Get Task Interface API
      • Using the statistics API
  • Integrations
    • AdsPower
    • BitBrowser
    • ClonBrowser
    • Hubstudio
    • Puppeteer
    • Playwright
    • Selenium
    • Chrome
  • FAQ
    • Payment Issues
    • Data Services
    • Network Infrastructure
  • SDK
    • Go SDK Guide
    • JavaScript SDK Guide
    • Python SDK Guide
    • TypeScript SDK Guide
  • CLI
    • Overview
    • Installation
    • Commands
    • Usage Examples
    • FAQ
  • MCP Server
    • Overview
    • Tools
    • Usage Examples
    • Output Format
    • FAQ
    • Agent Setup
      • Codex
      • Claude Code
      • Claude Desktop
      • Cursor
      • VS Code / GitHub Copilot
      • Windsurf / Devin Local
      • Cline
      • Google Antigravity
      • Gemini CLI
      • OpenClaw
      • CodeBuddy
      • WorkBuddy
      • Alibaba Qoder / Qoder CN
      • Alibaba Qwen Code
      • Moonshot AI Kimi Code
      • ByteDance Trae
      • ByteDance Coze
    • Remote Mode
      • Quick Start
      • Advanced
  • SKILLS
    • Guide
    • Agent Setup
      • WorkBuddy
  1. CLI

Installation

Install the Dataify MCP CLI globally with npm or run it directly with npx, sign in or configure a token, and learn where the configuration file lives and how priority works.

Requirements#

Node.js: >= 18.17 (an LTS release is recommended).
npm: installed together with Node.js.
Operating system: Windows, macOS, or Linux.
Check your local versions:

Install the CLI#

The fastest way to try the latest version is to run it with npx, with no global install required:
Every command in this documentation can be run with the npx dataify-mcp-cli prefix, for example:
If you want a permanent dataify command that starts faster, install it globally (recommended):
Verify the global install:
Note: after a global install, the command is dataify.

Update the CLI#

Upgrade to the latest version with the same package manager you installed with:
Check your installed version against the latest on npm:

Uninstall the CLI#

Logging In (Recommended)#

dataify login opens your default browser on the Dataify sign-in page. Once you sign in and confirm, the CLI receives a one-time authorization code through a local loopback address (PKCE), exchanges it for a new API token, and writes it to the local configuration file. From then on, all commands — tools, balance, mcp, tool calls, and the rest — are available immediately.
On the authorization page in your browser, you can choose how long the token stays valid: 30 days (default), 90 days, or never expires. Every login creates a new API token under your account, which you can view or delete at any time on the API Tokens page of the Dataify console.
If the browser cannot start (for example on a headless server or over SSH), the CLI prints the URL for you to open yourself:
As long as the saved token is still valid, running dataify login again does not create a new token (it tells you that you are already signed in). To force a new token:
Check the currently signed-in account:
Sign out (deletes the CLI API token on the server and removes the locally saved token; your other API tokens are unaffected):

Configuring a Token#

dataify login is the recommended approach. If you already have an API token, you can save it directly instead. The token is sent as the token query parameter in the URL, and there are three equivalent ways to provide it (each level overrides the one below).

Option 1: Local configuration file (recommended, simplest)#

Save the token to a configuration file in your user directory, and every later command reads it automatically:
View the saved configuration (the token is masked):
Print only the configuration file path:

Option 2: Inline token on a single command#

Pass the token for one call only, leaving your local configuration untouched:

Option 3: Environment variable (for CI, containers, and one-off use)#

Inject the token through an environment variable, which takes priority over the local configuration file. The supported variable is DATAIFY_API_TOKEN.
Windows PowerShell:
$env:DATAIFY_API_TOKEN="YOUR_TOKEN"
Windows cmd:
set DATAIFY_API_TOKEN=YOUR_TOKEN
macOS / Linux:
Prefix it directly in CI:
Security note: the token is stored in the local configuration file and also sent to the Dataify MCP service as the token URL parameter. Never commit the token to a Git repository or expose it in public logs.

One-Step Setup Wizard#

dataify init runs the following in order: resolve and save the token (reusing an existing one, otherwise preferring browser login with a fallback to manual paste) → install the MCP configuration → install Dataify Skills.
Non-interactive use and skipping steps:
OptionDescription
--token TOKENSave this token first, then continue with the remaining steps.
--yes, -yStop asking at every step (MCP and Skill are both installed with "all" selected).
--skip-loginNever launch browser login; paste the token manually instead.
--skip-mcpSkip MCP configuration installation.
--skip-skillSkip Skill installation.
--github-token TOKENPassed to dataify skill to ease GitHub's unauthenticated rate limit.

Verify Your Setup#

After configuring a token or signing in, confirm everything works:
If dataify tools returns no tools, the token is usually incorrect or lacks permission for those tools. Run dataify config set --token ... again, or sign in again with dataify login.

Where the Configuration File Lives#

The CLI stores its configuration in your home directory:
ItemValue
Configuration file path (macOS / Linux)~/.dataify-mcp-cli/config.json
Configuration file path (Windows PowerShell)$env:USERPROFILE\.dataify-mcp-cli\config.json
Configuration file path (Windows cmd)%USERPROFILE%\.dataify-mcp-cli\config.json
Fields you can write with config settoken, timeout, language
Fields added by loginauth (metadata such as the account name and token expiry; no copy of the token)
Default timeout120000 (milliseconds, i.e. 120 seconds)
server / toolsFixed; not written to the configuration file, and the built-in defaults are used on every run
Example configuration file:
{
  "token": "YOUR_TOKEN",
  "timeout": 120000,
  "language": "zh",
  "auth": {
    "source": "cli-login",
    "name": "your-account",
    "expires_at": 1767225600,
    "updated_at": 1735689600
  }
}
On macOS and Linux the configuration file is written with 0600 permissions and its directory with 0700, so only the current user can read them. dataify config get outputs only the contents of this file (token masked) and never adds server / tools.

Configuration Priority (highest to lowest)#

1.
Command-line options: --token, --timeout, --language, and so on
2.
Environment variables: DATAIFY_API_TOKEN / DATAIFY_MCP_TIMEOUT / DATAIFY_LANGUAGE
3.
Local configuration file: ~/.dataify-mcp-cli/config.json
4.
Built-in defaults: server is fixed to https://mcp.dataify.com/mcp, timeout defaults to 120000 milliseconds, and the language defaults to en
Any level can override the one below it, per command. Note that server (the MCP address) and tools (the tool list) are always fixed. The --server / --endpoint / --tools options have been removed and report "Unsupported option" if passed.

Supported Environment Variables#

VariablePurpose
DATAIFY_API_TOKENAPI token (takes priority over the configuration file).
DATAIFY_MCP_TIMEOUTRequest timeout (a number of milliseconds, or with an s / m suffix, such as 180000, 30s, 2m).
DATAIFY_LANGUAGEInterface language (zh / en).
GITHUB_TOKEN / GH_TOKENFallback token for dataify skill when accessing GitHub.
DATAIFY_WIDTHForces the terminal column width (the wizard uses it for layout).
DATAIFY_TUI=0Turns off the full-screen list so wizards fall back to a plain numbered list.
修改于 2026-11-19 03:46:29
上一页
Overview
下一页
Commands
Built with