Repository navigation
Quickstart
pi install npm:pi-opendata-mcpThe 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).
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 |
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.
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.