Skip to content
MCP server

SmarToken

Chat with AI models. Register, create an API key and add prepaid credit.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.1.4
Listing updated
1 day ago

About SmarToken

SmarToken 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 smartoken-mcp --env SMTOKEN_API_KEY='<SMTOKEN_API_KEY>' -- uvx smartoken-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "smartoken-mcp": {
      "command": "uvx",
      "args": [
        "smartoken-mcp"
      ],
      "env": {
        "SMTOKEN_API_KEY": "<SMTOKEN_API_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "smartoken-mcp": {
      "command": "uvx",
      "args": [
        "smartoken-mcp"
      ],
      "env": {
        "SMTOKEN_API_KEY": "<SMTOKEN_API_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "smartoken-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "smartoken-mcp"
      ],
      "env": {
        "SMTOKEN_API_KEY": "<SMTOKEN_API_KEY>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "smartoken-mcp": {
      "command": "uvx",
      "args": [
        "smartoken-mcp"
      ],
      "env": {
        "SMTOKEN_API_KEY": "<SMTOKEN_API_KEY>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "smartoken-mcp": {
      "command": "uvx",
      "args": [
        "smartoken-mcp"
      ],
      "env": {
        "SMTOKEN_API_KEY": "<SMTOKEN_API_KEY>"
      }
    }
  }
}

Configuration

  • SMTOKEN_API_KEYRegister or sign in: https://thesmartoken.com/register. Create and copy your API key: https://thesmartoken.com/dashboard/api-keys. Add prepaid credit before billable chat calls: https://thesmartoken.com/dashboard/billing. Paste your own key here and keep it private.Required

Pricing

Open source

Prices change. Check thesmartoken.com before you buy.

SmarToken FAQ

Is SmarToken free?

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

How do I add SmarToken to Claude Code?

Run this command in your terminal: claude mcp add smartoken-mcp --env SMTOKEN_API_KEY='<SMTOKEN_API_KEY>' -- uvx smartoken-mcp