Skip to main content
MCP server CX Codex

mcp · florentine-ai — Claude Code MCP server: what it does, how to install

An MCP server that translates natural language prompts into MongoDB aggregations and MySQL queries directly inside your agent workflow.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add --env FLORENTINE_TOKEN=<FLORENTINE_TOKEN> --env LLM_SERVICE=<LLM_SERVICE> --env LLM_KEY=<LLM_KEY> --env SESSION_ID=<SESSION_ID> --env RETURN_TYPES=<RETURN_TYPES> --transport stdio florentine-ai-mcp -- npx -y @florentine-ai/mcp
Open on GitHub

What mcp does

This server connects coding assistants to MongoDB and MySQL instances via Florentine.ai. When you ask questions in conversational English, it maps intent into database queries and returns records or calculations back to your chat. The package exposes two core MCP tools: florentine_list_collections to inspect accessible collections with field types, and florentine_ask to execute queries.

The architecture includes multi-tenant data separation and key exclusion to hide sensitive fields. Setup requires Node.js 18.0.0 or newer, a FLORENTINE_TOKEN credential, and an LLM API key from OpenAI, Google, Anthropic, or Deepseek. Configuration operates via --mode static for standard desktop clients or --mode dynamic for custom integrations. Without at least one activated collection in your Florentine dashboard, queries will fail immediately.

What it helps with

  • Query MongoDB and MySQL collections using conversational prompts
  • Inspect active database schemas and column types via florentine_list_collections
  • Enforce tenant isolation across multi-tenant database environments
  • Mask sensitive keys from database query responses

Example prompts for the agent

  • Run florentine_list_collections to inspect active database collections and their schema types
  • Use florentine_ask to calculate total revenue per customer category in MongoDB
  • Ask florentine_ask to fetch recent signups with pending verification from MySQL

How to install mcp

Platform CLI

claude mcp add --env FLORENTINE_TOKEN=<FLORENTINE_TOKEN> --env LLM_SERVICE=<LLM_SERVICE> --env LLM_KEY=<LLM_KEY> --env SESSION_ID=<SESSION_ID> --env RETURN_TYPES=<RETURN_TYPES> --transport stdio florentine-ai-mcp -- npx -y @florentine-ai/mcp

Replace <…> with your own values. 1 more environment variable is in the server README

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about mcp

How to install mcp in Claude Code?

Run `claude mcp add --env FLORENTINE_TOKEN=<FLORENTINE_TOKEN> --env LLM_SERVICE=<LLM_SERVICE> --env LLM_KEY=<LLM_KEY> --env SESSION_ID=<SESSION_ID> --env RETURN_TYPES=<RETURN_TYPES> --transport stdio florentine-ai-mcp -- npx -y @florentine-ai/mcp. You can also run the minimal command: claude mcp add mcp -e FLORENTINE_TOKEN=<FLORENTINE_TOKEN> -e LLM_KEY=<LLM_KEY> -- npx -y @florentine-ai/mcp`.

What does this MCP server do?

It forwards conversational questions to the Florentine.ai engine, generates database queries for MongoDB or MySQL, and passes the output to the AI assistant.

Which LLM providers are supported?

The server uses a bring-your-own-key model supporting OpenAI, Google, Anthropic, and Deepseek via the LLM_SERVICE parameter.

Similar MCP servers

All MCP servers for Data and databases →

mcp by other authors comes first.

mcp kubeshark This MCP server gives AI agents access to Kubernetes network traffic. Use it to inspect API calls, investigate incidents, and trace failures across services. CX Codex +1 ★ 12,110repo stars mcp butterbase-ai The Butterbase MCP server gives your agent access to schemas, auth, functions, storage, RAG and deploys. Useful when your backend runs on Butterbase. CX Codex +1 ★ 3,031repo stars mcp medplum Connect an AI agent to healthcare data stored in Medplum and work with those records through MCP. Useful when you want an agent to access FHIR data. CX Codex +1 ★ 2,766repo stars mcp sceneview This MCP server gives an AI assistant access to SceneView API docs and samples, and helps generate and validate code. Use it when building a 3D or AR app with SceneView. CX Codex +1 ★ 1,349repo stars mcp Buoy-gg Lets an AI agent read and control a running React Native or Flutter app through Buoy devtools. Useful when you want requests, caches or state inspected inside the app itself. CX Codex +1 ★ 691repo stars World Monitor koala73 Connects real-time global intelligence across geopolitics, markets, energy, and cyber incidents to your AI assistant. Ideal for tracking country risk and trade disruptions. CX Codex +1 ★ 89,609repo stars Scrapling MCP Server D4Vinci Web scraping MCP server with stealth browsers, JavaScript rendering, and Cloudflare bypass. Extracts clean Markdown and structured page data for AI agents. CX Codex +1 ★ 89,899repo stars MCP Toolbox for Databases official googleapis Connect an AI agent to databases through MCP to inspect schemas, run queries, and write code informed by the database structure. CX Codex +1 ★ 16,730repo stars PostHog MCP Server PostHog Connects PostHog analytics and feature flag management to AI assistants via Streamable HTTP. CX Codex +1 ★ 40,459repo stars dbx t8y2 An MCP server that lets an AI agent run database queries through connections already configured in DBX. CX Codex +1 ★ 27,844repo stars Metabase metabase Connects AI assistants directly to a Metabase instance to search catalog items, execute SQL queries, and build charts under user permissions. CX Codex +1 ★ 49,863repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor