ThinAir Data
OfficialThinAir Data MCP 서버
MCP를 통해 60초 만에 AI 어시스턴트를 모든 PostgreSQL, MySQL 또는 SQL Server 데이터베이스에 연결하세요.
기능
ThinAir Data는 AI 에이전트에게 데이터베이스에 대한 안전한 읽기/쓰기 액세스 권한을 제공하는 Model Context Protocol (MCP) 서버입니다. 별도의 커스텀 백엔드가 필요하지 않습니다.
멀티 데이터베이스 — PostgreSQL, MySQL, SQL Server 지원
보안 — OAuth 2.1 + API 키 인증, 쿼리 샌드박싱
빠른 속도 — 연결 풀링을 통한 저지연 엣지 인프라
AI 준비 완료 — 스키마 인트로스펙션, 자연어-SQL 변환
Related MCP server: ThinAir Geo
제품 링크
데이터베이스 연결: https://data.thinair.co/connect
도구
도구 | 설명 |
| SQL 쿼리를 실행하고 결과를 반환 |
| 데이터베이스의 모든 테이블 나열 |
| 테이블의 스키마 및 열 세부 정보 가져오기 |
| 사용 가능한 데이터베이스/스키마 나열 |
| INSERT, UPDATE, DELETE 문 실행 |
빠른 시작
Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json에 추가하세요:
{
"mcpServers": {
"thinair-data": {
"command": "npx",
"args": ["-y", "@thinairtelematics/data"],
"env": {
"THINAIR_API_KEY": "your-api-key",
"DATABASE_URL": "postgresql://user:pass@host:5432/dbname"
}
}
}
}Cursor / Windsurf / 기타 MCP 클라이언트
{
"mcpServers": {
"thinair-data": {
"command": "npx",
"args": ["-y", "@thinairtelematics/data"],
"env": {
"THINAIR_API_KEY": "your-api-key",
"DATABASE_URL": "postgresql://user:pass@host:5432/dbname"
}
}
}
}원격 / 스트리밍 HTTP
{
"mcpServers": {
"thinair-data": {
"type": "http",
"url": "https://data.thinair.co/mcp",
"headers": {
"Authorization": "Bearer your-api-key"
}
}
}
}지원되는 데이터베이스
데이터베이스 | 연결 문자열 형식 |
PostgreSQL |
|
MySQL |
|
SQL Server |
|
사용 예시
연결 후 AI에게 다음과 같이 질문해보세요:
"지난 24시간 동안 핑이 없었던 모든 차량을 보여줘"
"이번 달 주행 거리 기준 상위 10개 경로는 무엇인가?"
"우선순위별로 정렬된 모든 미해결 유지보수 티켓을 나열해줘"
"지역별로 활성 운전자가 몇 명인가?"
npm 패키지
npmjs.com/package/@thinairtelematics/data
이전에는
thinair-data로 게시되었으나, 현재는 스코프 패키지로 전환되어 더 이상 사용되지 않습니다.
라이선스
MIT © ThinAir Telematics
Available Tools
23 toolsanalyze_tableA
QUICK statistical snapshot for ONE table — row count, null rates, cardinality, numeric min/max/avg, date ranges. Optionally drill into a specific column. Use data_profile when the user wants a FULL quality report including PII detection.
cross_db_queryA
Run a federated query across multiple connections (different dialects). Returns a unified result set with per-source provenance. [ARCHITECT tier]
data_profileA
FULL data quality + compliance report for a table: per-column stats PLUS a 0-100 health score, type-gated PII detection (email / phone / SSN / etc.), and insight warnings. Use this when the user says 'profile' or 'quality report' or mentions PII/compliance. [BUILD tier]
describe_schemaB
Discover the full database schema: tables, columns, types, primary keys, foreign keys, and indexes. Results cached 1 hour. Call with refresh=true after schema changes.
detect_anomaliesA
Scan a table for unusual patterns: volume drops/spikes, data gaps, value concentration, high null rates, stale data. Severity-ranked alerts. Tables > 100k rows use a sampled path (~5%). Dialect-aware sampling.
explain_queryA
Analyze a SQL query's execution plan and return plain-English performance recommendations. Runs EXPLAIN ANALYZE (Postgres) or EXPLAIN FORMAT=JSON (MySQL). [BUILD tier]
find_n_plus_oneB
Detect N+1 query patterns from recent query history. Fingerprints queries and flags repeated patterns. [ARCHITECT tier]
generate_migrationA
Generate dialect-correct ALTER TABLE migration SQL + rollback from a plain-English intent. Output uses the connection's exact dialect. Never executes. [BUILD tier]
generate_seed_dataA
Generate realistic, schema-aware INSERT statements for development and testing. Respects types, constraints, and FK relationships. Never executes. [BUILD tier]
impact_analysisA
Analyze the blast radius of a proposed schema change: FK dependencies, affected views, row count, risk score. [ARCHITECT tier]
issue_api_keyA
Issue a fresh ta_data_* API key for your current tenant. Useful for pasting into /add-database or configuring a separate integration. Rate-limited to 5 issuances per tenant per day.
list_connectionsA
List every database connection registered for your tenant: name, id, dbType (postgres / mysql / mssql), createdAt. Flags duplicate names. Returns nothing sensitive (no DSN, no credentials).
optimize_queryA
Suggest a rewritten, optimized version of a SQL query with explanations. Identifies sequential scans, missing indexes, sort spills, join inefficiencies, and suggests index DDL. [BUILD tier]
pii_scanA
Sweep string columns across tables for common PII patterns (email, SSN, credit card, phone, JWT, bearer tokens). Heuristic-only — not a compliance guarantee. [BUILD tier]
query_firewallB
Manage per-connection SQL rules: block dangerous patterns, require WHERE on large tables, log PII access. [ARCHITECT tier]
query_historyB
Return recent queries executed through ThinAir with timing, row counts, and status. [BUILD tier]
query_sqlA
Execute a read-only SQL query against the target connection. ONLY SELECT / WITH / EXPLAIN permitted. Write dialect-appropriate SQL for the connection's engine — PostgreSQL syntax for postgres, T-SQL for mssql, MySQL for mysql. Response meta includes connection + dialect so you know which syntax worked. Default LIMIT 100 unless the user asks for all rows.
quotaA
Check current API usage, daily limit, plan name, and upgrade options.
saved_queriesB
Manage your personal library of reusable SELECT queries. action=save stores a query by name; action=run executes a saved query; action=list returns all your saved queries; action=delete removes one. [BUILD tier]
show_locksA
List active sessions + blocking locks. Uses the dialect's own system view: pg_stat_activity on postgres, information_schema.processlist on mysql, sys.dm_exec_requests joined with sys.dm_tran_locks on mssql. [BUILD tier]
suggest_queriesA
Generate schema-aware query suggestions with ready-to-run SQL. Great for exploring unfamiliar databases or finding useful queries.
test_connectionA
Ping a connection (SELECT 1) and return server version + latency. Fast way to confirm credentials and network path without running describe_schema.
watch_tableA
Monitor a table's row count and latest record. Compares to previous snapshot to show changes. Built-in scheduler. [ARCHITECT tier]
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 23 tools
Most tools have clearly distinct purposes (schema, querying, profiling, etc.), though analyze_table and data_profile overlap in table statistics, and explain_query with optimize_query both address performance. Descriptions effectively differentiate them, but ambiguity exists for a couple of pairs.
The majority of tool names follow a verb_noun pattern (analyze_table, describe_schema, etc.), but there are minor deviations like cross_db_query (adjective_noun) and quota (single noun). Overall pattern is consistent and readable.
At 23 tools, the set is on the heavier side for a data management server. While each tool serves a distinct purpose (schema, querying, profiling, security, migrations), the number is borderline and could feel bloated for simpler use cases.
The tool surface is highly comprehensive for a data observability/management server, covering schema discovery, query execution/optimization, profiling, PII scanning, anomaly detection, migrations, security, and admin tasks. No obvious gaps within the intended scope.
Maintenance
Related MCP Connectors
Query Postgres, MySQL, SQL Server, Oracle, BigQuery, ClickHouse and Redshift from your AI client.
Work with your database from AI tools: ask, export, approved changes, and scheduled jobs.
PostgreSQL, MySQL, and SQL Server in one session. 26 read-only MCP tools for AI agents.
Database intelligence, AST SQL injection auditing, query optimization & schema guards.
121
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables secure, AI-driven PostgreSQL database administration, observability, and querying with support for extensions like PostGIS and pgvector, connection pooling, and advanced tool filtering.108 npm12MIT

ThinAir Geoofficial
AlicenseAqualityBmaintenanceLocation & routing intelligence for AI agents — geocoding, truck routing, traffic, weather, and place search.1911 npm1MIT- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage, monitor, and optimize PostgreSQL databases with over 200 specialized tools for operations, security, performance tuning, and diagnostics.12MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to connect to and interact with PostgreSQL, MySQL, SQLite, and MongoDB databases through natural language, supporting schema exploration, query execution, data export, and more.13MIT