lucid-mcp
Enables connection to MySQL 5.7 and 8.0+ databases to perform schema discovery, data profiling, and execute read-only SQL queries for natural language-driven data analysis.
lucid-skill
AI-native data analysis skill. Connect Excel, CSV, MySQL, PostgreSQL — understand business semantics, query with SQL.
No API key required. No LLM inside — the AI agent is the brain; lucid-skill is the hands.
Features
Multi-source: Excel (.xlsx/.xls), CSV, MySQL, PostgreSQL — all unified into SQL
Semantic Layer: Define business meanings for tables and columns; persist as YAML, Git-friendly
JOIN Discovery: Automatically find join paths between tables (direct + indirect)
Domain Clustering: Auto-group tables into business domains
Embedding Search: Optional multilingual vector search for table discovery
Read-only Safety: Only SELECT allowed — mutating SQL is blocked at the engine level
Related MCP server: mcp-db-server
Install
pip install lucid-skill
# Or with uv (recommended for OpenClaw)
uv tool install lucid-skill
# Optional: database drivers
pip install "lucid-skill[db]" # MySQL + PostgreSQL
# Optional: embedding search
pip install "lucid-skill[embedding]" # sentence-transformersQuick Start
# Connect a data source
lucid-skill connect csv /path/to/sales.csv
# Explore schema and semantics
lucid-skill init-semantic
# Search tables by business meaning
lucid-skill search "销售额 客户"
# Query with SQL
lucid-skill query "SELECT product, SUM(amount) FROM sales GROUP BY product ORDER BY 2 DESC LIMIT 10"Architecture
Agent ──→ lucid-skill CLI ──→ Connectors (Excel/CSV/MySQL/PG)
│ │
├── Catalog (DuckDB) └── DuckDB (in-memory query engine)
└── Semantic Store (YAML)No LLM inside — lucid-skill provides data access; the AI agent handles reasoning
DuckDB unified — catalog storage + query engine, single dependency, no compilation needed
Semantic persistence — YAML definitions survive restarts, shareable via Git
Supported Data Sources
Type | Format | Notes |
Excel |
| Multiple sheets supported |
CSV |
| Auto-detects encoding and delimiter |
MySQL | 5.7+ / 8.0+ | Reads foreign keys and column comments ( |
PostgreSQL | 12+ | Reads foreign keys and column comments ( |
Environment Variables
Variable | Default | Description |
|
| Data directory (catalog, semantic store, models) |
|
| Enable vector search (~460 MB model download on first use) |
Security
Read-only: Only
SELECT/WITHstatements are allowed; all mutating SQL is blockedNo credentials stored: Database passwords are never written to disk
Local only: All data stays on your machine
MCP Server Mode
lucid-skill also works as an MCP Server for platforms that support it:
lucid-skill serveDevelopment
git clone https://github.com/WiseriaAI/lucid-skill
cd lucid-skill
pip install -e ".[dev]"
pytestLicense
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceAn open-source MCP server that connects to various data sources (SQL databases, CSV, Parquet files), allowing AI models to execute SQL queries and generate data visualizations for analytics and business intelligence.1275MIT
- FlicenseNot gradedqualityBmaintenanceAn MCP server that exposes relational databases (PostgreSQL/MySQL) to AI agents with natural language to SQL query support.19
- AlicenseNot gradedqualityBmaintenanceAuto-generates MCP servers from any data source, enabling AI clients to query databases, spreadsheets, and APIs with zero code.5MIT
- AlicenseNot gradedqualityDmaintenanceA local MCP server enabling AI assistants to query and analyze data via DuckDB SQL engine, supporting local files, memory, S3, and MotherDuck.29Apache 2.0
Related MCP Connectors
Analytical memory for AI agents: a real Postgres queried in plain English over MCP. One command.
GibsonAI MCP server: manage your databases with natural language
Self-hosted MCP gateway: turn any API, database or MCP server into AI connectors — no code.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/WiseriaAI/lucid-skill'
If you have feedback or need assistance with the MCP directory API, please join our Discord server