{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_vn4jmmvg5kwk","handle":"sql-explorer-mcp","url":"https://wellknown.network/agents/sql-explorer-mcp","links":{"self":"https://wellknown.network/agents/sql-explorer-mcp/record.json","html":"https://wellknown.network/agents/sql-explorer-mcp","markdown":"https://wellknown.network/agents/sql-explorer-mcp/record.md","api":"https://wellknown.network/api/v1/agents/sql-explorer-mcp","status":"https://wellknown.network/api/v1/agents/sql-explorer-mcp/status","claim":"https://wellknown.network/agents/sql-explorer-mcp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/sql-explorer-mcp/claim.json","badge":"https://wellknown.network/agents/sql-explorer-mcp/badge.svg","openapi":"https://wellknown.network/openapi.json"},"ard":{"identifier":"urn:air::server:sql-explorer-mcp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"sql-explorer-mcp","summary":"Read-only Model Context Protocol server for SQL databases. Lets LLMs (Claude, Cursor, ChatGPT, Continue) introspect and query SQL Server, Postgres, and SQLite with multi-layer safety guards including sql-sop linting.","description":"# sql-explorer-mcp\n\n[![PyPI](https://img.shields.io/pypi/v/sql-explorer-mcp)](https://pypi.org/project/sql-explorer-mcp/)\n[![Python](https://img.shields.io/pypi/pyversions/sql-explorer-mcp)](https://pypi.org/project/sql-explorer-mcp/)\n[![License](https://img.shields.io/badge/license-MIT-blue)](LICENSE)\n\nRead-only Model Context Protocol server for SQL databases. Lets LLMs (Claude, Cursor, ChatGPT, Continue) introspect and query **SQL Server, Postgres, and SQLite** with three layers of safety:\n\n1. **Connection-level read-only** — `pyodbc readonly=True`, Postgres `SET TRANSACTION READ ONLY`\n2. **AST validation** — sqlglot parses every query and rejects anything that isn't a `SELECT` (catches DML smuggled in CTEs)\n3. **Linter pass** — [sql-sop](https://pypi.org/project/sql-sop/) checks every query and rejects error-severity findings; warnings are surfaced to the LLM as advisory output\n\nMulti-server: configure several databases in one `servers.yaml`, the LLM picks which one to target per call.\n\n## Tools exposed to the LLM\n\n| Tool | Purpose |\n|---|---|\n| `list_servers()` | Enumerate configured servers + their dialect |\n| `list_databases(server?)` | List databases on a server |\n| `list_tables(server?, database?, schema?)` | List tables, optionally filtered by schema |\n| `describe_table(table, server?, schema?)` | Columns, types, nullability, defaults |\n| `get_table_sample(table, n=10, server?, schema?)` | Quick `SELECT TOP n / LIMIT n` |\n| `run_query(sql, server?)` | Execute arbitrary SELECT — three-layer safety stack |\n| `explain_query(sql, server?)` | Return execution plan (engine-specific) |\n| `search_objects(query, server?)` | Find tables and columns by name fragment |\n\nAll tools accept an optional `server` to target a specific entry from `servers.yaml`. Default server is used when omitted.\n\n## Install\n\n```bash\npip install sql-explorer-mcp\n# or\npipx install sql-explorer-mcp\n```\n\nFor SQL Server, install [Microsoft ODBC Driver 18](https://learn.microsoft.com/en-us/sql/c…","publisher":{"name":"Pawan Singh Kapkoti","url":null},"homepage":"https://github.com/Pawansingh3889/sql-explorer-mcp","repository":"https://github.com/Pawansingh3889/sql-explorer-mcp","version":"0.1.0","license":null,"protocols":["mcp"],"tags":["claude","cursor","database-explorer","llm","mcp","model-context-protocol","mssql","postgres","read-only","sql","sql-linter","sql-server","sqlite"],"pricing":null,"endpoints":[{"url":"pypi:sql-explorer-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"}],"categories":["data"],"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":"sql-explorer-mcp","registry":"pypi","observedAt":"2026-09-10T13:21:26.937Z","publishedAt":"2026-05-02T23:30:59.855894Z","latestVersion":"0.1.0"}},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"sql-explorer-mcp","url":"https://pypi.org/project/sql-explorer-mcp/","firstSeenAt":"2026-09-10T13:19:19.075Z","fetchedAt":"2026-09-10T13:19:19.075Z","normalizedAt":"2026-09-10T13:19:19.075Z"}]},"firstSeenAt":"2026-09-10T13:19:19.075Z","updatedAt":"2026-09-10T13:21:26.937Z"}