MCP server for managing MS Access and SQLite 3 databases, Excel files, CSV files, and associated notes
This MCP server provides 11 database management tools with generally good coverage of core operations (connect, query, update, import/export). However, it exhibits significant gaps in parameter descriptions, output schema documentation, and error handling guidance. Tool names follow action-verb conventions (list, create, connect, query, update, import_*, export_*, read_*, write_*), which is positive. Descriptions are present but inconsistent in depth, some tools (e.g., 'query', 'import_csv') have detailed guidance on SQL injection prevention and data handling, while others (e.g., 'list', 'disconnect') are minimal. Critical weakness: output schemas are not documented anywhere in the source code or descriptions. The 'query' tool returns 'a list of records' with no field specification; 'list' returns 'key and path for each' without type details. Parameter validation rules are mentioned informally in descriptions (e.g., 'ALWAYS insert named parameters') but not enforced via schema constraints (no regex patterns, no formal range limits). The 'create' tool's driver enum is well-defined, but most other parameters lack such constraints. Error handling is passive, no guidance on what to do if a query times out, if a CSV file encoding is wrong, or if a table doesn't exist. This is a functional server suitable for basic use but falling short of production-grade quality.
Connect to a database and store the engine under the given key, for future use. If readNotes is True, reads notes associated with the database (same name, with .AInotes.* suffix). If you already read the notes, do not read them again to go faster. To create a temporary in-memory database, do not specify the databasePath. Uses the specified driver or autodetects the database type based on file extension. If readOnly is True, opens the connection in read-only mode.
Create a new empty database, type based on driver or file extension. If driver is set to "auto", the type is detected based on the file extension.
Disconnect from the database identified by key.
Export all data from a database table to a CSV file. To export a specific subset of data, first create a temporary table with the desired data. When overwriting a file, use the same encoding and delimiter as the original file, if possible.
Import data from a CSV file to the specified database connection. If the table already exists, the data will be appended to it.
Output schemas are completely undocumented. No tool specifies what fields, types, or structure it returns. 'query' says it returns 'a list of records' with no schema. 'list' returns 'key and path for each' without field types. This forces LLMs to infer output shape, risking failed chaining and wasted tokens.
Minimal descriptions for critical operations. 'list' (35 chars): 'List all active database connections, returning key and path for each.' and 'disconnect' (40 chars): 'Disconnect from the database identified by key.' lack context on when to use them, what errors might occur, or how they fit into workflows. Descriptions should be 10 - 1024 chars and explain WHAT, WHEN, and any prerequisites.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | D | 55 | 2026-07-28+ | v2 |
| 2026-03-09 | D | 54 | - | v1 |
Import data from an Excel file to the specified database table. If the table already exists, the data will be appended to it, otherwise it will be created. Before importing, use other tools to analyze the file: read workbook metadata to discover sheet names, read the first rows of the file to check its data and structure, if you found empty cells, check merged cells to understand better the data structure.
List all active database connections, returning key and path for each.
Execute a SELECT query on the database identified by key and return results as a list of records. Use backticks to escape table and column names. ALWAYS insert named parameters (:param_name) in the SQL query to avoid SQL injection. Pass a dictionary as params to provide values for the SQL query. Before executing a query, make sure to know the record count, using SELECT TOP (Access) or LIMIT (SQLite) to limit the number of records returned and avoid large responses.
Specify a note file (*.AInotes.*) to read it, or a directory to list all notes files in it. Specify the path of the database file to read notes associated with it (same name, with .AInotes.* suffix). Always use absolute paths, except for global notes files (example: general info about all projects). If you find long notes (more than 5000 characters), consider splitting them into multiple files.
Execute an UPDATE/INSERT/DELETE statement on the database identified by key. Use backticks to escape table and column names. ALWAYS insert named parameters (:param_name) in the SQL statement to avoid SQL injection.
Write notes to a note file (*.AInotes.*). Specify the path of the note file to write. If '.AInotes' is not in the path, '.AInotes.md' will be appended automatically. Recommended: use database file names to create associated notes (my_database.mdb -> 'my_database.AInotes.txt'). Always use absolute paths, except for global notes files (example: general info about all projects). Keep note files concise (about 5000 characters max) but complete, without repetitions. For complex databases, organize notes into multiple files if needed (my_database.mdb.tables.AInotes.txt'). For such cases, always keep a main note file, describing which info is stored in which file. WARNING: this tool overwrites existing notes. Note file is deleted if content is empty.
No error handling guidance. Tools make claims (e.g., 'ALWAYS insert named parameters to avoid SQL injection') but provide no error recovery paths. If an LLM passes a query that times out, the server returns an error, but with no instruction to retry, ask the user, or try a simpler query. Error responses must tell the LLM what to do next.
Parameters lack type constraints and validation hints. Example: 'encoding' in import_csv has no regex, length limit, or enum of supported values (utf-8, utf-16, latin-1, etc.). 'delimiter' is a free-form string with no pattern validation. 'rowsToSkip' in import_excel accepts 'integer|array' but no description clarifies the array element type or range. LLMs will guess and send invalid values.
Parameter dependencies undocumented. 'import_excel' has 'columnsToImport', 'naValues', and 'dtypes' all optional, but no description explains their interaction or constraints. 'rowsToSkip' can be an int or array, but the implications for 'columnsToImport' and 'dtypes' are unclear. Undocumented dependencies cause silent misuse.
No pagination or result limits documented. 'query' and 'list' may return large datasets with no mention of limits, offsets, or pagination. LLMs will not know when to add LIMIT clauses, risking context window exhaustion and timeouts.
Dangerous defaults. 'create' defaults to driver='auto' (acceptable), but 'export_csv' defaults to overwrite=false (good). However, 'readNotes' defaults to false in 'connect', and 'readOnly' defaults to false, meaning a user who forgets to specify readOnly will open a database in write mode, risking accidental modifications.
No idempotency guarantees. The server instructions mention supporting 'long tasks' with logging, but tools like 'update', 'import_csv', and 'write_notes' provide no idempotency hints or support. If an LLM retries a failed update, it will execute twice, creating duplicate records.
Resource-centric parameter naming could be clearer. Many parameters use 'key' as the database connection identifier, which is functional but generic. A parameter called 'connection_key' or 'db_key' would be more self-documenting. Similarly, 'dbTableName' vs 'table_name' inconsistency across tools.