Mongodb MCP Server vs Hana MCP Server

A side-by-side look at the Mongodb MCP Server and Hana MCP Server MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.

Mongodb MCP Server logoMongodb MCP ServerDatabases · Local subprocess (stdio)A Model Context Protocol server to connect to MongoDB databases and MongoDB Atlas Clusters.67GreatAuth: otherHana MCP Server logoHana MCP ServerDatabases · Local subprocess (stdio)SAP HANA MCP server — Model Context Protocol server for SAP HANA and HANA Cloud. Use with Claude Code, VS Code, and other AI agents.69GreatAuth: other

Verdict: choose Mongodb MCP Server for databases work as a local process; choose Hana MCP Server for databases as a local process. You can also run both side by side in one mcpServers block.

Which MCP server should you choose?

Mongodb MCP Server logoChoose Mongodb MCP Server 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: MDB_MCP_CONNECTION_STRING.
  • You want tools like aggregate, aggregate-db, collection-indexes.
Explore Mongodb MCP Server

Hana MCP Server logoChoose Hana MCP Server 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: HANA_HOST, HANA_PORT, HANA_USER, HANA_PASSWORD, HANA_SCHEMA.
  • You want tools like hana_show_config, hana_test_connection, hana_list_schemas.
Explore Hana MCP Server

Feature & specification comparison

Rows where the two servers differ are marked.

SpecMongodb MCP Server logoMongodb MCP ServerHana MCP Server logoHana MCP Server
CategoryDatabasesDatabases
Quality signal67/100 · Great69/100 · Great
Install commandConfirmedConfirmed
TransportLocal subprocess (stdio)Local subprocess (stdio)
Authotherother
PricingFreeFree
Required env varsMDB_MCP_CONNECTION_STRINGHANA_HOSTHANA_PORTHANA_USERHANA_PASSWORDHANA_SCHEMA
Verified ownerCommunity listingCommunity listing
GitHub stars1,15072
Directory activity 1 views 0 installs 0 upvotes 6 views 0 installs 0 upvotes
Tools5334

Tools & capabilities

Mongodb MCP Server tools 53

  • aggregateRun an aggregation against a MongoDB collection
  • aggregate-dbRun an aggregation against a MongoDB database
  • collection-indexesDescribe the indexes for a collection
  • collection-schemaDescribe the schema for a collection
  • collection-storage-sizeGets the size of the collection
  • connectConnect to a MongoDB instance
  • countGets the number of documents in a MongoDB collection using db.collection.count() and query as an optional filter parameter
  • create-collectionCreates a new collection in a database. If the database doesn't exist, it will be created automatically.
  • create-indexCreate an index for a collection
  • db-statsReturns statistics that reflect the use state of a single database
  • delete-manyRemoves all documents that match the filter from a MongoDB collection
  • disconnectClose a MongoDB connection and revoke its connectionId.
  • +41 more on the listing page

Hana MCP Server tools 34

  • hana_show_configShow the HANA database configuration
  • hana_test_connectionTest connection to HANA database
  • hana_list_schemasList schemas in the HANA database with optional prefix filter and pagination (HANA_LIST_DEFAULT_LIMIT / offset).
  • hana_show_env_varsShow all HANA-related environment variables (for debugging)
  • hana_list_tablesList tables in a schema with optional name prefix and pagination (HANA_LIST_DEFAULT_LIMIT / offset).
  • hana_describe_tableDescribe the structure of a specific table
  • hana_explain_tableReturn column metadata merged with optional business semantics from HANA_SEMANTICS_PATH or HANA_SEMANTICS_URL (JSON keys: SCHEMA.TABLE or DB.SCHEMA.TABLE when catalog_database is set). Optional catalog_database reads SYS.* from another MDC database (e.g. HSP).
  • hana_list_indexesList all indexes for a specific table
  • hana_describe_indexDescribe the structure of a specific index
  • hana_execute_queryExecute SQL against HANA. When HANA_QUERY_LIMITS_ENABLED=true, SELECT/WITH queries are wrapped with LIMIT/OFFSET (HANA_MAX_RESULT_ROWS) and row/column/cell caps apply; results are returned as-is otherwise. INSERT/UPDATE/DELETE are blocked by default; set HANA_ALLOW_INSERT, HANA_ALLOW_UPDATE, HANA_ALLOW_DELETE=true individually to permit each. Use limit, offset, maxRows, includeTotal as needed. If truncated, snapshotId may be returned for hana_query_next_page.
  • hana_query_next_pageFetch the next page of a truncated SELECT using snapshotId from a previous hana_execute_query result (same SQL and parameters; TTL HANA_QUERY_SNAPSHOT_TTL_MS).
  • hana_list_constraintsList primary key, unique, check, and foreign key constraints for a table (SYS.CONSTRAINTS + SYS.REFERENTIAL_CONSTRAINTS).
  • +22 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.

Mongodb MCP Server

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "mongodb-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "mongodb-mcp-server@latest"
      ],
      "env": {
        "MDB_MCP_CONNECTION_STRING": "YOUR_MDB_MCP_CONNECTION_STRING_HERE"
      }
    }
  }
}

Hana MCP Server

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "hana-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "hana-mcp-ui"
      ],
      "env": {
        "HANA_HOST": "YOUR_HANA_HOST_HERE",
        "HANA_PORT": "YOUR_HANA_PORT_HERE",
        "HANA_USER": "YOUR_HANA_USER_HERE",
        "HANA_PASSWORD": "YOUR_HANA_PASSWORD_HERE",
        "HANA_SCHEMA": "YOUR_HANA_SCHEMA_HERE"
      }
    }
  }
}

Frequently asked questions

Mongodb MCP Server is categorized under Databases and uses a local stdio subprocess. Hana MCP Server belongs to Databases and uses a local stdio subprocess. Pick Mongodb MCP Server for databases work and Hana MCP Server 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.

Mongodb MCP Server is listed as free. Auth: other. Hana MCP Server is listed as free. Auth: other. 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 mongodb-mcp-server and hana-mcp-server as separate keys in the same mcpServers object, and your assistant will call tools from either one.

On AllMCPs, Mongodb MCP Server has a quality signal of 67/100 (Great) with 1 views, 0 installs and 1,150 GitHub stars. Hana MCP Server has 69/100 (Great) with 6 views, 0 installs and 72 GitHub stars.