Skip to main content

Add the freispace MCP server to your LLM

This guide shows you how to connect the freispace MCP server to the most common AI assistants, so you can ask your LLM questions about your freispace data.

Prerequisites

Before you start, make sure you have:

  1. Node.js installed (version 18 or later). The MCP server is started via npx, which ships with Node.js.

  2. Your personal freispace MCP secret. Every team member has their own secret, which a team admin can provide from the team settings (Managing MCP Server Access). Your secret will look similar to ai-xxxx.

caution

Treat your secret like a password. Anyone with it can query freispace data on your behalf.

Configuration snippet

Most MCP-capable clients use the same JSON structure to register a server. This is the entry for freispace:

"freispace-analytics": {
"command": "npx",
"args": ["-y", "@freispace/mcp-server-analytics"],
"env": {
"API_KEY": "ai-xxxx"
}
}

Replace ai-xxxx with your own API key. The sections below show where this snippet goes for each client.

Client setup

  1. Open Claude Desktop and go to Settings → Developer.

  2. Click Edit Config. This opens the claude_desktop_config.json file:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  3. Add the freispace server under mcpServers:

    {
    "mcpServers": {
    "freispace-analytics": {
    "command": "npx",
    "args": ["-y", "@freispace/mcp-server-analytics"],
    "env": {
    "API_KEY": "ai-xxxx"
    }
    }
    }
    }
  4. Restart Claude Desktop.

You should now see freispace-analytics listed under the tools icon in the chat input. Try asking Claude a question about your freispace data.

Troubleshooting

  • Server does not start: Check that Node.js 18+ is installed and npx is available on your PATH. Some desktop clients do not inherit your shell's PATH — using the absolute path to npx can help.

  • Authentication errors: Verify that the API_KEY value matches your current secret. If an admin has regenerated your secret or disabled your access, the old value will stop working — see Managing MCP Server Access.

  • Tools do not appear: Most clients only load MCP servers on startup. Fully restart the application after editing the configuration.