{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_fjgk82mn6tqr","handle":"sqlnow-mcp","url":"https://wellknown.network/agents/sqlnow-mcp","links":{"self":"https://wellknown.network/agents/sqlnow-mcp/record.json","html":"https://wellknown.network/agents/sqlnow-mcp","markdown":"https://wellknown.network/agents/sqlnow-mcp/record.md","api":"https://wellknown.network/api/v1/agents/sqlnow-mcp","status":"https://wellknown.network/api/v1/agents/sqlnow-mcp/status","claim":"https://wellknown.network/agents/sqlnow-mcp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/sqlnow-mcp/claim.json","badge":"https://wellknown.network/agents/sqlnow-mcp/badge.svg","openapi":"https://wellknown.network/openapi.json"},"ard":{"identifier":"urn:air::server:sqlnow-mcp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"sqlnow-mcp","summary":"MCP server for DuckDB with interactive table viewer","description":"# sqlnow-mcp\n\nAn MCP server for DuckDB with an interactive table viewer. Point it at a data directory, attach files or external databases, and explore data through an LLM host such as Cursor or Claude Desktop. Query results from `run_query`, `sample_table`, and `value_counts` render as a scrollable grid inside the host via [MCP Apps](https://modelcontextprotocol.io/). Use `run_query_json` for small SELECT results the model needs as JSON (aggregations, counts, spot checks) — not for large exports.\n\n## Requirements\n\n- Python 3.11+\n- [uv](https://docs.astral.sh/uv/) (recommended) or pip\n- Node.js 18+ (only if you need to rebuild the table UI)\n\n## Install\n\nFrom a clone of this repo:\n\n```bash\nuv sync\n```\n\nOr run without installing globally:\n\n```bash\nuvx sqlnow-mcp --mode local --data-dir ~/mydata\n```\n\n## MCP server\n\nTwo modes are available:\n\n- **local** — read/write; point at a data directory, switch databases, attach files and external connections.\n- **publish** — read-only; single database with curated `metadata.yaml` (and optional `stats.json`) for sharing a branded dataset.\n\nTransport (`stdio`, HTTP) works the same in both modes.\n\n### Local mode\n\n```bash\nsqlnow-mcp --mode local --data-dir ~/mydata\n```\n\n`--data-dir` is the working directory for `.db` files and attachable data. Session state (active database, attached sources) persists for the lifetime of the server process.\n\n### Publish mode\n\n```bash\nsqlnow-mcp --mode publish \\\n  --db ~/datasets/gemlive.db \\\n  --metadata ~/datasets/metadata.yaml \\\n  --stats ~/datasets/stats.json\n```\n\n`--stats` is optional. The server name and instructions come from metadata (`short_name`, `welcome`, `example_questions`, etc.). Queries are SELECT-only with a default 10s timeout, 50% memory limit, and 1 DuckDB thread (all overridable).\n\n**stdio (Claude Desktop):**\n\n```json\n{\n  \"mcpServers\": {\n    \"gem-data\": {\n      \"command\": \"uvx\",\n      \"args\": [\n        \"sqlnow-mcp\", \"--mode\", \"publish\",\n        \"--db\", \"/path/to/gemlive.db\",\n     …","publisher":{"name":"David Raznick","url":null},"homepage":"https://github.com/kindly/sqlnow-mcp","repository":"https://github.com/kindly/sqlnow-mcp","version":"0.3.0","license":null,"protocols":["mcp"],"tags":["mcp","duckdb","sql","llm","claude","cursor"],"pricing":null,"endpoints":[{"url":"pypi:sqlnow-mcp","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","repoUrl":"pypi","summary":"pypi","version":"pypi","description":"pypi","homepageUrl":"pypi","publisherName":"pypi"}},"derived":{"capabilities":[{"slug":"data.database","name":"Databases","confidence":1,"provenance":"declared"},{"slug":"dev.filesystem","name":"Filesystem","confidence":0.802,"provenance":"derived"}],"categories":["data","dev"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"sqlnow-mcp","registry":"pypi","observedAt":"2026-09-10T13:21:27.561Z","publishedAt":"2026-06-09T23:52:42.180558Z","latestVersion":"0.3.0"}},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"sqlnow-mcp","url":"https://pypi.org/project/sqlnow-mcp/","firstSeenAt":"2026-09-10T13:19:20.789Z","fetchedAt":"2026-09-10T13:19:20.789Z","normalizedAt":"2026-09-10T13:19:20.789Z"}]},"firstSeenAt":"2026-09-10T13:19:20.789Z","updatedAt":"2026-09-10T13:21:27.561Z"}