loading…
Search for a command to run...
loading…
Connect any AI to PostgreSQL, MySQL, or SQL Server — 24 dialect-aware tools for query, schema, optimization, and more.
Connect any AI to PostgreSQL, MySQL, or SQL Server — 24 dialect-aware tools for query, schema, optimization, and more.
The only MCP database server for PostgreSQL, MySQL, and SQL Server in one session — 23 dialect-aware tools across 4 tiers, from schema introspection to cross-database compare, query firewall, PII scanning, and N+1 detection. Read-only by design.
npm version License: MIT smithery badge
ThinAir Data is a Model Context Protocol (MCP) server that gives AI agents secure, read-only access to your databases — no custom backend required. Three independent enforcement layers (SQL guard, session READ ONLY, optional per-connection custom firewall) reject INSERT / UPDATE / DELETE / DROP / ALTER before they hit your DB. Safe to point any agent at production.
SELECT TOP 10 (mssql) vs LIMIT (others) and routes syntax correctly per connection.add_connection tool after sign-in. Never an env var or install-time config.| Tool | Tier | Description |
|---|---|---|
list_connections |
discover | List connected databases with names + dialects |
describe_schema |
discover | Get schema, columns, indexes, FKs across any connection |
query_sql |
discover | Execute a parameterized read-only SQL query |
query_history |
build | Recent queries with timing, row counts, status |
data_profile |
build | Distributions, null rates, cardinality on a table |
cross_db_query |
architect | Run the same query across 2–4 connections (regional/dialect compare) |
detect_anomalies |
architect | Statistical outliers in row growth, latency, value distributions |
pii_scan |
architect | Scan a table for PII patterns (SSN, email, phone, credit card) |
find_n_plus_one |
architect | Identify N+1 query patterns in query_history |
query_firewall |
architect | Per-connection custom-block rules (deny specific tables/queries) |
add_connection, query_optimize, explain_query, suggest_queries, generate_migration, watch_table, saved_queries, impact_analysis, and others round out the 23-tool surface.
Add to your client's MCP config (e.g. ~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"thinair-data": {
"url": "https://data.thinair.co/mcp"
}
}
}
The OAuth flow completes at first use — no manual token setup required. After sign-in, your agent calls add_connection to register a database with its DSN — connections are tenant-scoped and reusable across sessions.
{
"mcpServers": {
"thinair-data": {
"url": "https://data.thinair.co/mcp",
"headers": {
"Authorization": "Bearer ta_live_..."
}
}
}
}
Get a key at https://data.thinair.co/connect.
npx -y @thinairtelematics/data
Prints a config block to stdout. OAuth-keyless by default.
Database connections are added at runtime via the add_connection MCP tool — pass the DSN once, the connection becomes a named resource the agent can reuse across sessions. Three dialects supported:
| Database | Connection string format |
|---|---|
| PostgreSQL | postgresql://user:pass@host:5432/db |
| MySQL | mysql://user:pass@host:3306/db |
| SQL Server | sqlserver://user:pass@host:1433/db |
You do not put a DSN in your client's config. The add_connection tool is how connections enter the session.
Once connected, ask your AI:
npmjs.com/package/@thinairtelematics/data
Previously published as
thinair-data(now deprecated in favor of the scoped package).
MIT © ThinAir Telematics
Run in your terminal:
claude mcp add thinair-data -- npx Yes, ThinAir Data MCP is free — one-click install via Unyly at no cost.
No, ThinAir Data runs without API keys or environment variables.
Self-hosted: the server runs locally on your machine via the install command above.
Open ThinAir Data on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
CSA PROJECT - FZCO © 2026 IFZA Business Park, DDP, Premises Number 31174 - 001
Security
Low riskAutomated heuristic from public metadata — not a security guarantee.