A Model Context Protocol server for updating databases from CSV and Excel files.
-
update_database- Update database from CSV/Excel files- Supports CSV and Excel (.xlsx, .xls) file formats
- Compatible with multiple database types (PostgreSQL, MySQL, MongoDB, SQLite)
- Configurable connection settings and table mapping
-
create_note- Create and manage notes (for documentation)- Store important information about database updates
- Track changes and modifications
Use the update_database tool with the following parameters:
{ "filePath": "/path/to/your/file.csv", "databaseType": "PostgreSQL", "connectionString": "postgresql://user:pass@localhost:5432/db", "tableName": "target_table" }- PostgreSQL
- MySQL
- MongoDB
- SQLite
Install dependencies:
npm installBuild the server:
npm run buildFor development with auto-rebuild:
npm run watchTo use with Claude Desktop, add the server config:
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json
{ "mcpServers": { "database-updater": { "command": "/path/to/database-updater/build/index.js" } } }Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector:
npm run inspectorThe Inspector will provide a URL to access debugging tools in your browser.