Test Emp Database
БесплатноНе проверенAn employee-analytics MCP server backed by SQLite with pre-seeded sample data, providing tools for common SQL analytics such as top N earners, department averag
Описание
An employee-analytics MCP server backed by SQLite with pre-seeded sample data, providing tools for common SQL analytics such as top N earners, department averages, window functions, and subqueries.
README
An employee-analytics MCP server (HTTP transport) backed by SQLite. Unlike a generic SQL toolkit, every tool here runs a specific, hand-written query demonstrating GROUP BY, window functions, NULL handling, and subqueries.
The database self-seeds 13 sample employees across Engineering, Sales,
Marketing, and HR (three of them interns with NULL salary), so the analytics
return meaningful results immediately.
Schema
employees(id, name, department, salary) — salary is nullable; interns are NULL.
Tools
Basic: add_employee, list_employees
Analytics:
top_n_by_salary(n, department)— top N earners overall or within a departmentaverage_salary_by_department— GROUP BY, AVG (ignores interns), headcountdepartment_salary_stats— count / min / max / avg per departmentsalary_rank_within_department— windowRANK() OVER (PARTITION BY ...)highest_paid_per_department— windowROW_NUMBER() = 1employees_above_company_average— above the true company-wide averagesalary_share_within_department— windowSUM() OVER (PARTITION BY ...), % of dept payrolllist_interns— employees with NULL salaryheadcount_by_department— COUNT per department
Run / test locally
cd ~/Documents/Claude/test-emp-database-mcp
uv add fastmcp
uv run main.py # serves http://127.0.0.1:8000/mcp (leave running)
To test the tools, point the MCP Inspector at the running URL:
npx @modelcontextprotocol/inspector
# transport: Streamable HTTP, URL: http://127.0.0.1:8000/mcp
Deploy to FastMCP Cloud
- Lock deps so
fastmcpis in the lockfile:uv lock - Push
main.py,pyproject.toml,uv.lockto a GitHub repo. - On fastmcp.cloud, point at the repo with entrypoint
main.py.
Notes:
- The
mcpobject name andfrom fastmcp import FastMCPimport are what FastMCP Cloud requires. - The platform serves the
mcpobject itself; the__main__block (local host/port) is ignored in the cloud. emp.dbis git-ignored and re-seeded on startup.
Установка Test Emp Database
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/EESHAN-ANAND/test-employee-database-mcpFAQ
Test Emp Database MCP бесплатный?
Да, Test Emp Database MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Test Emp Database?
Нет, Test Emp Database работает без API-ключей и переменных окружения.
Test Emp Database — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Test Emp Database в Claude Desktop, Claude Code или Cursor?
Открой Test Emp Database на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
wenb1n-dev/SmartDB_MCP
A universal database MCP server supporting simultaneous connections to multiple databases. It provides tools for database operations, health analysis, SQL optim
автор: wenb1n-devPostgres Server
This server enables interaction with PostgreSQL databases through the Model Context Protocol, optimized for the AWS Bedrock AgentCore Runtime. It provides tools
автор: madhurprashPostgres
Query your database in natural language
автор: AnthropicPostgreSQL
Read-only database access with schema inspection.
автор: modelcontextprotocolCompare Test Emp Database with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории data
