Florentine.ai MCP Server

Florentine.ai MCP Server

Enables natural language querying of MongoDB data by transforming AI agent questions into MongoDB aggregations. Supports secure data separation, semantic vector search, and advanced lookup capabilities for database interactions.

Category
Visit Server

README

Florentine.ai MCP Server

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

Questions are forwarded by the AI Agent to the MCP Server, transformed into MongoDB aggregations and the aggregation results are returned to the agent for further processing.

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

  • Secure data separation
  • Semantic vector search/RAG support with automated embedding creation
  • Advanced lookup support
  • Exclusion of keys

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 in your Florentine.ai account
  • A Florentine.ai API Key (you can find yours on your account dashboard)

Installation

A detailed documentation 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):

{
  "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 that can be queried. That includes descriptions, keys and type of values.
  • florentine_ask --> Receives a question and returns an aggregation, aggregation result or answer (depending on the returnTypes setting).

Arguments

Variable Required Allowed values Description
--mode Yes static, dynamic static (for existing external MCP clients, e.g. Claude Desktop) or dynamic (for own custom MCP clients). See detailed docs.
--debug No true Enables logging to external file. If set requires --logpath to be set as well.
--logpath No Absolute log file path, e.g. /Users/USERNAME/logs/florentine-mcp.log File path to the debug log. If set requires --debug to be set as well.

Environment Variables

Variable Required Allowed values Description
FLORENTINE_TOKEN Yes Florentine.ai API Key `Your Florentine.ai API key. Can be found on your account dashboard.
LLM_SERVICE No openai, anthropic, google, deepseek The LLM service to use for the requests. Only needed if you did not add service and key in your Florentine.ai account.
LLM_KEY No LLM API Key The API key of the LLM service to use for the requests. Only needed if you did not add service and key in your Florentine.ai account.
SESSION_ID No Any string A session identifier that enables server side chat history. See detailed docs.
RETURN_TYPES No Stringified JSON array with any combination of aggregation, result, answer Defines the return values of the florentine_ask tool. Defaults to result. See detailed docs.
REQUIRED_INPUTS No Stringified JSON array of all required inputs. Defines the required inputs values of the florentine_ask tool. See detailed docs.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured