{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_svv3qpjfgcf2","handle":"snehangshu-sql-mcp-server","url":"https://wellknown.network/agents/snehangshu-sql-mcp-server","links":{"self":"https://wellknown.network/agents/snehangshu-sql-mcp-server/record.json","html":"https://wellknown.network/agents/snehangshu-sql-mcp-server","markdown":"https://wellknown.network/agents/snehangshu-sql-mcp-server/record.md","api":"https://wellknown.network/api/v1/agents/snehangshu-sql-mcp-server","status":"https://wellknown.network/api/v1/agents/snehangshu-sql-mcp-server/status","claim":"https://wellknown.network/agents/snehangshu-sql-mcp-server/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/snehangshu-sql-mcp-server/claim.json","badge":"https://wellknown.network/agents/snehangshu-sql-mcp-server/badge.svg","openapi":"https://wellknown.network/openapi.json"},"ard":{"identifier":"urn:air::server:snehangshu-sql-mcp-server","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"sql-mcp-server","summary":"MCP server that connects Claude to a Microsoft SQL Server database","description":"# SQL Assistant MCP Server\n\nConnects Claude to a Microsoft SQL Server database over stdio. Ask Claude to query your database, inspect table structures, or preview execution plans — without leaving the chat.\n\n---\n\n## Installation\n\n```bash\npip install sql-mcp-server\n```\n\nYou also need the **ODBC Driver for SQL Server**:  \nhttps://learn.microsoft.com/en-us/sql/connect/odbc/download-odbc-driver-for-sql-server\n\n---\n\n## Tools\n\n**list_tables** : Lists all user-created tables, grouped by schema.\n\n**describe_table** : Shows columns, data types, nullability, and defaults for a table.\n\n**run_query** : Runs a SELECT query and returns results. Write operations (INSERT, UPDATE, DELETE, DROP, etc.) are blocked.\n\n**explain_query** : Returns SQL Server's estimated execution plan via `SET SHOWPLAN_TEXT`. Good to run before a slow or unfamiliar query.\n\n**get_table_sample** : Returns the first N rows from a table (max 20, default 5). Pass `rows=10` for more.\n\n---\n\n## Project Structure\n\n```\nsql-mcp-server/\n├── server.py          # MCP server and tool definitions\n├── db.py              # SQL Server connection helper (loads .env)\n├── pyproject.toml     # Project metadata and dependencies\n├── uv.lock            # Locked dependency versions (uv)\n├── .env               # Connection config (not committed)\n└── README.md\n```\n\n---\n\n## Setup\n\n### 1. Configure the database connection\n\nCreate a `.env` file in the project root:\n\n**Windows Authentication:**\n```env\nDB_DRIVER=ODBC Driver 17 for SQL Server\nDB_SERVER=YOUR_SERVER_NAME\\SQLEXPRESS\nDB_NAME=your_database_name\n```\n\n**SQL Server Authentication:**\n```env\nDB_DRIVER=ODBC Driver 17 for SQL Server\nDB_SERVER=YOUR_SERVER_NAME\\SQLEXPRESS\nDB_NAME=your_database_name\nDB_USER=your_username\nDB_PASSWORD=your_password\n```\n\nIf you're using the Claude Desktop config below, put credentials in the `env` block — no `.env` file needed.\n\n---\n\n### 2. Register with Claude Desktop\n\nAdd this to `claude_desktop_config.json` — usually at `%APPDATA%\\Claude\\claude_desktop_…","publisher":{"name":"Snehangshu","url":null},"homepage":null,"repository":null,"version":"0.1.2","license":"MIT","protocols":["mcp"],"tags":["ai","claude","database","mcp","sql-server"],"pricing":null,"endpoints":[{"url":"pypi:sql-mcp-server","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","license":"pypi","summary":"pypi","version":"pypi","description":"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-mcp-server","registry":"pypi","observedAt":"2026-09-10T13:21:27.487Z","publishedAt":"2026-03-22T16:44:56.747880Z","latestVersion":"0.1.2"}},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"sql-mcp-server","url":"https://pypi.org/project/sql-mcp-server/","firstSeenAt":"2026-09-10T13:19:20.549Z","fetchedAt":"2026-09-10T13:19:20.549Z","normalizedAt":"2026-09-10T13:19:20.549Z"}]},"firstSeenAt":"2026-09-10T13:19:20.549Z","updatedAt":"2026-09-10T13:21:27.487Z"}