技能潮 SkillTide 提交收录
官方说明7 个来源MCP 服务8 天前
kosminus/querywise-mcp

kosminus/querywise-mcp

Query SQLite, PostgreSQL, BigQue
在 GitHub 查看 ↗直链 · 无中转页
配置模板(请按你的客户端调整)
claude mcp add querywise-mcp -- npx -y querywise-mcp
这是根据仓库名生成的可粘贴骨架,命令行参数与包名请以该项目 README 为准。
★ 数取值
2 ★ · kosminus/querywise-mcp · 取自该仓库的 GitHub 页面 · (2026-10-16 20:00:20 核对)
来源明细
收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-10-09 · 最近见到 2026-10-16 · 共见到 32 次 · 被 7 个来源列出
评分构成
综合分 703 · 2 ★ · 7 个来源 · mcp
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 kosminus/querywise-mcp;我们收录于 2026-10-09;最近见到 2026-10-16。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

querywise-mcp

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

An **MCP server** (and a CLI) that lets an LLM query your databases in natural
language through a **business semantic layer** — glossary, metric definitions,
data dictionary, knowledge base, and example queries — grounded against your
real schema.
It's a refactor of QueryWise (a full-stack text-to-SQL app) into
a headless tool: no web UI, no Postgres requirement. The metadata store is an
embedded **SQLite + sqlite-vec** database, so the server runs from a single file.
Two ways to use it
1. **As an MCP server** — Claude (or any MCP client) calls the tools. The
recommended loop is:
get_semantic_context(connection, question) → the model writes a read-only
SELECT → run_sql(connection, sql). The client's own model does the
reasoning; the server provides grounded context + safe execution.
2. **As a CLI** — querywise ask " " runs the full
server-side NL→SQL pipeline (compose → validate → execute → interpret). This
path needs an LLM provider key (or local Ollama).
The semantic layer, connectors, and execution are shared by both.
Install
Configuration is via environment variables / .env (see .env.example). Zero
config works for keyword-only operation; add a key (or Ollama) to unlock
embeddings and the ask pipeline.
Quick start (zero external infra)
Run as an MCP server
Register with Claude
First make sure the store the server will read is initialized (and optionally seeded):
> **Use an absolute command path.** MCP clients launch the server with a minimal
> PATH, so the bare querywise-mcp often won't resolve. Point at the entry
> point inside your venv, e.g. /path/to/.venv/bin/querywise-mcp.
>
> **The server won't read your repo .env.** It runs from the client's working
> directory, so pass everything it needs (DATABASE_URL, provider keys, model)
> in the env block below.
**Claude Desktop** — edit
~/Library/Application Support/Claude/claude_desktop_config.json (macOS), then
fully quit and reopen Claude Desktop:
**Claude Code** — one command:
Note the **four slashes** in the SQLite URL — sqlite+aiosqlite:// (scheme) plus
the absolute path /Users/me/....
**Why DEFAULT_LLM_PROVIDER?** It's a *server* setting, not your chat model.
Claude is the client LLM — it calls the granular tools and writes the answer, so
it needs no provider config. The server only uses a provider for two things:
**embeddings** (semantic search over your metadata — optional; degrades to
keyword-only without one) and the all-in-one **ask/generate_sql** tools
(which run their own LLM). Set it to ollama for key-free local embeddings, or
to anthropic/openai (with the matching *_API_KEY in env) if you want to
call the server-side ask tool. Omit it entirely to run keyword-only.
MCP surface
**Tools** (25): list_connections, create_connection, test_connection,
introspect_connection, delete_connection, list_tables, describe_table,
get_semantic_context, run_sql, generate_sql, ask, query_history,
glossary/metric/dictionary/sample-query/knowledge management
(list_*/add_*/delete_*, plus add_knowledge_url).
**Query paths** — the four tools people mix up:
| Tool(s) | LLM key? | What it does |
|---|---|---|
来源
awesome · https://github.com/kosminus/querywise-mcp
按领域浏览
MCP 服务
Traction
2 ★
收录于
昨天

更多MCP 服务

查看MCP 服务全部 5,525 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引