Skip to content
MCP server

MCP

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

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.2.1
Listing updated
4 days ago

About MCP

MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add mcp --env FLORENTINE_TOKEN='<FLORENTINE_TOKEN>' --env LLM_KEY='<LLM_KEY>' -- npx -y @florentine-ai/mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@florentine-ai/mcp"
      ],
      "env": {
        "FLORENTINE_TOKEN": "<FLORENTINE_TOKEN>",
        "LLM_KEY": "<LLM_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@florentine-ai/mcp"
      ],
      "env": {
        "FLORENTINE_TOKEN": "<FLORENTINE_TOKEN>",
        "LLM_KEY": "<LLM_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@florentine-ai/mcp"
      ],
      "env": {
        "FLORENTINE_TOKEN": "<FLORENTINE_TOKEN>",
        "LLM_KEY": "<LLM_KEY>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@florentine-ai/mcp"
      ],
      "env": {
        "FLORENTINE_TOKEN": "<FLORENTINE_TOKEN>",
        "LLM_KEY": "<LLM_KEY>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@florentine-ai/mcp"
      ],
      "env": {
        "FLORENTINE_TOKEN": "<FLORENTINE_TOKEN>",
        "LLM_KEY": "<LLM_KEY>"
      }
    }
  }
}

Configuration

  • FLORENTINE_TOKENYour Florentine.ai API key, get it from https://florentine.ai/dashboardRequired
  • LLM_SERVICEThe LLM service to use, one of 'openai', 'anthropic', 'google' or 'deepseek' (must only be provided if you did not set it in your Florentine.ai account)
  • LLM_KEYYour API key for the LLM service (must only be provided if you did not set it in your Florentine.ai account)
  • SESSION_IDSession ID for maintaining server-side context across requests
  • RETURN_TYPESStringified JSON array of return types for the response
  • REQUIRED_INPUTSStringified JSON array of values for required inputs keys

Pricing

Open source

MCP FAQ

Is MCP free?

Yes. MCP is open source, so you can use and self-host it for free.

How do I add MCP to Claude Code?

Run this command in your terminal: claude mcp add mcp --env FLORENTINE_TOKEN='<FLORENTINE_TOKEN>' --env LLM_KEY='<LLM_KEY>' -- npx -y @florentine-ai/mcp