# MCP

> MCP is an open-source MCP server. MCP server for Florentine.ai - Natural language to MongoDB aggregations. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/florentine-ai/mcp
- **MCP Registry name:** io.github.florentine-ai/mcp
- **Listing updated:** 2026-11-13

## About

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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## 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

---
Source: https://ai-powered.com/mcp/mcp-mweo71c3
