Skip to content

Quickstart

Kane Liu edited this page Nov 29, 2026 · 1 revision

Quickstart

Install

pi install npm:pi-opendata-mcp

The package is published to npm with provenance. It adds the opendata-best MCP server (https://ai.opendata.best/mcp) with its five tools declared to the model, and the opendata-best skill (search → describe → run workflow, cost rules, client setup and the source list).

Sign in

Run /mcp login opendata-best (or pick Sign in in /mcp). pi signs you in to shop.opendata.best with OAuth 2.1.

To use an API key instead, create an odk_ key at https://shop.opendata.best/pages/account/ai and export it before starting pi:

export OPENDATA_API_KEY=odk_...
Variable Effect
OPENDATA_API_KEY Use this key instead of OAuth
OPENDATA_MCP_URL Use another endpoint, for example https://ai.opendata.best/public/mcp to browse without signing in

Cost

Catalog tools are free. run_extraction and get_job_results are billed per delivered row from your prepaid wallet ($0.005 per row by default, at most 20 rows per call); zero rows, failures and timeouts are free.

Use the data in an AI assistant

The same sources are available to Claude and Gemini CLI through the remote MCP server https://ai.opendata.best/mcp. Setup: Claude and Gemini MCP setup · official guides Claude and Gemini.

Clone this wiki locally