@haybarn/ext-duckdb_mcp-h1-5-4
v202606.7.201146
Published
Model Context Protocol (MCP) extension for DuckDB that enables seamless integration between SQL databases and MCP servers. Provides both client capabilities for accessing remote MCP resources via SQL and server capabilities for exposing database content a
Maintainers
Readme
Haybarn extension: duckdb_mcp
Model Context Protocol (MCP) extension for DuckDB that enables seamless integration between SQL databases and MCP servers. Provides both client capabilities for accessing remote MCP resources via SQL and server capabilities for exposing database content as MCP resources.
Source: https://github.com/teaguesterling/duckdb_mcp
Catalog: Haybarn community extensions
Install
npm install @haybarn/ext-duckdb_mcp-h1-5-4
# or use the exact version:
npm install @haybarn/[email protected]npm picks the matching platform binary from the leaves below via its os / cpu / libc fields. No postinstall scripts, no network calls after npm install.
Available platforms (this version)
Installed automatically by npm install @haybarn/ext-duckdb_mcp-h1-5-4 (npm picks the one matching your os/cpu/libc):
@haybarn/ext-duckdb_mcp-h1-5-4-win32-x64@haybarn/ext-duckdb_mcp-h1-5-4-linux-x64@haybarn/ext-duckdb_mcp-h1-5-4-darwin-arm64@haybarn/ext-duckdb_mcp-h1-5-4-darwin-x64@haybarn/ext-duckdb_mcp-h1-5-4-linux-arm64
WebAssembly (duckdb-wasm)
Also built for duckdb-wasm. These are not installed by the meta above (npm has no wasm os/cpu to match) — install the variant matching your duckdb-wasm bundle (mvp / eh / threads) and point duckdb-wasm at the bundled asset:
@haybarn/ext-duckdb_mcp-h1-5-4-wasm-mvp@haybarn/ext-duckdb_mcp-h1-5-4-wasm-eh@haybarn/ext-duckdb_mcp-h1-5-4-wasm-threads
npm install @haybarn/ext-duckdb_mcp-h1-5-4-wasm-mvpimport extUrl from '@haybarn/ext-duckdb_mcp-h1-5-4-wasm-mvp/bin/duckdb_mcp.duckdb_extension.wasm?url';
await conn.query(`INSTALL duckdb_mcp FROM '${extUrl}'`);
await conn.query(`LOAD duckdb_mcp`);Use it
Once installed, the .duckdb_extension binary lands in your project's node_modules/ tree under the matching leaf. The Haybarn engine auto-discovers it at startup; from a Haybarn SQL session:
LOAD duckdb_mcp;License
The duckdb_mcp extension is distributed under MIT. The Haybarn engine itself is MIT-licensed.
Trademark
Haybarn is an independent derived distribution of DuckDB published by Query Farm LLC. Not affiliated with or endorsed by the DuckDB Foundation. DuckDB is a trademark of the DuckDB Foundation.
