Skip to main content
Glama
glen-wasm

glen-wasm

Official
by SchmidtDSE

geo-query-wasm

geo-query-wasm is geo-query's MCP server running entirely in the browser. DuckDB-wasm runs in a Web Worker, and the worker serves geo-query's tools and prompt over postMessage instead of HTTP. A client that works with geo-query works with it unchanged: the tool names, arguments, descriptions and output follow geo-query's, and the model-facing guidance is geo-query's own, fetched at a pinned commit. No server is involved. The worker is a set of static files, the data are public files on source.coop and NRP, and the user's questions go only to the language model endpoint the client uses.

Architecture

page: any MCP client with its own catalog tool (the demo uses glen-harness,
      and answers browse_stac_catalog and get_stac_details with src/stac.js)
        │  postMessage (MCP JSON-RPC)
        ▼
Web Worker (src/worker.js)
  MCP server (src/server.js): geo-query's tools and prompt
        │                      │
        │                      └── guidance ◀── geo-query at a pinned commit, from jsDelivr
        ▼
  engine (src/engine.js)
  DuckDB-wasm, one or more instances, each in its own worker
        ◀── parquet byte ranges ◀── source.coop, NRP S3

Related MCP server: MCP Analytics Server

Using it from an app

Load the files from jsDelivr at a release tag, https://cdn.jsdelivr.net/gh/SchmidtDSE/geo-query-wasm@v0.8.0/src/…, or serve a copy from the app's own origin. A page starts src/worker.js, configures it with JSON in the worker URL's config parameter, and connects any MCP client over postMessage. An app that writes its own SQL can import src/engine.js into the page instead.

The documentation covers each part:

The pages are written in docs/, and pnpm docs:dev serves them locally.

Checks

pnpm test runs the unit tests, and node scripts/e2e.mjs runs the demo page in headless Chrome against the live catalogs and data on source.coop. CI runs both on every push. Development lists what each checks.

License

Apache-2.0. See LICENSE and DISCLOSURE.md.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      A
      maintenance
      An MCP server that connects AI agents to cloud-native geospatial data via STAC metadata and DuckDB with H3 spatial indexing, enabling zero-configuration SQL queries on terabyte-scale datasets over S3.
      23
      BSD 3-Clause
    • A
      license
      A
      quality
      D
      maintenance
      Enables AI agents to discover and execute analytical queries on a DuckDB dataset through typed MCP tools, with guarded read-only SQL support for complex calculations without direct database access.
      6
      MIT
    • F
      license
      Not graded
      quality
      C
      maintenance
      Exposes a DuckDB-backed MCP server that lets an agent fetch a dataset's schema and run read-only SQL queries against it. All execution is filtered server-side, enforcing single-statement, read-only safety independent of the calling model's behavior.
      1
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables MCP clients like Claude Desktop, Claude Code and Cursor to safely explore local CSV, Excel, Parquet and SQLite files by running guarded read-only DuckDB SQL over a sandboxed data directory. It also supports data profiling, chart generation as image content, and exporting query results, without ever allowing writes or access outside the configured folder.
      MIT