mimer-mcp MCP Server
An MCP server with Mimer SQL Database Connectivity
mimer-mcp scores 39 (Limited), licensed MIT and written in Python. It installs as a local process. It declares 8 tools. Filed under Databases. GitHub shows 3 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Limited trust
39 of 100 from six public signals. Nobody can buy a point.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade A
90/100 for listing completeness. Lost points: short summary, no docs link.
How quality is graded
Where the 39 comes from
0 + 20 + 2 + 10 + 4 + 3 = 39. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 0 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 2 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 3 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "mimersql-mimer-mcp": { "command": "uvx", "args": [ "mimer-mcp-server" ], "env": { "DB_DSN": "", "DB_USER": "", "DB_PASSWORD": "YOUR_DB_PASSWORD", "DB_HOST": "", "DB_PORT": "", "DB_PROTOCOL": "", "DB_POOL_INITIAL_CON": "", "DB_POOL_MAX_UNUSED": "", "DB_POOL_MAX_CON": "", "DB_POOL_BLOCK": "", "DB_POOL_DEEP_HEALTH_CHECK": "", "MCP_LOG_LEVEL": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
DB_DSN | Required | Mimer SQL Database DSN |
DB_USER | Required | Database user |
DB_PASSWORDSecret | Required | Database password |
DB_HOST | Optional | Database host |
DB_PORT | Optional | Database port |
DB_PROTOCOL | Optional | Database protocol |
DB_POOL_INITIAL_CON | Optional | Initial number of idle connections in the pool |
DB_POOL_MAX_UNUSED | Optional | Maximum number of unused connections in the pool |
DB_POOL_MAX_CON | Optional | Maximum number of connections allowed |
DB_POOL_BLOCK | Optional | Block and wait for connection when exceeding max connections |
DB_POOL_DEEP_HEALTH_CHECK | Optional | Deep health check - validates connection health before getting from pool |
MCP_LOG_LEVEL | Optional | Logging level for the MCP server (DEBUG, INFO, WARNING, ERROR, CRITICAL) |
Tools8Tool docs quality grade C
All capabilitiesexecute_querytoolExecute SQL query with parameter support (Only SELECT queries are allowed)
Execute a stored procedure in the database with JSON parameters
Get the definition of a stored procedure
Get the parameters of a stored procedure
get_table_infotoolGet detailed table schema and sample rows
list_schemastoolList all available schemas in the database
List read-only stored procedures in the database
list_table_namestoolList table names within the specified schema
About
Mimer MCP Server
A Model Context Protocol (MCP) server that provides Mimer SQL database connectivity to browse database schemas, execute read-only queries with parameterization support, and manage stored procedures.
Available Tools
Database Schema Tools
list_schemas— List all available schemas in the databaselist_table_names— List table names within the specified schemaget_table_info— Get detailed table schema and sample rows
Query Execution Tools
execute_query— Execute SQL query with parameter support (Only SELECT queries are allowed)
Stored Procedure Tools
list_stored_procedures— List read-only stored procedures in the databaseget_stored_procedure_definition— Get the definition of a stored procedureget_stored_procedure_parameters— Get the parameters of a stored procedureexecute_stored_procedure— Execute a stored procedure in the database with JSON parameters
Getting Started
Prerequisites
- Python 3.10 or later (with uv installed) or Docker
- Mimer SQL 11.0 or later
Environment Configuration
Before running the server, you need to configure your database connection settings using environment variables. The Mimer MCP Server reads these from a .env file.
Mimer MCP Server can be configured using environment variables through .env file with the following configuration option:
| Environment Variable | Default | Description |
|---|---|---|
DB_DSN | Required | Database name to connect to |
DB_USER | Required | Database username |
DB_PASSWORD | Required | Database password |
DB_HOST | - | Database host address (use host.docker.internal for Docker) |
DB_PORT | 1360 | Database port number |
DB_PROTOCOL | tcp | Connection protocol |
DB_POOL_INITIAL_CON | 0 | Initial number of idle connections in the pool |
DB_POOL_MAX_UNUSED | 0 | Maximum number of unused connections in the pool |
DB_POOL_MAX_CON | 0 | Maximum number of connections allowed (0 = unlimited) |
DB_POOL_BLOCK | false | Determines behavior when exceeding the maximum number of connections. If true, block and wait for a connection to become available; if false, raise an error when maxconnections is exceeded |
DB_POOL_DEEP_HEALTH_CHECK | true | If true, validates connection health before getting from pool (slower but more reliable) |
MCP_LOG_LEVEL | INFO | Logging level for the MCP server. Options: DEBUG, INFO, WARNING, ERROR, CRITICAL |
Usage with VS Code
MCP servers are configured using a JSON file (mcp.json). Different MCP hosts may have slightly different configuration formats. In this guide, we'll focus on VS Code as an example. First, ensure you've installed the latest version of VS Code and have access to Copilot.
One way to add MCP server in VS Code is to add the server configuration to your workspace in the .vscode/mcp.json file. This will allow you to share configuration with others.
- Create a
.vscode/mcp.jsonfile in your workspace. - Add the following configuration to your
.vscode/mcp.jsonfile, depending on how you want to run the MCP server.
Option 1: Using Docker (Recommended)
Option 1.1: Build the Docker Image Locally
docker build -t mimer-mcp-server .
Then, add the following configuration to .vscode/mcp.json file
{
"servers": {
"mimer-mcp-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--add-host=host.docker.internal:host-gateway",
"--env-file=/absolute/path/to/.env",
"mimer-mcp-server",
]
}
},
"inputs": []
}
Option 1.2: Use the Pre-Built Image from Docker Hub
{
"servers": {
"mimer-mcp-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--add-host=host.docker.internal:host-gateway",
"--env-file=/absolute/path/to/.env",
"mimersql/mimer-mcp:latest"
]
}
},
"inputs": []
}
Option 1.3: Use Docker compose and the official Mimer SQL docker container
This will start a Mimer SQL Docker container as well as the mimer-mcp-server container,
set up a private network between the two containers and create the Mimer SQL example database.
The Mimer SQL database will be stored in the docker volume called mimer_mcp_data so that database changes are persistent.
{
"servers": {
"mimer-mcp-server": {
"command": "docker",
"args": [
"compose",
"run",
"--rm",
"-i",
"--no-TTY",
"mimer-mcp-server"
]
}
},
"inputs": []
}
Option 2.1: Using uvx
{
"servers": {
"mimer-mcp-server": {
"type": "stdio",
"command": "uvx",
"args": [
"mimer_mcp_server"
],
"env": {
"DOTENV_PATH": "/absolute/path/to/.env"
}
}
}
}
Option 2.2: Using uv
{
"servers": {
"mimer-mcp-server": {
"type": "stdio",
"command": "uv",
"args": [
"run",
"--with",
"fastmcp",
"fastmcp",
"run",
"/path-to/server.py"
],
}
}
}
- After saving the configuration file, VS Code will display a Start button in the
mcp.jsonfile. Click it to launch the server.
- Open Copilot Chat and in the Copilot Chat box, select Agent mode from the dropdown.
- Select the Tools button to view the list of available tools. Make sure the tools from Mimer MCP Server are selected.
- Enter a prompt in the chat input box and notice how the agent autonomously selects a suitable tool, fix errors and generate a final answer from gathered queries results. (Following examples use the Example Database from Mimer, which is owned by MIMER_STORE. Read more about this database: here)
Development
Prerequisites
- Python: 3.10+
- uv: for dependency management and running the server
- Mimer SQL 11.0 or later
- Node.js and npm: for debugging with MCP inspector
Install uv:
# macOS / Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# or via Homebrew
brew install uv
Verify installation:
uv --version
Install Node.js and npm:
# Linux (Ubuntu/Debian)
sudo apt install nodejs npm
# macOS (via Homebrew)
brew install node
Verify installation:
node --version
npm --version
Getting Started
-
Clone the repository
-
Create and activate a virtual environment
uv venv
# macOS / Linux
source .venv/bin/activate
# Windows
.venv\Scripts\activate
- Install dependencies from pyproject.toml
uv sync
- Configure environment variables
cp .env.example .env
# Edit .env with your database credentials
The configuration is loaded automatically via config.py.
Debug with MCP inspector
MCP Inspector provides a web interface for testing and debugging MCP Tools (Requires Node.js: 22.7.5+):
npx @modelcontextprotocol/inspector
Note: MCP Inspector is a Node.js app and the npx command allows running MCP Inspector without having to permanently install it as a Node.js package.
Alternatively, you can use FastMCP CLI to start the MCP inspector
uv run fastmcp dev inspector src/mimer_mcp_server/server.py
To run the Mimer SQL docker image and mimer-mcp-server using Docker compose, run:
MCP_TRANSPORT=http docker compose up
or to run it as a daemon:
MCP_TRANSPORT=http docker compose up -d
This way it is possible to call the mimer-mcp-server using HTTP and port 3333.
Frequently asked questions
What is mimer-mcp MCP Server?
An MCP server with Mimer SQL Database Connectivity
How do I install mimer-mcp MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. mimer-mcp MCP Server runs locally from the PyPI package mimer-mcp-server with the command uvx mimer-mcp-server.
Is mimer-mcp MCP Server free and open source?
Yes. mimer-mcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does mimer-mcp MCP Server support remote (HTTP) connections?
No remote endpoint is listed for mimer-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does mimer-mcp MCP Server provide?
mimer-mcp MCP Server provides 8 tools, including execute_query, execute_stored_procedure, get_stored_procedure_definition, and get_stored_procedure_parameters. See the full tool list for descriptions and parameters.
How is mimer-mcp MCP Server's trust score calculated?
mimer-mcp MCP Server scores 39 out of 100 (Limited). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.
