Florentine AI MCP logo

Florentine AI MCP

by florentine-ai

MCP server for Florentine.ai - Natural language to MongoDB aggregations

Install Florentine AI MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-293": {
      "command": "npx",
      "args": [
        "-y",
        "@florentine-ai/mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y @florentine-ai/mcp

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked Today.

Overview

Tools2

What Florentine AI MCP lets your agent do. Expand a tool for its parameters.

Self-reported~68 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 2d ago

Recent health check succeeded.

8/8 checks healthy over the last 45d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 14d ago via OSV.dev · @florentine-ai/mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars6Stargazers on the source repository.
npm downloads7.2kPackage downloads in the last 30 days.
Last commit7mo agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed2Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

From the project README

Florentine.ai MCP Server - Talk to your MongoDB & MySQL data

The Florentine.ai Model Context Protocol (MCP) Server lets you integrate natural language querying for your MongoDB & MySQL data directly into your custom AI Agent or AI Desktop App.

Questions are forwarded by the AI Agent to the MCP Server, transformed into database queries and the query results are returned to the agent for further processing.

Also has a couple of extra features under the hood, e.g.:

  • Secure data separation for multi-tenant usage
  • Automated schema exploration
  • Semantic vector search/RAG support with automated embedding creation
  • Advanced lookup support
  • Exclusion of keys

Note: If you are looking for our API you can find it here.

Contents

Prerequisites

  • Node.js >= v18.0.0
  • A Florentine.ai account (create a free account here)
  • A connected database and at least one analyzed and activated collection/table in your Florentine.ai account
  • A Florentine.ai API Key (you can find yours on your account dashboard)

Installation

A detailed documentation of the MCP Server can be found here in our docs.

You can easily run the server using npx. See the following example for Claude Desktop (claude_desktop_config.json):

config.json
{
  "mcpServers": {
    "florentine": {
      "command": "npx",
      "args": ["-y", "@florentine-ai/mcp", "--mode", "static"],
      "env": {
        "FLORENTINE_TOKEN": "<FLORENTINE_API_KEY>"
      }
    }
  }
}

Available Tools

  • florentine_list_collections --> Lists all currently active collections/tables that can be queried. That includes descriptions, keys and type of values.
  • florentine_ask --> Receives a question and returns a query, query result or answer (depending on the returnTypes setting).

Arguments

VariableRequiredAllowed valuesDescription
--modeYesstatic, dynamicstatic (for existing external MCP clients, e.g. Claude Desktop) or dynamic (for own custom MCP clients). See integration modes section.
--debugNotrueEnables logging to external file. If set requires --logpath to be set as well.
--logpathNoAbsolute log file pathFile path to the debug log. If set requires --debug to be set as ĂĄwell.

Authentication

The Florentine.ai MCP Server uses an API key to authenticate requests. You can view and manage your API key on your account dashboard. The key must be added as an ENV variable to the configuration setup of the MCP server:

json
"env": {
  "FLORENTINE_TOKEN": "<FLORENTINE_API_KEY>"
}

Connect your LLM account

Florentine.ai works as a bring your own key model, so you need to provide your LLM API key (OpenAI, Google, Anthropic, Deepseek) in your MCP requests.

You have two options how you can add your LLM API key:

Option 1: Save your LLM key in your account (recommended)

The easiest way to connect to your LLM provider is to save your LLM API key in your Florentine.ai dashboard.

  • Add your API key
  • Select your LLM provider (OpenAI, Deepseek, Google or Anthropic)
  • Click Save

Add your LLM key

Option 2: Provide your LLM key inside the MCP server config env variables

If you prefer not to store the key in your Florentine.ai account or want to use multiple LLM keys, you can pass the key inside the MCP server config:

json
"env": {
  "LLM_SERVICE": "<YOUR_LLM_SERVICE>",
  "LLM_KEY": "<YOUR_LLM_API_KEY>"
}
ParameterDescriptionAllowed Values
LLM_SERVICESpecifies the LLM provider to use.openai,google,anthropic or deepseek
LLM_KEYYour API key for the provided LLM service.A valid API key string

Note: If you provide a LLM_KEY inside the env variables of the MCP server config, it will override any key stored in your account.

Integration Modes

You will have to set the operating mode in the args array of your MCP Server config to either static or dynamic:

json
"args": [
  "-y",
  "@florentine-ai/mcp",
  "--mode",
  "static"
]

Static Mode

The static mode should be used if you integrate Florentine.ai into an existing external MCP client such as a MCP-ready Desktop App like Claude Desktop or Dive AI.

In static mode you set all parameters (such as Return Types, Required Inputs, etc.) as env variables inside the config json. This means that these parameters will remain static until you change the setup config and will be sent with every request to Florentine.ai. See the following example:

config.json
{
  "mcpServers": {
    "florentine": {
      "command": "npx",
      "args": ["-y", "@florentine-ai/mcp", "--mode", "static"],
      "env": {
        "FLORENTINE_TOKEN": "<FLORENTINE_API_KEY>",
        "SESSION_ID": "6f7d62f9-8ceb-456b-b7ef-6bd869c3b13a",
        "LLM_SERVICE": "openai",
        "LLM_KEY": "<YOUR_OPENAI_KEY>",
        "RETURN_TYPES": "[\"result\"]",
        "REQUIRED_INPUTS": "[{\"keyPath\":\"accountId\",\"value\":\"507f1f77bcf86cd799439011\"}]"
      }
    }
  }
}

Environment variables

VariableRequiredTypeDescription
FLORENTINE_TOKENYesStringYour Florentine.ai api key, copy it from dashboard.
SESSION_IDNoStringThe session id of the client. Used for server-side chat history. See Sessions section.
LLM_SERVICENoStringSpecifies the LLM provider to use. Only needed if you did not save the LLM key in your Florentine.ai account. See Connect your LLM account section.
LLM_KEYNoStringYour API key for the provided LLM service. Only needed if you did not save the LLM key in your Florentine.ai account. See Connect your LLM account section.
RETURN_TYPESNoStringified JSONThe return types for florentine_ask tool calls. See Return Types section.
REQUIRED_INPUTSNoStringified JSONThe required inputs. See Required Inputs section.

Dynamic Mode

The dynamic mode should be used if you integrate Florentine.ai into your own custom MCP client.

In dynamic mode you can pass all parameters (such as Return Types, Required Inputs, etc.) directly to the florentine_ask tool. This means you can dynamically inject individual parameters to every request forwarded to Florentine.ai (i.e. a user id).

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Florentine AI MCP

florentine-ai/mcp is an MCP server that enables AI agents and desktop apps to query connected MongoDB and MySQL data using natural language. It forwards questions, transforms them into database queries, and returns query results for further processing. It also supports schema exploration, multi-tenant data separation, semantic vector search/RAG, advanced lookups, and key exclusion.

Run the server with npx using Node.js v18 or later, a Florentine.ai account, a connected and activated database collection or table, and a Florentine.ai API key. For example, configure the MCP client with command npx, args -y, @florentine-ai/mcp, --mode, static, and set FLORENTINE_TOKEN.

The server provides florentine_list_collections and florentine_ask. florentine_list_collections lists active queryable collections or tables with descriptions, keys, and value types. florentine_ask accepts a natural-language question and returns a query, query result, or answer according to the configured returnTypes setting.

Yes, florentine-ai/mcp supports natural-language querying for connected MongoDB and MySQL data. Questions are forwarded by an AI agent to the server, transformed into database queries, and returned as results for additional agent processing.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewFlorentine AI MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcp-293?style=directory)](https://allmcps.com/mcp/mcp-293)
HTML Embed
<a href="https://allmcps.com/mcp/mcp-293"><img src="https://allmcps.com/api/badge/mcp-293?style=directory" alt="Florentine AI MCP on AllMCPs" /></a>