Skip to content
MCP server

Microsoft Access Database

69 tools to read and edit Access forms, VBA, tables and queries from an AI client

Runs locally

Microsoft Access Database is an MCP server for databases. It runs locally on your machine and is started by your AI client.

Platforms
Windows, CLI, Self-hosted
Runs
Locally
What it can do
Can delete data (2 tools)
Version
0.7.65
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add msaccess-database -- uvx mcp-msaccess-database

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "msaccess-database": {
      "command": "uvx",
      "args": [
        "mcp-msaccess-database"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "msaccess-database": {
      "command": "uvx",
      "args": [
        "mcp-msaccess-database"
      ]
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "msaccess-database": {
      "command": "uvx",
      "args": [
        "mcp-msaccess-database"
      ]
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "msaccess-database": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-msaccess-database"
      ]
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add msaccess-database -- uvx mcp-msaccess-database

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.msaccess-database]
command = "uvx"
args = ["mcp-msaccess-database"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "msaccess-database": {
      "command": "uvx",
      "args": [
        "mcp-msaccess-database"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "msaccess-database": {
          "command": "uvx",
          "args": [
            "mcp-msaccess-database"
          ]
        }
      }
    }

    Or run: gemini mcp add -s user msaccess-database uvx -- mcp-msaccess-database

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "msaccess-database": {
          "command": "uvx",
          "args": [
            "mcp-msaccess-database"
          ]
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "msaccess-database": {
          "command": "uvx",
          "args": [
            "mcp-msaccess-database"
          ]
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "msaccess-database": {
          "command": "uvx",
          "args": [
            "mcp-msaccess-database"
          ]
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "msaccess-database": {
          "command": "uvx",
          "args": [
            "mcp-msaccess-database"
          ]
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "msaccess-database": {
          "command": "uvx",
          "args": [
            "mcp-msaccess-database"
          ]
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "msaccess-database": {
          "command": "uvx",
          "args": [
            "mcp-msaccess-database"
          ]
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "msaccess-database": {
          "command": "uvx",
          "args": [
            "mcp-msaccess-database"
          ]
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About Microsoft Access Database

This server drives a locally installed copy of Microsoft Access through COM automation, so it runs on Windows only and needs Access 2010 or later, Python 3.10+, and the Trust Center option allowing access to the VBA project object model. It is installed from the PyPI package mcp-msaccess-database over stdio.

The 69 tools cover database objects (list, export as text, import, delete with a confirm flag), SQL and DAO tables, line-level VBA editing including atomic procedure patches, form and report controls, relationships, indexes, references, queries and macros. Maintenance tools compact and repair or decompile bloated databases and export a Markdown index of all structure. A form lint tool flags objectively broken layouts such as low contrast, overlap, truncation and off-canvas controls and returns PASS, REVIEW or FAIL; the README states it is a checker, not a designer.

Destructive actions such as DELETE, DROP, ALTER and deleting objects require an explicit confirmation parameter.

Tools this server provides (31)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 2 of 31 tools delete data and 10 change data; 8 names don't say.

From the server's own tool labels and tool names; not verified by us.

access_create_databaseName suggests: changes
Create a new empty .accdb file
access_close
Disconnect from Access
access_list_objectsName suggests: reads
List database objects by type
access_get_codeName suggests: reads
Export an object's definition as text
access_set_codeName suggests: changes
Import modified text back
access_export_structureName suggests: reads
Generate a Markdown index of the database
access_delete_objectName suggests: deletes
Delete a module, form, report, query or macro
access_create_formName suggests: changes
Create a new form
access_execute_sqlName suggests: changes
Run SQL via DAO
access_execute_batchName suggests: changes
Execute multiple SQL statements in one call
access_table_info
Show table structure
access_search_queriesName suggests: reads
Search text in the SQL of all queries
access_create_tableName suggests: changes
Create a table via DAO
access_alter_table
Add, delete or rename a field
access_vbe_get_linesName suggests: reads
Read a line range from a VBA module
access_vbe_get_procName suggests: reads
Get a procedure's code by name
access_vbe_module_info
List procedures with line numbers
access_vbe_replace_lines
Replace, insert or delete lines in a module
access_vbe_findName suggests: reads
Search text in one module
access_vbe_search_allName suggests: reads
Search text across all modules
access_vbe_replace_proc
Replace a full procedure
access_vbe_patch_procName suggests: changes
Find and replace within a procedure
access_vbe_append
Append code to a module
access_list_controlsName suggests: reads
List controls of a form or report
access_get_controlName suggests: reads
Get one control's full definition
access_search_controlsName suggests: reads
Search control properties across forms and reports
access_create_controlName suggests: changes
Create a control in design view
access_delete_controlName suggests: deletes
Delete a control
access_set_control_propsName suggests: changes
Modify control properties
access_set_multiple_controlsName suggests: changes
Modify several controls in one session
access_lint_form
Check a form layout for objective problems

What it does

VBA editing
Read, replace, patch, append and search procedures line by line.
Forms and controls
Create, modify, list and lint forms, reports and controls in design view.
SQL and tables
Run SQL via DAO, create or alter tables and batch statements.
Object definitions as text
Export a form, report or query to text and import changes back.
Maintenance
Compact and repair, decompile, and generate a structure index.
Confirmation for destructive actions
Deletes and DDL need an explicit confirm flag.

Good for

  • Add a click handler to an Access form
  • Document the structure of an old database
  • Find every query that touches a table
  • Create tables and fields without writing DAO code
  • Check a form for overlapping or unreadable controls

Microsoft Access Database FAQ

Does Microsoft Access Database run on macOS or Linux?

No. COM automation is Windows-only and Microsoft Access must be installed.

What setup does Access need?

Enable Trust access to the VBA project object model in the Trust Center, or run the included PowerShell script.

Which clients work?

Claude Code, Cursor, Windsurf, Continue or any MCP-compatible client.

Are destructive SQL statements guarded?

DELETE, DROP and ALTER require confirm_destructive=true.

How do I add Microsoft Access Database to Claude Code?

Run this command in your terminal: claude mcp add msaccess-database -- uvx mcp-msaccess-database

What are the best alternatives to Microsoft Access Database?

The closest alternatives to Microsoft Access Database are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers