Database Updater
Update various databases (PostgreSQL, MySQL, MongoDB, SQLite) using data from CSV and Excel files.
database-updater MCP Server
A Model Context Protocol server for updating databases from CSV and Excel files.
Features
Tools
-
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
Usage
Update Database
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"
}
Supported Database Types
- PostgreSQL
- MySQL
- MongoDB
- SQLite
Development
Install dependencies:
npm install
Build the server:
npm run build
For development with auto-rebuild:
npm run watch
Installation
To 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"
}
}
}
Debugging
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector:
npm run inspector
The Inspector will provide a URL to access debugging tools in your browser.
Related Servers
MCP PostgreSQL Server
A server that enables AI models to interact with PostgreSQL databases through a standardized interface.
Azure Data Explorer
An MCP server for integrating with Azure Data Explorer, allowing for data querying and management.
Microsoft SQL Server
A Model Context Protocol (MCP) server for connecting to and querying Microsoft SQL Server databases.
Enhanced Medication Information MCP Server
Provides real-time access to FDA drug data, including shortages, labeling, and recalls, via the openFDA API.
SurrealDB MCP Server
A standardized interface for AI assistants to interact with a SurrealDB database.
Fedspeak MCP Server
Access and analyze Federal Reserve (FOMC) statements.
MLB SportRadar
Access MLB game data, standings, and player statistics using the SportRadar API.
ThoughtSpot MCP Server
Securely query and retrieve data from your ThoughtSpot instance.
Outreach.io by CData
A read-only MCP server for querying live data from Outreach.io using the CData JDBC Driver.
College Football Data
Access college football statistics from the College Football Data API.