Raw SQL MCP server
io.github.KifoPL/RawSqlMcp·v0.1.0Execute raw SQL queries against SQL Server, SQLite, PostgreSQL, MySQL, and MariaDB.
0 stars
Reviews
Write oneNobody has reviewed Raw SQL MCP yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Raw SQL MCP tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.9 · 2026-09-26 · same rubric, same numbers if you re-run it
- –Code scanpackage could not be scannedn/a
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 26 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Raw SQL MCP compares
Against every graded Databases MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 73/100
- higher than 32% of 802 Databases servers
Install Raw SQL MCP in Claude Code, Cursor or VS Code
The registry entry has no remote endpoint or installable package.
What the publisher says
From the Raw SQL MCP repository's README, as published. We do not edit it. Read it on GitHub
Raw SQL MCP
<!-- mcp-name: io.github.KifoPL/RawSqlMcp -->
Raw SQL MCP is a STDIO MCP server for executing raw SQL against SQL Server, SQLite, PostgreSQL, MySQL, and MariaDB.
[!IMPORTANT]
Use it carefully. The server does not protect you from destructive queries, expensive queries, SQL injection, missing pagination, or unsafe data exposure. Always review and approve queries before running them.
Installation
Run the server with dnx:
dnx RawSqlMcpFor a specific version:
dnx RawSqlMcp@0.0.2Package: RawSqlMcp on NuGet
Configuration
Databases are configured with environment variables under RawSqlMcpDatabases.
SQLite:
export RawSqlMcp__Databases__Local__Provider="sqlite"
export RawSqlMcp__Databases__Local__ConnectionString="Data Source=/absolute/path/app.db"PostgreSQL:
export RawSqlMcp__Databases__Reporting__Provider="postgres"
export RawSqlMcp__Databases__Reporting__ConnectionString="Host=localhost;Port=5432;Database=reporting;Username=postgres;Password=postgres"MySQL/MariaDB:
export RawSqlMcp__Databases__Shop__Provider="mysql"
export RawSqlMcp__Databases__Shop__ConnectionString="Server=localhost;Port=3306;Database=shop;User ID=mysql;Password=mysql"SQL Server:
export RawSqlMcp__Databases__Default__Provider="sqlserver"
export RawSqlMcp__Databases__Default__ConnectionString="Server=localhost,1433;Database=master;User Id=sa;Password=Your_password123;TrustServerCertificate=True"Optional command timeout, in seconds:
export RawSqlMcp__CommandTimeout=30[!INFO]
The legacy RawSqlMcpConnectionStringsDefault="..." format is obsolete. It still works for compatibility and is interpreted as SQL Server.
Usage
Register the server in an MCP client as a STDIO server:
{
"servers": {
"raw-sql-mcp": {
"command": "dnx",
"args": ["RawSqlMcp"],
"env": {
"RawSqlMcp__Databases__Default__Provider": "sqlserver",
"RawSqlMcp__Databases__Default__ConnectionString": "Server=localhost,1433;Database=master;User Id=sa;Password=Your_password123;TrustServerCertificate=True"
}
}
}
}The server exposes tools for listing configured database names, reading schema metadata, and executing raw, parameterized, and scalar SQL queries.
Nothing above is checked by us. What we check is on the safety report.
Raw SQL MCP: common questions
- Is Raw SQL MCP server safe?
- Mostly: it is graded B (73/100). Read the Raw SQL MCP safety report
- Does Raw SQL MCP need an API key?
- Yes. The registry entry asks for
RawSqlMcp__Databases__Default__ConnectionString,RawSqlMcp__ConnectionStrings__Default. - Is Raw SQL MCP maintained?
- The last commit was 64 days ago (2026-09-01). The latest release is v0.1.0.
- What can I use instead of Raw SQL MCP?
- Servers from other publishers that do the same job: DBHub MCP server, Faucet MCP server and NeoSQL MCP server.
Alternatives to Raw SQL MCP
Same job from other publishers: the closest match first, then the best rated.
- DBHubToken-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLitenot reviewedWidely usedA
- FaucetSQL database to MCP tools and REST API: PostgreSQL, MySQL, SQL Server, Oracle, SQLite, Snowflake.not reviewedEstablishedA
NeoSQL MCPSchemas, SQL, ERDs, and codegen for PostgreSQL, MySQL, Oracle, SQLite, and more via NeoSQL Desktop.not reviewedGrowingA- DB ExplorerRead-only SQL for PostgreSQL, MySQL and SQLite: schema, safe SELECTs, EXPLAIN, index advicenot reviewedGrowingB
- LINQ to DBInspect database schemas and execute SQL queries across multiple database providers with LINQ to DB.not reviewedEstablishedA