Postgres MCP vs Matih MCP
A side-by-side look at the Postgres MCP and Matih MCP MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.
Verdict: choose Postgres MCP for databases work as a local process; choose Matih MCP for databases as a local process. You can also run both side by side in one mcpServers block.
Which MCP server should you choose?
Choose Postgres MCP when
- You need dedicated capabilities in the Databases domain.
- You prefer a local stdio subprocess transport.
- Its auth model fits you: other.
- You have the keys it needs:
POSTGRES_USER, POSTGRES_PASSWORD, POSTGRES_DB. - You want tools like
query, execute, explain_query.
Choose Matih MCP when
- You need dedicated capabilities in the Databases domain.
- You prefer a local stdio subprocess transport.
- You want tools like
ask, run_sql, run_analysis.
Feature & specification comparison
Rows where the two servers differ are marked.
| Spec | ||
|---|---|---|
| Category | Databases | Databases |
| Quality signal | 60/100 · Good | 51/100 · Good |
| Install command | Confirmed | Confirmed |
| Transport | Local subprocess (stdio) | Local subprocess (stdio) |
| Auth | other | Not declared |
| Pricing | Free | Not declared |
| Required env vars | POSTGRES_USERPOSTGRES_PASSWORDPOSTGRES_DB | None listed |
| Verified owner | Community listing | Community listing |
| GitHub stars | 12 | 0 |
| Directory activity | 4 views 0 installs 0 upvotes | 2 views 0 installs 0 upvotes |
| Tools | 15 | 30 |
| Full listing | View Postgres MCP | View Matih MCP |
Tools & capabilities
Postgres MCP tools 15
queryExecute read-only SQL queries against the databaseexecuteExecute write operations (INSERT/UPDATE/DELETE) when enabledexplain_queryGet EXPLAIN plan for query optimizationlist_schemasList all schemas in the databaselist_tablesList tables in a specific schemadescribe_tableGet table structure (columns, types, constraints)list_viewsList views in a schemadescribe_viewGet view definition and columnslist_functionsList functions and procedurestable_statsGet table statistics (row count, size, bloat)list_indexesList indexes for a tablelist_constraintsList constraints (PK, FK, UNIQUE, CHECK)- +3 more on the listing page
Matih MCP tools 30
askrun_sqlrun_analysisget_query_resultexport_resultlist_connectionslist_databaseslist_schemaslist_tablesdescribe_tableprofile_tablesearch_ontology- +18 more on the listing page
Ready-to-paste client configs
Paste either block (or both) into your client config, e.g. claude_desktop_config.json or ~/.cursor/mcp.json. We only show a config when the install command is confirmed.
Postgres MCP
{
"mcpServers": {
"javimaligno-postgres-mcp": {
"command": "npx",
"args": [
"-y",
"@javiagui/postgresql-mcp"
],
"env": {
"POSTGRES_USER": "YOUR_POSTGRES_USER_HERE",
"POSTGRES_PASSWORD": "YOUR_POSTGRES_PASSWORD_HERE",
"POSTGRES_DB": "YOUR_POSTGRES_DB_HERE"
}
}
}
}
Matih MCP
{
"mcpServers": {
"mcp-16": {
"command": "npx",
"args": [
"-y",
"@matihlabs/mcp"
]
}
}
}
Frequently asked questions
Postgres MCP is categorized under Databases and uses a local stdio subprocess. Matih MCP belongs to Databases and uses a local stdio subprocess. Pick Postgres MCP for databases work and Matih MCP for databases.
Copy the mcpServers block from the config section on this page into your client's config (for example claude_desktop_config.json or ~/.cursor/mcp.json), then fully restart the client.
Postgres MCP is listed as free. Auth: other. Matih MCP has no declared pricing — check the project's own site. If a server needs environment variables such as API keys, define them under the env key in your client's MCP config.
Yes. MCP clients support multiple servers: add javimaligno-postgres-mcp and mcp-16 as separate keys in the same mcpServers object, and your assistant will call tools from either one.
On AllMCPs, Postgres MCP has a quality signal of 60/100 (Good) with 4 views, 0 installs and 12 GitHub stars. Matih MCP has 51/100 (Good) with 2 views, 0 installs and 0 GitHub stars.