mcp -access-mdb
MCP server to let AI read and update Microsoft Access Databases (.mdb files)
claude mcp add --transport stdio scanzy-mcp-server-access-mdb uv run --with fastmcp --with pandas --with sqlalchemy-access --with openpyxl fastmcp run path/to/repo/server.py
How to use
This MCP server provides an interface for AI to interact with Microsoft Access and SQLite 3 databases. It supports managing databases, executing SQL queries, importing and exporting data to CSV and Excel (with some limitations for Excel), and recording notes about files. The server runs within uv (Python) and leverages FastMCP alongside libraries like pandas and SQLAlchemy-access to bridge the AI with Access and SQLite data sources. Tools available include: creating and connecting to databases, listing databases and tables, running SQL queries to read or modify data, and importing/exporting data to CSV (and Excel where supported). Remember that this server has full access to connected databases, so use it with appropriate safeguards and permissions.
How to install
Prerequisites:
- Python 3.8+ installed on your system
- Access to install Python packages (pip)
Installation steps:
-
Clone the repository: git clone https://github.com/your-org/scanzy-mcp-server-access-mdb.git cd scanzy-mcp-server-access-mdb
-
Create and activate a virtual environment (recommended): python -m venv venv
Windows
venv\Scripts\activate
macOS/Linux
source venv/bin/activate
-
Install dependencies (via uv and required Python packages): pip install fastmcp pandas sqlalchemy-access openpyxl
-
Run the server using uv as described in the README configuration: uv run --with fastmcp --with pandas --with sqlalchemy-access --with openpyxl fastmcp run path/to/repo/server.py
-
Point your MCP host to the server endpoint and use the provided tools to manage databases and data.
Additional notes
Notes and tips:
- The Excel export path is not fully implemented; consider using the recommended Excel workaround via haris-musa/excel-mcp-server for Excel exports.
- The server supports multiple databases simultaneously; you can connect to several databases and manage them concurrently.
- When using Access (.mdb/.accdb) files, ensure file paths are accessible by the server process and proper permissions are set.
- If you encounter issues with UVX, the readme mentions creating a package and publishing to PyPI; ensure you’re using a compatible uv runner for your environment.
- For long-running tasks, monitor memory usage since importing large CSV/Excel files with pandas can be resource-intensive.
Related MCP Servers
mcp-vegalite
MCP server from isaacwasserman/mcp-vegalite-server
github-chat
A Model Context Protocol (MCP) for analyzing and querying GitHub repositories using the GitHub Chat API.
nautex
MCP server for guiding Coding Agents via end-to-end requirements to implementation plan pipeline
pagerduty
PagerDuty's official local MCP (Model Context Protocol) server which provides tools to interact with your PagerDuty account directly from your MCP-enabled client.
futu-stock
mcp server for futuniuniu stock
mcp -boilerplate
Boilerplate using one of the 'better' ways to build MCP Servers. Written using FastMCP