LabscoMCP early access ↗
elber-codeMCP SERVER

Database Tools for Claude AI

Run SQL against your MySQL databases from the assistant and read the results back formatted.

by elber-code ↗Relational SQL DatabasesCommunity

LABSCO SUMMARY

The MySQL user is the only guard rail.

There is no read-only mode here and no query validation — the server runs whatever SQL it is given with whatever permissions the configured credentials carry. That makes the MySQL account you pass in DB_USER and DB_PASSWORD the security boundary: grant it exactly what you are willing to let an assistant do, and nothing more. Scoped that way it is a fast path to answering questions about your own data; unscoped it is a shell on your database.

What it is

A direct MySQL bridge. The assistant writes a query, the server runs it and formats the result for reading in the chat — including the structural queries you would otherwise type by hand.

What you get

  • Execute any valid SQL query against the configured connection
  • List databases and the tables inside them
  • Read a table's structure, including its size
  • Results formatted for reading in the conversation rather than returned raw

Requirements

Node.js and a running MySQL server — clone the repository, run npm install, and point the client at index.js. The connection comes from DB_HOST, DB_USER and DB_PASSWORD in the server's environment (defaulting to localhost, root and an empty password).

Setup effort

Build from source — git clone https://github.com/elber-code/database-tools