Skip to content
MCP server

MCP

Meter usage and manage usage-based billing from AI tools via the ClockNext API.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.13.0
Listing updated
6 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 CLOCKNEXT_API_KEY='<CLOCKNEXT_API_KEY>' -- npx -y @clocknext/mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@clocknext/mcp"
      ],
      "env": {
        "CLOCKNEXT_API_KEY": "<CLOCKNEXT_API_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@clocknext/mcp"
      ],
      "env": {
        "CLOCKNEXT_API_KEY": "<CLOCKNEXT_API_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@clocknext/mcp"
      ],
      "env": {
        "CLOCKNEXT_API_KEY": "<CLOCKNEXT_API_KEY>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@clocknext/mcp"
      ],
      "env": {
        "CLOCKNEXT_API_KEY": "<CLOCKNEXT_API_KEY>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@clocknext/mcp"
      ],
      "env": {
        "CLOCKNEXT_API_KEY": "<CLOCKNEXT_API_KEY>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • CLOCKNEXT_API_KEYYour organisation's cnk_… API key (Settings → API Keys).Required
  • CLOCKNEXT_BASE_URLOverride the API origin (e.g. a staging URL). Defaults to production.
  • CLOCKNEXT_DOCS_URLOverride the docs origin for the search_docs/get_doc tools. Defaults to https://help.clocknext.com.

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 CLOCKNEXT_API_KEY='<CLOCKNEXT_API_KEY>' -- npx -y @clocknext/mcp

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers