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.
เซิร์ฟเวอร์ที่เกี่ยวข้อง
DROMA MCP Server
Interact with DROMA drug-omics association analysis databases using natural language.
OpenSearch MCP Server
An MCP server for interacting with OpenSearch clusters, configured via environment variables.
Weaviate MCP Client
An MCP client for connecting to and interacting with a Weaviate vector database.
Cursor10x MCP
A memory system for the Cursor code editor, providing persistent context awareness for Claude via a Turso database.
Kusto MCP Server
An MCP server for Azure Data Explorer (Kusto) that enables AI assistants to interact with Kusto databases.
AWS Athena MCP Server
An MCP server for querying and interacting with AWS Athena.
LSD MCP server
Access the internet and query data using LSD SQL.
FinanceMCP
Provides real-time financial data using the Tushare API.
CongressMCP
Access comprehensive U.S. Congressional data, including bills, votes, and member information, via the Congress.gov API.
PostgreSQL Multi-Schema
Provides read-only access to PostgreSQL databases with multi-schema support, allowing LLMs to inspect schemas and execute queries across different namespaces.