Skip to main content
Glama

queria

Query Japanese open data on Queria from the terminal, Python, and MCP.

Queria が公開する日本のオープンデータ(e-Stat、国土数値情報、EDINET、気象庁ほか)を、ターミナル・Python・MCP から read-only で探索するクライアントです。データは DuckLake 形式で公開されており、計算はすべて手元の DuckDB で行われます。

インストール

uvx queria list          # インストール不要で実行
pip install queria       # または通常インストール

Python 3.10+ が必要です。

Related MCP server: estat-mcp

使い方

queria list                              # データセット一覧
queria search 人口                        # データセット・テーブル・カラムの横断検索
queria info e_stat                       # メタデータ(ライセンス・出典など)
queria schema e_stat                     # テーブル一覧
queria columns e_stat mart_population    # カラム一覧
queria summarize zipcode.main.zipcodes   # カラム統計(全件スキャン)
queria sql "SELECT * FROM zipcode.main.zipcodes LIMIT 10"
queria sql "SELECT * FROM zipcode.main.zipcodes" --out zipcodes.parquet

テーブルは <dataset>.<schema>.<table> で参照します。参照したデータセットは自動的に ATTACH されます。

API トークン

トークンなしでも使えますが、レートリミットがあります。https://queria.io/profile/api-keys で発行したトークンを登録すると上限が上がります:

queria auth set-token <token>   # ~/.config/queria/config.toml に保存
queria auth status              # 確認

--token オプションや環境変数 QUERIA_TOKEN でも指定できます(この順で優先)。

Python API

import queria

with queria.connect() as conn:
    conn.sql("SELECT * FROM catalog.main.mart_datasets").show()

MCP サーバー

Claude Code / Claude Desktop / Cursor などの MCP クライアントから使えます:

{
  "mcpServers": {
    "queria": {
      "command": "uvx",
      "args": ["--from", "queria[mcp]", "queria", "mcp"]
    }
  }
}

ドキュメント

https://docs.queria.io/

License

MIT

A
license - permissive license
-
quality - not tested
A
maintenance

Maintenance

Maintainers
Response time
0dRelease cycle
15Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    D
    maintenance
    MCP server for Japan's e-Stat (Government Statistics Portal). Search statistical datasets, retrieve data tables, and access metadata from official Japanese government statistics.
    Last updated
    8
    Apache 2.0

View all related MCP servers

Related MCP Connectors

  • data.overheid.nl MCP — the Netherlands national open-data portal (CKAN API).

  • Remote MCP for Japan's EDINET DB — 3,800 listed companies' financials & filings (OAuth)

  • Read-only MCP server for searching Japan government procurement bid information from the KKJ portal.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/queria-io/queria-cli'

If you have feedback or need assistance with the MCP directory API, please join our Discord server