Best of · Developer & infrastructure

Best database, file and memory tools for AI agents

The 10 highest-scoring of 20 database, file and memory tools on the Anchor benchmark, with a pick for each need and where each one falls short. Scores come from public evidence, re-checked as vendors change.

  • 20 ranked
  • 10 agent-ready
  • 2 accept x402
  • 9 hosted endpoints
  • Updated 23 November 2026

Top three

Picks by need

Worked out from the scores, prices and facts, so they change when the research does.

Highest score overall

MongoDB MCP Server A

A, 83.9/100 on the benchmark.

Also MCP Toolbox for Databases, A, 81.4/100.

Schema & documentation

Neon MCP Server BB

90/100 on schema & documentation, against 81 for the overall leader.

Agent ergonomics

Appwrite API + MCP A

90/100 on agent ergonomics, against 75 for the overall leader.

Security & auth

Appwrite API + MCP A

91/100 on security & auth, against 81 for the overall leader.

Maintenance & community

MCP Toolbox for Databases A

95/100 on maintenance & community, against 94 for the overall leader.

Transparency & trust

Supabase API + MCP BB

90/100 on transparency & trust, against 84 for the overall leader.

Paying per call with no account (x402)

CoinMarketCap x402 API BB

accepts x402, $0.01 a call.

Also Nansen x402 API, accepts x402, $0.01 a call.

A hosted MCP endpoint

Appwrite API + MCP A

remote MCP server, nothing to install.

Self-hosting under an open licence

MCP Toolbox for Databases A

self-hosted, Apache-2 licence.

Also Appwrite API + MCP, self-hosted, BSD-3-Clause licence.

The shortlist

#ToolGradeBest forPriceWhere
1 MongoDB MCP Server
MongoDB
A 83.9 Agents that query or administer MongoDB and Atlas, with read-only and confirmation controls an operator can rely on. Free · OSS Local
2 MCP Toolbox for Databases
Google
A 81.4 Agents and coding assistants that need one server across Google Cloud data services and common databases, or production agents with curated SQL tools. Free · OSS Local
3 Appwrite API + MCP
Appwrite
A 79.6 Agents building or operating an app backend with users, tables, files, functions and sites in one project. $25 / mo Hosted and local
4 Supabase API + MCP
Supabase
BB 76.2 Agents building on or administering Supabase projects, and for retrieval that wants vectors, full-text and SQL filters in one database. $25 / mo Hosted and local
5 Neon MCP Server
Neon (Databricks)
BB 75 Agents building on Neon Postgres in development, especially branch-per-change workflows. supabase-mcp and planetscale-mcp are the nearest listings; Neon itself advises against pointing it at production. $0.106 / unit Hosted
6 DBHub
Bytebase
BB 74.1 Coding agents exploring and querying a local or staging database across several engines. postgres-mcp-pro, mongodb-mcp, clickhouse-mcp-server and supabase-mcp are the nearest listings; MCP Toolbox for Databases covers more sources with more tools. Free · OSS Local
7 Firebase MCP server
Google
BB 72.8 Coding agents building and running a Firebase app, from setup to data, users, rules, deploys and crash triage. Free · OSS Local
8 ClickHouse MCP Server
ClickHouse
BB 72.5 Teams with a ClickHouse database, self-managed or Cloud, that want an agent to explore schemas and run analytical SQL, read-only unless told otherwise. Free · OSS Local
9 CoinMarketCap x402 API
CoinMarketCap
BB 71.1 Agents that need current prices, rankings or DEX pair quotes without an account and can batch symbols. $0.01 / call Hosted
10 PlanetScale MCP Server
PlanetScale
BB 70.6 Agents that inspect and tune an existing PlanetScale database, using Insights, schema recommendations, error patterns and logs, with SQL when granted. $5 / mo Hosted

10 more are ranked in the full table.

How to choose

  1. Read and write scopeCheck whether access can be limited to read or write on named tables, collections or folders, since an agent with broad write access can destroy data.
  2. Self-hosted or hosted storageCheck whether a local file or memory tool keeps data on the agent's own machine or a hosted service, because that decides which data protection terms apply.
  3. Rate limits and result capsCheck the rate limits and row or result caps, since an agent that loops over queries will hit a throttle or get a truncated result without noticing.
  4. Network path and sub-processorsCheck which network paths and sub-processors touch query data, since a hosted database may route an agent's rows through infrastructure its operator never approved.

Each one in detail

#1

MongoDB MCP Server

A 83.9/100

MongoDB's official MCP server for querying and managing databases and Atlas resources, with configurable tool access.

Verdict --readOnly drops every create, update and delete tool, and --disabledTools trims by name, category or operation type. 53 tools with Atlas credentials, and most database tool descriptions are one line.

Best for Agents that query or administer MongoDB and Atlas, with read-only and confirmation controls an operator can rely on.

Strengths

  • --readOnly drops every create, update and delete tool, and --disabledTools trims by name, category or operation type
  • Drops, delete-many, user and access-list creation and $out or $merge pipelines ask for confirmation through elicitation by default
  • Results arrive inside per-call untrusted-data tags with a warning, on by default

Weaknesses

  • 53 tools with Atlas credentials, and most database tool descriptions are one line
  • Every database call needs connectionId since v2.0.0, even with a configured connection string
  • Confirmation is skipped without a prompt when the client doesn't support elicitation

Price Free · OSSAuth OAuth or keyx402 NoLocal

Full assessment

#2

MCP Toolbox for Databases

A 81.4/100

MCP Toolbox for Databases is Google's open-source MCP server for more than 30 data sources, among them BigQuery, AlloyDB, Cloud SQL, Spanner and PostgreSQL. It runs as a binary or container with prebuilt or custom tools from tools.yaml.

Verdict One self-hosted server reaches 57 source types, with engine-level read-only locks, toolsets, optional OAuth 2.1 and fortnightly semver releases under Apache-2.0. Prebuilt sets list 9 to 41 tools, origin and host checks default to any, and 432 issues and pull requests are open.

Best for Agents and coding assistants that need one server across Google Cloud data services and common databases, or production agents with curated SQL tools.

Strengths

  • 57 source types and 39 prebuilt configurations, from BigQuery and AlloyDB to PostgreSQL, MySQL, MongoDB and Snowflake
  • Read-only mode locks the database session, hides write tools and sets readOnlyHint
  • Custom tools in tools.yaml fix SQL and bind parameters to the signed-in user's claims

Weaknesses

  • --allowed-origins and --allowed-hosts default to *, which the docs call unsafe
  • Prebuilt PostgreSQL set lists 29 tools and AlloyDB 41 unless a toolset is chosen
  • 432 open issues and pull requests

Price Free · OSSAuth OAuth or keyx402 NoLocal

Full assessment · Against #1, MongoDB MCP Server

#3

Appwrite API + MCP

A 79.6/100

Appwrite is an open-source backend platform with databases, storage, auth, functions, messaging and hosting, run on Appwrite Cloud or self-hosted. Agents reach it through REST, GraphQL, SDKs and a hosted OAuth MCP server.

Verdict Appwrite's hosted MCP server fronts the whole backend API with five tools, scoped OAuth, separate read and write calls and a recorded reason for every change, over an open-source core. The status page shows several regional incidents over an hour in the last 90 days, and nothing lets an agent sign up or pay without a person.

Best for Agents building or operating an app backend with users, tables, files, functions and sites in one project.

Strengths

  • Five MCP tools with runtime tool search keep the context small while every service stays reachable
  • OAuth scopes per service and action, and writes go through a separate tool that needs confirm_write: true and a reason
  • Core server is BSD-3-Clause open source and can be self-hosted, with a local MCP server for that case

Weaknesses

  • 10 incidents on the status page from 1 September to 23 November 2026, several over an hour, including 2 hours 44 minutes of Sites returning 404
  • The hosted MCP server works only with Appwrite Cloud. Self-hosted instances need the local server and an API key
  • Rate limits apply to client SDKs only and are given per route, with no general backoff or idempotency guidance found

Price $25 / moAuth OAuthx402 NoHosted and local

Full assessment · Against #1, MongoDB MCP Server

#4

Supabase API + MCP

BB 76.2/100

Hosted Postgres with an auto-generated REST API (PostgREST), GraphQL, auth, storage, realtime and Edge Functions, plus a Management API and an official MCP server.

Verdict OAuth 2.1 with dynamic client registration, plus personal access tokens scoped to chosen projects and permissions. The status feed lists 3 critical and 6 major platform incidents between 31 August and 31 October 2026.

Best for Agents building on or administering Supabase projects, and for retrieval that wants vectors, full-text and SQL filters in one database.

Strengths

  • OAuth 2.1 with dynamic client registration, plus personal access tokens scoped to chosen projects and permissions
  • read_only, project_ref and features cut the server from 38 tools to as few as 6 and run SQL as a read-only role
  • Destructive SQL and cost-bearing creates ask for confirmation through elicitation since v0.13.0

Weaknesses

  • The status feed lists 3 critical and 6 major platform incidents between 31 August and 31 October 2026, three of the majors on 21 and 22 October
  • Read-write with eight feature groups is the default, and the agent plugin has no read-only option
  • Untrusted data in tables can still steer an agent that reads it, as Supabase says itself

Price $25 / moAuth OAuth or keyx402 NoHosted and local

Full assessment · Against #1, MongoDB MCP Server

#5

Neon MCP Server

BB 75/100

Neon's official remote MCP server at mcp.neon.tech/mcp lets agents manage Neon Postgres projects, branches, roles and computes, run SQL and migrations on temporary branches, and configure Neon Auth, Data API and storage, through OAuth or an API key.

Verdict OAuth with read or write scopes, per-project and per-role grants, read-only SQL in READ ONLY transactions, and migrations tried on temporary branches. With no grant it lists 138 tools, the README advises against production use, and it sends account name and email to Segment with no opt-out for hosted users.

Best for Agents building on Neon Postgres in development, especially branch-per-change workflows. supabase-mcp and planetscale-mcp are the nearest listings; Neon itself advises against pointing it at production.

Strengths

  • OAuth 2.1 with read and write scopes, and grants fixed to one project, one Postgres role and chosen categories
  • Read-only mode runs SQL in READ ONLY transactions and withholds connection strings
  • Migrations and query tuning run on a temporary branch before they touch the main one

Weaknesses

  • 138 tools listed when no category or project is set
  • The README says it isn't recommended for production databases
  • Segment receives account ID, name and email on connect, with no opt-out on the hosted server

Price $0.106 / unitAuth OAuthx402 NoHosted

Full assessment · Against #1, MongoDB MCP Server

#6

DBHub

BB 74.1/100

DBHub is Bytebase's open-source MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle and SQLite. It runs locally over stdio or HTTP with two default tools, SQL execution and schema search, plus read-only and row-limit guardrails.

Verdict Two compact tools reach six SQL engines, with a read-only mode that PostgreSQL enforces in the database itself and annotations that follow it, released often under MIT. HTTP mode binds all interfaces with authentication off by default, there is no security policy, and query results reach the model unmarked.

Best for Coding agents exploring and querying a local or staging database across several engines. postgres-mcp-pro, mongodb-mcp, clickhouse-mcp-server and supabase-mcp are the nearest listings; MCP Toolbox for Databases covers more sources with more tools.

Strengths

  • Two default tools, execute_sql and search_objects, at about 1.4k tokens
  • Read-only mode classifies statements and uses READ ONLY transactions on PostgreSQL
  • One server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle and SQLite

Weaknesses

  • HTTP transport binds 0.0.0.0 with bearer authentication off unless configured
  • No SECURITY.md, disclosure route or changelog file
  • Query results reach the model with no untrusted-content marking

Price Free · OSSAuth Nonex402 NoLocal

Full assessment · Against #1, MongoDB MCP Server

#7

Firebase MCP server

BB 72.8/100

Google's MCP server for Firebase, shipped in the Firebase CLI and run locally. It lets coding agents manage projects and apps, work with Firestore, Realtime Database, SQL Connect and Auth, deploy, and read Crashlytics and function logs.

Verdict The Firebase CLI's MCP server lets coding agents work on a whole Firebase project, from Firestore and Auth to deploys and Crashlytics, and loads only the feature groups a project uses. It acts with the developer's full signed-in rights, has no read-only mode, and its registry entry is a year behind the CLI.

Best for Coding agents building and running a Firebase app, from setup to data, users, rules, deploys and crash triage.

Strengths

  • 69 tools across Firestore, Realtime Database, SQL Connect, Auth, Crashlytics, Remote Config, Functions, App Hosting and deploys, from one npx firebase-tools@latest mcp
  • Loads only the feature groups detected in firebase.json and the enabled APIs, with --only and --tools to narrow it
  • MIT, shipped in firebase-tools with weekly releases (15.37.0 on 18 November 2026) and dated release notes

Weaknesses

  • Acts with the developer's full project rights and has no read-only mode. Deletes, writes and deploys rely on the client's approval prompt
  • destructiveHint is missing from local write tools such as realtimedatabase_set_data and firebase_deploy
  • The registry's latest entry (0.3.0, 4 December 2025) still points at firebase-tools 14.27.0

Price Free · OSSAuth OAuthx402 NoLocal

Full assessment · Against #1, MongoDB MCP Server

#8

ClickHouse MCP Server

BB 72.5/100

ClickHouse's open-source MCP server for ClickHouse databases. The owner runs it locally or self-hosted, and it gives agents SQL queries, database and table listing, and an optional embedded chDB engine. Queries are read-only by default.

Verdict Queries run with readonly=1 unless the operator sets a write flag, and a second flag gates destructive statements. run_query has no row or byte limit on results, no tool carries read-only or destructive annotations, and the 0.3.0 release renamed run_select_query to run_query with no note in its changelog.

Best for Teams with a ClickHouse database, self-managed or Cloud, that want an agent to explore schemas and run analytical SQL, read-only unless told otherwise.

Strengths

  • Read-only by default through ClickHouse's readonly=1 setting, with CLICKHOUSE_ALLOW_WRITE_ACCESS and CLICKHOUSE_ALLOW_DROP as separate opt-ins
  • Three tools by default (run_query, list_databases, list_tables) and a fourth, run_chdb_select_query, only when chDB is enabled
  • HTTP and SSE transports refuse to start without a bearer token, a FastMCP OAuth or OIDC provider, or an explicit disable flag, and validate Host and Origin headers

Weaknesses

  • run_query returns every row. Issue #223, open since 23 August 2026 with no reply, reports a 231 MiB result from one SELECT *
  • No tool declares readOnlyHint or destructiveHint. Pull request #184 adding annotations has been open since 22 May 2026
  • Release 0.3.0 renamed run_select_query to run_query without saying so in its changelog or release notes, and ClickHouse's Remote MCP comparison table still uses the old name

Price Free · OSSAuth OAuth or keyx402 NoLocal

Full assessment · Against #1, MongoDB MCP Server

#9

CoinMarketCap x402 API

BB 71.1/100

CoinMarketCap market-data endpoints for cryptocurrency and DEX quotes, with per-call USDC payments through x402.

Verdict x402 on four endpoints and an MCP endpoint at $0.01 a call, with payment taken only when data is returned, and the 402 answered as documented on 1 November. Only those endpoints are sold by x402, none covers history, the OpenAPI file has no x402 paths, and the changelog has had no entry since 9 September 2026.

Best for Agents that need current prices, rankings or DEX pair quotes without an account and can batch symbols.

Strengths

  • x402 on four endpoints and an MCP endpoint at $0.01 a call, with payment taken only when data is returned
  • Quotes accept many symbols per call, with batches up to 250 items since August 2026
  • Free Basic plan with 15,000 credits a month, and a keyless /public-api mode for 19 endpoints

Weaknesses

  • Only four REST endpoints are sold by x402, and none of them covers history
  • x402 calls are limited to 30 a minute per wallet
  • No Retry-After on 429, only a 60-second reset rule

Price $0.01 / callAuth Nonex402 AcceptedHosted

Full assessment

#10

PlanetScale MCP Server

BB 70.6/100

PlanetScale's hosted MCP server connects agents to PlanetScale Postgres, Vitess and Neki databases. Its 26 tools cover organisations, branches, schema, read and write SQL, Insights data, branch metrics, Postgres logs, invoices and documentation search, with OAuth or a service token.

Verdict OAuth scopes set no, read-only or full database access per organisation or database, each query runs on a credential created and deleted for that call, and an insights-only endpoint drops both SQL tools. Destructive statements are gated by a flag the model sets itself, no limit is stated for the MCP server, and every plan needs a card.

Best for Agents that inspect and tune an existing PlanetScale database, using Insights, schema recommendations, error patterns and logs, with SQL when granted.

Strengths

  • OAuth scopes grant no, read-only or full access per organisation or per database, and administrators can cap query access for all members since 8 October 2026
  • Each query uses a database credential created for that call and deleted afterwards, and read queries run under a reader role
  • An insights-only endpoint omits planetscale_execute_read_query and planetscale_execute_write_query

Weaknesses

  • DELETE and DDL confirmation is a confirm_destructive flag the model sets, not a prompt the client shows the person
  • The write-query check matches the start of the statement by regular expression, so a statement behind a leading comment or a type it does not list is not matched, per the source
  • The API's 600 requests a minute is the only limit found. The MCP docs state none, and 429 comes with no Retry-After

Price $5 / moAuth OAuth or keyx402 NoHosted

Full assessment · Against #1, MongoDB MCP Server

Head to head

All 170 comparisons in this category

Questions

What are the highest-rated database, file and memory tools for AI agents?

MongoDB MCP Server has the highest benchmark score of the 20 ranked database, file and memory tools, 83.9 (A). MCP Toolbox for Databases is second with 81.4 (A).

How many database, file and memory tools are agent-ready?

10 of the 20 ranked here grade BB or better, the bar for agent-ready on the Anchor benchmark.

Which database, file and memory tools accept x402 payments?

CoinMarketCap x402 API and Nansen x402 API. An agent can pay these per call in USDC with no account.

How is this list ranked?

By the Anchor benchmark score out of 100, a weighted mean of the scored categories minus deductions for negative events, from public evidence re-checked as vendors change. Listings cannot pay for a place. The latest assessment behind this page is from 23 November 2026.

How this list is made

The order is the Anchor benchmark score, the same number as on each listing and in the top list. Each listing is graded from public evidence against the benchmark checklist, and the picks above are worked out from those grades, prices and facts. No listing pays for its place, and paid audits or listing help never change a score.

Full ranked table · 170 head-to-head comparisons · Best tools in every category

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.