freebase.cloud

cloud.freebase由 freebase.cloud 發布官方發布者v1.0.0更新於 Nov 2, 2026

Free cloud databases over MCP: query, store, list and annotate across 15 engines.

已驗證Streamable HTTP可網頁執行資料庫雲端與基礎設施

概覽

AI 產生的概覽

託管式免費雲端資料庫服務,為每個連線提供四個工具,讓助理在 15 種資料庫引擎上查詢、寫入、列出與標註資料。

可以做什麼
  • 以各引擎原生語言查詢資料:SQL、CQL、Cypher、Flux、PromQL、Elasticsearch 查詢 DSL、Mongo 查詢/聚合或 Redis 指令
  • 對資料表、集合、索引、measurement 或鍵寫入與 upsert 記錄
  • 列出連線中的容器,例如資料表、集合、keyspace、索引、measurement 或鍵
  • 為資料表附加人工撰寫的說明,讓模型了解各欄位的意義
  • PostgreSQL 另有 dump、restore 與資料表列表輔助工具,SQLite 則有 schema 與版本輔助工具
適用情境
適合想讓助理直接使用託管資料庫、而不自行架設的場合,例如原型開發、小型工作負載,或在 PostgreSQL、MongoDB、Redis、ClickHouse、Neo4j 等引擎間探索資料。免費方案以開發與原型為主,並非供正式生產使用。
執行需求
遠端 Streamable HTTP 端點(freebase.cloud),不需本機套件或執行環境。需要 freebase.cloud 帳號(註冊免信用卡)、建立工作階段並選擇引擎,以及在 Settings → MCP 簽發的 MCP 權杖。權杖位於端點 URL 路徑中,不使用標頭或環境變數。用戶端須支援 Streamable HTTP。
安裝前請注意
端點 URL 內含權杖,URL 本身就是憑證:請勿提交到版本庫或貼進共用設定,外洩後應重新簽發。工具可寫入與 upsert 資料;部分用戶端目前僅有唯讀權限,寫入權限仍在逐步開放。服務未承諾 SLA、備份保證或儲存容量,無法承受遺失的資料請自行備份。資料存放於第三方託管服務。

AI 概覽如何產生和驗證

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 freebase.cloud,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

free-database-mcp-server

[15 engines] [MCP 2026-07-28] [Transport] [Clients] [MIT]

A reference for connecting any MCP client to a free cloud database. Fifteen engines, one endpoint shape, four tools per connection — with every engine's version and dialect, every client's config file and its exact key names, and a troubleshooting section built from the mistakes those key names cause. For a task-oriented walkthrough, the companion repo mcp-database-server-free is organised by job.

Jump to: engines · access model · tools · client setup · troubleshooting · picking an engine · examples

Engines

EngineVersionDialectCLI it speaksPortAccess
PostgreSQL16.2SQLpsql5432Native TCP + HTTP + MCP
MySQL8.0.36SQLmysql3306HTTP + MCP
MongoDB7.0.4Document / NoSQLmongosh27017Native TCP + HTTP + MCP
Redis7.2.3Key-Value / In-Memoryredis-cli6379Native TCP + HTTP + MCP
SQLite3.45.1SQLsqlite3—HTTP + MCP
Apache Cassandra4.1.4Wide-Column / CQLcqlsh9042HTTP + MCP
DynamoDB2024.1Key-Value / Documentaws CLI—HTTP + MCP
ClickHouse24.1.5Columnar / OLAP SQLclickhouse-client9000HTTP + MCP
Elasticsearch8.12.0Search / Query DSLcurl / ES client9200HTTP + MCP
Neo4j5.17.0Graph / Cyphercypher-shell7687HTTP + MCP
MariaDB11.3.2SQLmysql3306HTTP + MCP
InfluxDB2.7.4Flux / InfluxQLinflux8086HTTP + MCP
Prometheus2.50.1PromQLpromtool / curl9090HTTP + MCP
TimescaleDB2.14.2SQL (PostgreSQL + Timescale)psql5432HTTP + MCP
CockroachDB23.2.4SQL (PostgreSQL-compatible)cockroach sql / psql26257HTTP + MCP

Port is the port that engine's protocol conventionally uses — it tells you which dialect and client tooling apply, not that a socket is listening. Each engine has a page at https://freebase.cloud/free-<slug>-cloud-instance (slugs: postgresql, mysql, mongodb, redis, sqlite, cassandra, dynamodb, clickhouse, elasticsearch, neo4j, mariadb, influxdb, prometheus, timescaledb, cockroachdb), plus a Claude guide at https://freebase.cloud/how-to-connect-claude-to-<slug> — for example the Elasticsearch instance page.

How access works

Two distinct paths. Confusing them is the source of most setup trouble.

Native wire protocol — three engines. PostgreSQL, Redis and MongoDB accept real drivers over their real protocols: psql/libpq/Prisma/SQLAlchemy/pgx, redis-cli/ioredis/redis-py/Lettuce over RESP2, mongosh/Mongoose/the native driver over OP_MSG. Nothing is proxied or reshaped.

postgresql://freebase@HOST:5432/DBNAME    redis://HOST:6379    mongodb://HOST:27017/DBNAME

HTTP and MCP — all fifteen. The other twelve are reached through the hosted HTTP query API and through MCP. They speak their own dialects — CQL to Cassandra, Cypher to Neo4j, Flux to InfluxDB — but the transport is HTTP, not a raw socket. If you are wiring up an AI assistant this is the path you want regardless of engine, because it is identical for all of them:

https://freebase.cloud/api/mcp/YOUR_TOKEN

The token sits in the URL path, so no Authorization header appears anywhere in this document. The consequence: the URL is the credential. Don't commit it, don't paste it into a shared config, and rotate it from Settings → MCP if you do either. Transport is Streamable HTTP, which uses server-sent events internally for streamed responses — not the same thing as the deprecated HTTP+SSE transport with its separate /sse endpoint and POST /messages. Clients offering both: choose streamable.

The four tools

Four tools per connection, prefixed with the connection name you chose, not the engine name. A connection called db gives you:

ToolPurposeWhat it means per engine
db_queryRead, in the engine's native languageSQL · CQL · Cypher · Flux · PromQL · ES query DSL · Mongo find/aggregate · Redis commands
db_storeInsert, upsert, writeINSERT · MERGE · _bulk · line protocol · SET · PutItem
db_list_tablesEnumerate containerstables · collections · keyspaces · indices · measurements · metric names · keys
db_annotate_tableAttach a human description to a containerso the model knows what the columns mean

Two engines add helpers: PostgreSQL gets pg_dump, pg_restore and pg_tables; SQLite gets sqlite_master and sqlite_version.

Use annotate_table. Highest-return five minutes in this document. A model that can list your tables still has to guess whether status holds 'active' or 1, whether amount_cents is cents or dollars, and whether deleted_at IS NULL is how you filter. One paragraph per table, written once, persists on the connection and applies to every conversation in every client using that token.

Quickstart

Sign up on the freebase.cloud dashboard (no card), create a session, pick an engine, then Settings → MCP → New Token → select the connection → copy the URL. Confirm it works before configuring any client — four tool names printed means anything still broken is configuration:

export FREEBASE_MCP_URL="https://freebase.cloud/api/mcp/YOUR_TOKEN"
python3 examples/list_tools.py

Client setup

ClientConfig locationTop-level keyURL keytype value
Claude Desktop / web / CoworkUI only———
Claude Code.mcp.json / user configmcpServersurl"http" (required)
ChatGPTUI (developer mode)———
OpenAI Responses APIrequest bodytools[]server_url"mcp"
Cursor~/.cursor/mcp.json or .cursor/mcp.jsonmcpServersurlomit entirely
Windsurf~/.codeium/windsurf/mcp_config.jsonmcpServersserverUrl—
VS Code / Copilot Chat.vscode/mcp.jsonserversurl"http"
Zedsettings.jsoncontext_serversurl—
ClineMCP settings JSONmcpServersurl"streamableHttp"
Roo Code.roo/mcp.jsonmcpServersurl"streamable-http"
Gemini CLIsettings.jsonmcpServershttpUrl—
WarpSettings → AI → Manage MCP servers(none)url—
n8nMCP Client Tool node—Endpoint fieldHTTP Streamable
LangChain / LlamaIndexPython—url"http"

Claude Desktop, Claude web, Cowork

UI only. Settings (⌘, / Ctrl+,) → Connectors (Customize → Connectors in newer builds) → Add custom connector → paste the URL → Add. Enable per conversation with the + button in the composer. Available on Free, Pro, Max, Team and Enterprise; Free accounts get one custom connector. claude_desktop_config.json has no representation for a remote HTTP MCP server — a post telling you to add one there predates streamable HTTP. The engine-specific version of these steps lives at how to connect Claude to PostgreSQL and its siblings for the other slugs.

Claude Code

claude mcp add --transport http db https://freebase.cloud/api/mcp/YOUR_TOKEN
#   --scope project  writes .mcp.json (commit it, minus the token) | --scope user = all projects
{ "mcpServers": { "db": { "type": "http", "url": "https://freebase.cloud/api/mcp/YOUR_TOKEN" } } }

streamable-http is accepted as an alias for http.

ChatGPT

Settings → Apps → Advanced settings → enable developer mode → Apps → Create → paste the endpoint → Auth None → Scan Tools → Create. Also check Settings → Connectors; OpenAI's two docs pages disagree about where this lives. Developer mode is documented for Pro, Plus, Business, Enterprise and Edu; full write access is currently rolling out to Business, Enterprise and Edu workspaces, so on some plans you get read-only tool access today.

OpenAI Responses API

{
  "model": "gpt-5.6",
  "tools": [{
    "type": "mcp",
    "server_label": "db",
    "server_description": "Free cloud database — query and store structured data.",
    "server_url": "https://freebase.cloud/api/mcp/YOUR_TOKEN",
    "require_approval": "never"
  }],
  "input": "List the tables in my database."
}

Cursor, Windsurf, VS Code, Zed

// ~/.cursor/mcp.json  or  .cursor/mcp.json     — NO "type" key
{ "mcpServers": { "db": { "url": "https://freebase.cloud/api/mcp/YOUR_TOKEN" } } }
// ~/.codeium/windsurf/mcp_config.json          — the key is serverUrl
{ "mcpServers": { "db": { "serverUrl": "https://freebase.cloud/api/mcp/YOUR_TOKEN" } } }
// .vscode/mcp.json                             — top-level key is "servers"
{
  "inputs": [{ "type": "promptString", "id": "fb-token", "description": "freebase.cloud MCP token", "password": true }],
  "servers": { "db": { "type": "http", "url": "https://freebase.cloud/api/mcp/${input:fb-token}" } }
}
// Zed settings.json                            — "context_servers", not "mcpServers"
{ "context_servers": { "db": { "url": "https://freebase.cloud/api/mcp/YOUR_TOKEN" } } }

Windsurf is now documented as "Devin Desktop" on docs.devin.ai; Enterprise users must enable MCP in settings first. In VS Code, Command Palette → MCP: Add Server builds the file, and the inputs block keeps the token out of it so the config stays committable.

Cline and Roo Code

Same transport, different spelling, no fallback between them.

// Cline — camelCase
{ "mcpServers": { "db": { "type": "streamableHttp", "url": "https://freebase.cloud/api/mcp/YOUR_TOKEN", "disabled": false, "autoApprove": [] } } }
// Roo Code, .roo/mcp.json — kebab-case
{ "mcpServers": { "db": { "type": "streamable-http", "url": "https://freebase.cloud/api/mcp/YOUR_TOKEN" } } }

Gemini CLI

gemini mcp add --transport http db https://freebase.cloud/api/mcp/YOUR_TOKEN
{ "mcpServers": { "db": { "httpUrl": "https://freebase.cloud/api/mcp/YOUR_TOKEN", "timeout": 5000 } } }

In settings.json the key is httpUrl. Plain url means SSE — a misconfiguration that produces a server which appears to connect and then never returns a tool. The consumer Gemini app does not support custom MCP servers; that is Gemini Enterprise only.

Warp and n8n

Warp: Settings → AI → Manage MCP servers → "Streamable HTTP or SSE Server (URL)". Its paste box takes the server object alone, with no mcpServers wrapper:

{ "db": { "url": "https://freebase.cloud/api/mcp/YOUR_TOKEN" } }

n8n: MCP Client Tool node (1.104.0+). Server Transport → HTTP Streamable, Endpoint → your URL, Authentication → None. The published docs page still shows only the old "SSE Endpoint" field; a current build of the node has the transport dropdown.

LangChain and LlamaIndex

from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({"db": {"transport": "http", "url": "https://freebase.cloud/api/mcp/YOUR_TOKEN"}})
tools = await client.get_tools()
from llama_index.tools.mcp import BasicMCPClient, McpToolSpec
tools = await McpToolSpec(client=BasicMCPClient("https://freebase.cloud/api/mcp/YOUR_TOKEN")).to_tool_list_async()

