Command Palette

Search for a command to run...

Весь каталог
MCP-сервер № 20823

questdb/mcp-server-questdb

Drive the QuestDB Web Console: notebook cells, SQL queries and charts on live time-series data.

Бесплатно
GitHubEmbed

Установка questdb/mcp-server-questdb

Сборка из исходников

У сервера нет опубликованного npm/PyPI-пакета — склонируй репозиторий и собери по его README, затем добавь получившуюся команду в свой клиент.

Открыть репозиторий
github.com/questdb/mcp-server-questdb

Описание

Drive the QuestDB Web Console: notebook cells, SQL queries and charts on live time-series data.

README

An MCP server that connects coding agents (Claude Code, Codex, Cursor, OpenCode, Gemini CLI) to a running QuestDB Web Console. The agent gets tools to create notebook cells, run queries, and build charts. Every action executes in the browser against your already-established QuestDB session.

Setup

Quick setup (recommended)

The interactive wizard detects your installed coding agents and registers the QuestDB MCP server with each one:

npx @questdb/mcp-server-questdb setup

It walks you through two steps:

  1. Pick agents: multi-select from the ones it detects (Claude Code, Codex, Cursor, OpenCode, Gemini CLI).
  2. Review settings: optionally set CONSOLE_ORIGIN and MCP_BRIDGE_PORT; press Enter to keep the defaults.

The wizard pins each agent's config to the MCP server version that ran it. Your QuestDB Web Console expects a specific MCP server version. If you're on an older console, run the matching version: npx @questdb/mcp-server-questdb@<version> setup. The config it writes will launch that same version. (When unsure, pair first; on a version mismatch the agent is told which version to switch to.) For versions earlier than 0.3.0, use the former package name instead: npx @questdb/mcp-bridge@<version> setup.

Manual setup

Or add it to your MCP client's config by hand (e.g. ~/.claude/.mcp.json):

{
  "mcpServers": {
    "questdb": {
      "command": "npx",
      "args": ["-y", "@questdb/mcp-server-questdb"]
    }
  }
}

Offline / restricted install (no npx)

Environments that can't run npx (no npm registry access, vet-then-vendor policies) can use the standalone bundle attached to each supported version's GitHub Release: a single self-contained .mjs file needing only Node ≥ 22, making no network connections except the local WebSocket to your Web Console.

Standalone bundles are available starting with MCP server version 0.4.0. All supported QuestDB Web Console versions request MCP server version 0.4.0 or later.

Download the bundle (mcp-server-questdb-<version>.mjs) and THIRD_PARTY_NOTICES.txt from the release, then move the bundle to a permanent location before setup—do not configure it from a downloads or temporary directory—and invoke that exact path:

node /permanent/absolute/path/mcp-server-questdb-<version>.mjs setup

Setup writes agent configs that launch the bundle file directly (no npx involved), so moving or deleting that exact path will prevent the MCP server from starting. To switch versions, put the matching bundle beside the current one and run node /permanent/absolute/path/mcp-server-questdb-<new-version>.mjs upgrade; it re-points your agent configs at the new file while keeping env settings. If a configured file was already moved, run upgrade from its new absolute path. setup and upgrade always write the install style of the binary you run: a bundle writes file-path configs; npx writes npx configs.

Environment variables

Label Value Default Value Description
CONSOLE_ORIGIN origin URL selected during pairing QuestDB Web Console origin. 127.0.0.1 and localhost are interchangeable.
MCP_BRIDGE_PORT 1–65535 auto-allocated Sets a fixed port for the MCP server. It binds the port on the first pairing attempt. If the port is taken, pairing returns a bridge_bind_failed error.
LOG_PATH file path /tmp/questdb-mcp-bridge/<ISO-ts>-<pid>.log Override the log file location.
LOG_LEVEL ERROR / WARN / INFO / DEBUG INFO DEBUG adds heartbeats and full tool payloads.

Commands

Your MCP client runs the MCP server for you via the config above, so you rarely invoke it by hand. When you do:

Command Description
npx @questdb/mcp-server-questdb (no args) Start the MCP server — same as start.
npx @questdb/mcp-server-questdb start Start the MCP server.
npx @questdb/mcp-server-questdb setup Configure the MCP server for your coding agents.
npx @questdb/mcp-server-questdb --version Print the version and exit. Alias: -v.
npx @questdb/mcp-server-questdb --help Print this help and exit. Alias: -h.

An unknown command exits non-zero with a short error. Pin a version with npx @questdb/[email protected] start. (Installed on your PATH, the executable is named mcp-server-questdb.)

Pairing

Before any notebook / chart / SQL tool works, your browser has to pair with the MCP server. If you set CONSOLE_ORIGIN, it uses that URL. Otherwise, include your Web Console URL in your request or the agent will ask for it. The selected origin applies for the lifetime of the MCP server process.

When the agent needs to pair, it calls get_pairing_credentials and shows you both:

  • A one-click deep link — open it in the tab showing your Web Console.
  • A WebSocket URL + token — paste into the MCP pill at the bottom of the Web Console if the deep link doesn't land in the right tab.

Either path lands you on a consent prompt. Accept it and the agent's next tool call goes through.

Each MCP server run generates a fresh port and pairing token, held only in memory. On restart the old credentials stop working — the agent will surface new ones the next time it needs to pair.

Logs

The MCP server writes to stderr and to a log file. Tail the newest:

tail -F "$(ls -t /tmp/questdb-mcp-bridge/*.log | head -1)"

At default INFO:

2026-05-15T12:29:27.142Z [INFO] tool_call: run_query
2026-05-15T12:29:27.318Z [INFO] tool_result: run_query ok
2026-05-15T12:29:28.011Z [ERROR] tool_result: update_cell internal_error timeout after 15000ms

At DEBUG (full payloads as continuation lines):

2026-05-15T12:29:27.142Z [INFO] tool_call: run_query
2026-05-15T12:29:27.142Z [DEBUG]   args: {"query":"SELECT count() FROM trades"}
2026-05-15T12:29:27.318Z [INFO] tool_result: run_query ok
2026-05-15T12:29:27.318Z [DEBUG]   content: [{"type":"text","text":"..."}]

ChatGPT Desktop plugin

Run yarn install --immutable and yarn package:chatgpt to create out/questdb-chatgpt-<version>.zip (requires Node.js 22+, Yarn, and Python 3). The ChatGPT plugin caps logging at INFO, including when LOG_LEVEL=DEBUG. The ZIP includes the local stdio server and its dependencies. ChatGPT Desktop launches it with node on the user's PATH. You can supply your Web Console URL in chat when pairing. See the plugin privacy policy.

License

Apache-2.0.

from github.com/questdb/mcp-server-questdb

FAQ

questdb/mcp-server-questdb MCP бесплатный?

Да, questdb/mcp-server-questdb MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для questdb/mcp-server-questdb?

Нет, questdb/mcp-server-questdb работает без API-ключей и переменных окружения.

questdb/mcp-server-questdb — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить questdb/mcp-server-questdb в Claude Desktop, Claude Code или Cursor?

Открой questdb/mcp-server-questdb на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

№ 56430

Postgres

AnthropicAnthropic

Query your database in natural language

postgressqldatabase
Установить
№ 72083

wenb1n-dev/SmartDB_MCP

wenb1n-devwenb1n-dev

Connect to multiple databases at once (MySQL, PostgreSQL, SQL Server, MariaDB, Dameng, Oracle) for operations, health analysis and SQL optimization.

wenb1ndevsmartdb
Установить
№ 08825

Postgres Server

madhurprashmadhurprash

This server enables interaction with PostgreSQL databases through the Model Context Protocol, optimized for the AWS Bedrock AgentCore Runtime. It provides tools

Установить
№ 29587

PostgreSQL

modelcontextprotocolmodelcontextprotocol

Read-only database access with schema inspection.

postgresqlarchived
ПровереноУстановить
№ 12820

Redis

modelcontextprotocolmodelcontextprotocol

Interact with Redis key-value stores.

redisarchived
ПровереноУстановить
№ 75813

SQLite

modelcontextprotocolmodelcontextprotocol

Database interaction and business intelligence capabilities.

sqlitearchived
ПровереноУстановить
№ 51499

mxcp

raw-labsraw-labs

Open-source framework for building enterprise-grade MCP servers using just YAML, SQL, and Python, with built-in auth, monitoring, ETL and policy enforcement.

mxcpforservers
ПровереноУстановить
№ 93433

julien040/anyquery

julien040julien040

Query apps with SQL from a single local-first binary; also connects to PostgreSQL, MySQL and SQLite-compatible databases.

julien040anyqueryname
Установить
№ 67869

drakonkat/wizzy-mcp-tmdb

drakonkatdrakonkat

Search and retrieve movie, TV show and person information from The Movie Database (TMDB) API.

drakonkatwizzymcp
Установить
№ 89447

longevity-genie/opengenes-mcp

longevity-genielongevity-genie

Query the OpenGenes database for aging and longevity research.

longevitygenieopengenes
Установить

Сравнить questdb/mcp-server-questdb с

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории data