Install DB in Claude Code
This server doesn't publish a package to a registry, so follow the install steps in its README. Once it runs, register it with Claude Code:
claude mcp add db -- <command to start the server>Frequently asked questions
What does the DB MCP server do?
MySQL and PostgreSQL access: query execution, transaction management, schema exploration, query building and performance analysis.
Is the DB MCP server free?
Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.
Does DB run locally or remotely?
Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.
How do I add DB to Claude Code?
Follow the install steps in the project's README at https://github.com/FreePeak/db-mcp-server, then register it with "claude mcp add".
More databases MCP servers
View allAlchemy
runekaagaard/mcp-alchemy
Access PostgreSQL, MySQL, MariaDB, SQLite, Oracle, SQL Server and more via SQLAlchemy, with schema and relationship inspection and large dataset analysis.
Gsheets
freema/mcp-gsheets
Google Sheets API integration for reading, writing, formatting and sheet management.
Elasticsearch
cr7258/elasticsearch-mcp-server
Interact with Elasticsearch.
Prometheus
pab1it0/prometheus-mcp-server
Query and analyze Prometheus, the open-source monitoring system.
OSS Snowflake
Snowflake-Labs/mcp
Snowflake: prompt Cortex Agents, query structured and unstructured data, manage objects, run SQL and query semantic views, with RBAC and CRUD controls.
MotherDuck
motherduckdb/mcp-server-motherduck
Query and analyze data with MotherDuck and local DuckDB