mcp-remote (fallback only)

For a stdio-only client. Requires Node; its own README calls it experimental, so prefer native HTTP support wherever a client has it.

{ "mcpServers": { "db": { "command": "npx", "args": ["-y", "mcp-remote", "https://freebase.cloud/api/mcp/YOUR_TOKEN", "--transport", "http-only"] } } }

Troubleshooting configuration

SymptomCauseFix
Claude Code errors immediately on startupurl present, type missingAdd "type": "http". This is a hard error, not a warning
Cursor rejects the entry or ignores the serverA "type" key was addedDelete it. In Cursor the presence of url is what marks a server remote
VS Code never sees the serverConfig uses mcpServersThe top-level key in .vscode/mcp.json is servers
Windsurf shows the server as unconfiguredUsed urlThe key is serverUrl
Zed ignores the fileUsed mcpServersZed's key is context_servers
Gemini CLI connects but lists no toolsUsed urlUse httpUrl. Plain url selects the SSE transport
Cline reports an unknown transportUsed streamable-httpCline wants streamableHttp (camelCase)
Roo Code reports an unknown transportUsed streamableHttpRoo wants streamable-http (kebab-case)
Warp rejects the pasted JSONIncluded the mcpServers wrapperPaste only the inner server object
Claude Desktop can't find the server in JSONRemote HTTP servers aren't supported thereAdd it through Settings → Connectors instead; note Free is capped at one connector
ChatGPT scans tools but cannot writeWrite access still rolling out on your planRead works; check your workspace type
Tools appear with unexpected namesNames carry your connection name, not the engineRename the connection, or use the names as they are
404 from the endpointToken revoked, or a character lost in a copy-pasteReissue from Settings → MCP
Works in curl, fails in the clientThe client is reading a different config file than you editedCheck user-scope versus project-scope paths

Picking an engine

General-purpose relational → PostgreSQL (also the only engine with dump/restore helpers over MCP). An existing MySQL schema, PHP or WordPress → MySQL, or MariaDB for sequences, system-versioned tables and dynamic columns. Flexible documents and Mongoose → MongoDB. Cache, sessions, counters, rate limits, anything with a TTL → Redis. Small and schema-light → SQLite. Analytics over many rows → ClickHouse. Full-text search and ranking → Elasticsearch. Connected data, recommendations, agent memory → Neo4j. Metrics from devices → InfluxDB; from exporters and client libraries → Prometheus; next to relational tables → TimescaleDB. Wide-column at scale or learning CQL → Cassandra. Single-table design against AWS SDK code → DynamoDB. Distributed SQL, serializable by default → CockroachDB.

Examples

examples/list_tools.py prints every tool with its input schema — run it first. dialects.json holds write and read statements for all 15 engines, and examples/clients/ has ready-to-copy config files for ten clients.

node examples/roundtrip.mjs postgresql         # end-to-end write + read
node examples/roundtrip.mjs redis --keep       # leave the data behind

roundtrip.mjs writes bookmark records, reads them back and reports whether what came out matches what went in. Run it against two engines to see how much — and how little — changes between them.

Limits

The free tier is intended for development, prototyping and small production workloads. Engines run at the versions in the table above with their real feature sets: transactions on PostgreSQL, the aggregation pipeline on MongoDB, MergeTree on ClickHouse, Cypher and APOC on Neo4j, the aggregations framework on Elasticsearch. No SLA, uptime figure, backup guarantee or storage number is claimed here, because none is verified — the dashboard shows current quotas. Treat anything you cannot afford to lose as needing its own backup. For production scale, dedicated resources and a support relationship, the vendors' own managed offerings remain the right answer.

Links

freebase.cloud · MCP specification (revision 2026-07-28) · transport reference


Affiliation. freebase.cloud is an independent service and is not affiliated with Anthropic, OpenAI, Google, Microsoft, Anysphere, Codeium, Zed Industries, Warp, n8n, Oracle, MongoDB, Inc., Redis Ltd., Elasticsearch B.V., Neo4j, Inc., InfluxData, ClickHouse, Inc., the Apache Software Foundation, AWS, Timescale, Inc., Cockroach Labs or the PostgreSQL Global Development Group.

來源:README.md,提交 f0ce4ca

工具

0
該伺服器需要 API 金鑰等憑證,因此 SourceWeft 無法在沒有憑證的情況下讀取其工具,也未收錄。

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

這個評分如何計算