sqlite-mcp-server
Provides tools for managing employee data in a SQLite database, including adding, searching, updating, and removing employees, as well as salary calculations, department listings, and company statistics.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Employee Database MCP Server
An MCP (Model Context Protocol) server built with FastMCP and SQLite that enables AI clients (such as Claude Desktop and Cursor) to query, analyze, and update structured employee records using natural language.
๐๏ธ Architecture
flowchart LR
A[Claude Desktop / LLM Client] -->|MCP Protocol via stdio| B[server.py / FastMCP]
B -->|Prepared Queries| C[database.py]
C -->|SQL Operations| D[(SQLite DB)]Related MCP server: SQLite MCP Server
โจ Features & Exposed MCP Tools
The server exposes parameterized, injection-safe database functions directly to LLM clients:
Category | MCP Tool Name | Description |
Lookup & Search |
| Fetch individual records or query by name/pattern. |
Data Operations |
| Perform CRUD mutations with input validation. |
Analytics & Metrics |
| Aggregate salaries and generate company-wide statistics. |
Department Info |
| Group and summarize workforce distribution. |
๐ ๏ธ Tech Stack
Language: Python 3.10+
Database: SQLite
Protocol: Model Context Protocol (MCP / FastMCP)
Testing: pytest (11 unit tests covering database transactions and queries)
๐ Quickstart & Setup
1. Installation
Clone the repository and install dependencies:
git clone [https://github.com/JacobW2000/sqlite-mcp-server.git](https://github.com/JacobW2000/sqlite-mcp-server.git)
cd sqlite-mcp-server
python -m venv venv
# On Windows:
.\venv\Scripts\activate
# On macOS/Linux:
# source venv/bin/activate
pip install -r requirements.txt2. Integration with Claude Desktop
Add the server configuration to your claude_desktop_config.json:
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonmacOS:
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"employee-database": {
"command": "python",
"args": [
"C:/path/to/sqlite-mcp-server/server.py"
]
}
}
}๐งช Testing
This project includes 11 automated pytest tests covering database operations, transaction safety, and employee queries:
python -m pytest tests/test_database.pyTool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogโฆ
This server cannot be deployed
Maintenance
Related MCP Connectors
Read and write NetSuite and run SuiteQL from Claude or ChatGPT. Write tools flagged for approval.
PostgreSQL, MySQL, and SQL Server in one session. 26 read-only MCP tools for AI agents.
Query 40 databases from Claude, ChatGPT, or Cursor โ on any device. Read-only, encrypted, audited.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides database access capabilities to Claude with support for both SQLite and SQL Server databases. It enables users to manage schemas, execute SQL queries, and export results through natural language interaction.807 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables natural language interaction with local SQLite databases through Claude Desktop, translating plain English queries into SQL for data analysis and exploration.3MIT
- AlicenseNot gradedqualityDmaintenanceEnables Claude to query and manage databases (SQLite, SQL Server, PostgreSQL, MySQL) through natural language, supporting read/write operations and schema management.807 npmMIT
- FlicenseNot gradedqualityDmaintenanceEnables Claude Desktop to securely query a SQLite HR database, providing tools to check leave balances and list pending approvals through natural language.-