{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_t3d75cgtu5a6","handle":"sqlmesh-mcp","url":"https://wellknown.network/agents/sqlmesh-mcp","links":{"self":"https://wellknown.network/agents/sqlmesh-mcp/record.json","html":"https://wellknown.network/agents/sqlmesh-mcp","markdown":"https://wellknown.network/agents/sqlmesh-mcp/record.md","api":"https://wellknown.network/api/v1/agents/sqlmesh-mcp","status":"https://wellknown.network/api/v1/agents/sqlmesh-mcp/status","claim":"https://wellknown.network/agents/sqlmesh-mcp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/sqlmesh-mcp/claim.json","badge":"https://wellknown.network/agents/sqlmesh-mcp/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/sqlmesh-mcp/history","tools":"https://wellknown.network/api/v1/agents/sqlmesh-mcp/tools"},"ard":{"identifier":"urn:air::server:sqlmesh-mcp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"sqlmesh-mcp","summary":"MCP server exposing a SQLMesh project (models, plans, column-level lineage, audits) to LLM agents","description":"# sqlmesh-mcp\n\n[![CI](https://github.com/Zain-ul-Abdin45/sqlmesh-mcp/actions/workflows/ci.yml/badge.svg)](https://github.com/Zain-ul-Abdin45/sqlmesh-mcp/actions/workflows/ci.yml)\n[![PyPI](https://img.shields.io/pypi/v/sqlmesh-mcp.svg)](https://pypi.org/project/sqlmesh-mcp/)\n[![Python](https://img.shields.io/pypi/pyversions/sqlmesh-mcp.svg)](https://pypi.org/project/sqlmesh-mcp/)\n[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)\n\nMCP server exposing a [SQLMesh](https://github.com/SQLMesh/sqlmesh) project to LLM agents: model metadata, bounded data previews, plan previews, column-level lineage, audits/tests, environment diffs, resources, and reusable prompts.\n\nNot officially affiliated with SQLMesh or Tobiko Data.\n\n## Why\n\nSQLMesh's standout feature is column-level lineage, which is exactly the kind of question an agent is good at answering interactively (\"where does `revenue` in `finance.daily_summary` come from?\") that a CLI isn't. As of writing, the only prior MCP server for SQLMesh ([`sherman94062/sqlmesh-mcp`](https://github.com/sherman94062/sqlmesh-mcp)) is a small unmaintained side project — this one aims to be documented, tested, and kept current with SQLMesh's API.\n\n## Install\n\n```bash\npip install sqlmesh-mcp\n```\n\n## Usage\n\nPoint it at a SQLMesh project directory:\n\n```json\n{\n  \"mcpServers\": {\n    \"sqlmesh\": {\n      \"command\": \"sqlmesh-mcp\",\n      \"env\": { \"SQLMESH_PROJECT_PATH\": \"/path/to/your/sqlmesh/project\" }\n    }\n  }\n}\n```\n\n## Example\n\nCalling `list_models` against [`examples/demo_project`](examples/demo_project) (a stock `sqlmesh init duckdb` project) returns:\n\n```json\n[\n  {\n    \"name\": \"sqlmesh_example.full_model\",\n    \"kind\": \"FULL\",\n    \"description\": null,\n    \"owner\": null,\n    \"tags\": [],\n    \"columns\": { \"item_id\": \"INT\", \"num_orders\": \"BIGINT\" }\n  },\n  {\n    \"name\": \"sqlmesh_example.incremental_model\",\n    \"kind\": \"INCREMENTAL_BY_TIME_RANGE\",\n    \"description\": null,\n    \"owner\": null,\n    \"tags\": [],\n    \"columns\": …","publisher":{"name":"Zain Ul Abdin","url":null},"homepage":"https://github.com/Zain-ul-Abdin45/sqlmesh-mcp","repository":"https://github.com/Zain-ul-Abdin45/sqlmesh-mcp","version":"0.3.0","license":null,"protocols":["mcp"],"tags":["agent","data-engineering","llm","mcp","sqlmesh"],"pricing":null,"endpoints":[{"url":"pypi:sqlmesh-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":"content.writing","name":"Writing & Editing","confidence":0.802,"provenance":"derived"}],"categories":["content"],"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":"sqlmesh-mcp","registry":"pypi","observedAt":"2026-11-05T22:26:32.906Z","publishedAt":"2026-10-19T11:50:25.050869Z","latestVersion":"0.3.0"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"sqlmesh-mcp","url":"https://pypi.org/project/sqlmesh-mcp/","firstSeenAt":"2026-09-18T08:26:49.432Z","fetchedAt":"2026-11-05T22:25:40.108Z","normalizedAt":"2026-11-05T22:25:40.108Z"}]},"firstSeenAt":"2026-09-18T08:26:49.432Z","updatedAt":"2026-11-05T22:26:32.906Z"}