{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_zr9juy45en3f","handle":"sql-performance-mcp","url":"https://wellknown.network/agents/sql-performance-mcp","links":{"self":"https://wellknown.network/agents/sql-performance-mcp/record.json","html":"https://wellknown.network/agents/sql-performance-mcp","markdown":"https://wellknown.network/agents/sql-performance-mcp/record.md","api":"https://wellknown.network/api/v1/agents/sql-performance-mcp","status":"https://wellknown.network/api/v1/agents/sql-performance-mcp/status","claim":"https://wellknown.network/agents/sql-performance-mcp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/sql-performance-mcp/claim.json","badge":"https://wellknown.network/agents/sql-performance-mcp/badge.svg","openapi":"https://wellknown.network/openapi.json"},"ard":{"identifier":"urn:air::server:sql-performance-mcp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"sql-performance-mcp","summary":"Multi-database SQL performance analysis MCP server","description":"# sql-performance-mcp \n \n[中文说明](README.zh-CN.md) \n \n[GitHub](https://github.com/shiro-4q/sql-performance-mcp) \n \nSQL performance analysis MCP server for MySQL, PostgreSQL, and SQL Server. \n \nThe workflow is: \n \n1. User provides a SQL statement. \n2. The model calls `get_execution_plan` to fetch the execution plan. \n3. The model calls `get_table_schema` to fetch table columns. \n4. The model calls `get_indexes` to fetch table indexes. \n5. The model uses the `analyze_performance` prompt to assemble the final analysis prompt. \n \n## Tools \n \n### `get_execution_plan` \n \nRuns the database-appropriate execution plan command for a single SQL statement. \n \nArguments: \n \n- `sql`: SQL statement to inspect. \n- `database`: optional database name. If omitted, the matching environment variable is used. \n- `database_type`: optional database type. Supported values are `mysql`, `postgresql`, and `sqlserver`. \n \n### `get_table_schema` \n \nReads column metadata from the database's catalog views. \n \nArguments: \n \n- `sql`: SQL statement to inspect. \n- `database`: optional database name. \n- `tables`: optional explicit table list, useful for complex SQL where table extraction is ambiguous. \n- `database_type`: optional database type. \n \n### `get_indexes` \n \nReads index metadata from the database's catalog views. \n \nArguments: \n \n- `sql`: SQL statement to inspect. \n- `database`: optional database name. \n- `tables`: optional explicit table list. \n- `database_type`: optional database type. \n \n### `analyze_performance` \n \nBuilds a database-specific performance analysis prompt from: \n \n- `sql` \n- `execution_plan` \n- `schema` \n- `indexes` \n \n## Configuration \n \nSet database connection settings with environment variables: \n \n```powershell \n$env:MYSQL_HOST = \"127.0.0.1\" \n$env:MYSQL_PORT = \"3306\" \n$env:MYSQL_USER = \"root\" \n$env:MYSQL_PASSWORD = \"password\" \n$env:MYSQL_DATABASE = \"app_db\" \n``` \n \nOptional: \n \n```powershell \n$env:MYSQL_CHARSET = \"utf8mb4\" \n$env:MYSQL_CONNECT_TIMEOUT = \"10\" \n``` \n \nPostgr…","publisher":null,"homepage":null,"repository":null,"version":"0.2.1","license":null,"protocols":["mcp"],"tags":["mcp"],"pricing":null,"endpoints":[{"url":"pypi:sql-performance-mcp","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","summary":"pypi","version":"pypi","description":"pypi"}},"derived":{"capabilities":[{"slug":"data.database","name":"Databases","confidence":1,"provenance":"derived"}],"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-performance-mcp","registry":"pypi","observedAt":"2026-09-10T13:21:27.628Z","publishedAt":"2026-05-11T09:21:02.871495Z","latestVersion":"0.2.1"}},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"sql-performance-mcp","url":"https://pypi.org/project/sql-performance-mcp/","firstSeenAt":"2026-09-10T13:19:21.031Z","fetchedAt":"2026-09-10T13:19:21.031Z","normalizedAt":"2026-09-10T13:19:21.031Z"}]},"firstSeenAt":"2026-09-10T13:19:21.031Z","updatedAt":"2026-09-10T13:21:27.628Z"}