Base64 Codec API

io.github.Br0ski777Published by GitHub account Br0ski777v1.1.0Updated Oct 24, 2026

Encode/decode base64 and URL-safe base64. x402 micropayment.

VerifiedSSEWeb executableFinanceDeveloper Tools

Overview

AI-generated overview

A remote MCP server that encodes text to base64 or decodes base64 back to plaintext, billed per call through x402 micropayments.

What you can do
Encode plaintext into standard or URL-safe base64, or decode base64 back to text, with encoding metadata in the response.
When to use it
Useful when an assistant needs to embed data in JSON, prepare MIME-style content, or decode base64 tokens from APIs before passing them through ASCII-only channels.
Requirements
A remote endpoint reached over SSE; no API key or signup. Each call is paid in USDC on Base L2 through the x402 protocol, so an x402-capable client with a funded wallet is needed to complete the payment challenge.
Before you install
Every call costs money ($0.003 per call) and requires signing a USDC payment on Base L2 with your wallet. Data submitted for encoding or decoding is sent to a third-party service. Not intended for hashing, JWT decoding or slug creation.

Installation

In SourceWeft

  1. Open Base64 Codec API in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via SSE. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.Br0ski777%2Fbase64-codec/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "base64-codec-api": {
      "type": "sse",
      "url": "https://base64-codec.api.klymax402.com/mcp"
    }
  }
}

README

Base64 Codec API

[MCP Server] [x402] [License: MIT]

Encode text to base64 or decode base64 to text. Supports standard and URL-safe variants with metadata. Pay-per-call via x402 (USDC on Base L2) -- no API key, no signup, no rate-limit wall.

Part of the klymax402 marketplace -- 100 x402 micropayment APIs for AI agents, one wallet, USDC on Base.

Quickstart -- MCP

Add to your MCP client config (Claude Desktop, Cursor, ElizaOS, etc.):

json
{  "mcpServers": {    "base64-codec": {      "url": "https://base64-codec.api.klymax402.com/mcp"    }  }}

Quickstart -- HTTP (x402)

bash
curl -X POST "https://base64-codec.api.klymax402.com/api/encode" \  -H "Content-Type: application/json" \  -d '{"data":"..."}'# -> 402 Payment Required, with an x402 payment challenge in the response body

Any x402-aware client (@x402/fetch, x402-agent-tools, ATXP) handles the 402 -> sign -> retry cycle automatically.

Tools

ToolMethodPathPriceDescription
utility_encode_base64POST/api/encode$0.003Encode or decode base64 data

utility_encode_base64

Use this when you need to encode text to base64 or decode base64 back to plaintext. Returns the result string with encoding metadata.

Parameters

NameTypeRequiredDescription
datastringyesThe data to encode or decode
actionstringnoAction: 'encode' or 'decode' (default: encode)

Example response:

json
{"result":"SGVsbG8gV29ybGQ=","action":"encode","inputLength":11,"outputLength":16,"urlSafe":false}

When to use: embedding binary data in JSON, preparing email attachments (MIME), or decoding base64 tokens from APIs. Use this BEFORE sending data through channels that only support ASCII.

Not for: hashing (use crypto_generate_hash), JWT decoding (use security_decode_jwt), URL slug creation (use text_generate_slug).

Example agent prompts

  • "Encode text to base64 or decode base64 back to plaintext"

Payment

  • Protocol: x402 -- HTTP-native pay-per-call, no signup, no API key
  • Network: Base L2 (eip155:8453)
  • Asset: USDC
  • Facilitator: Coinbase CDP (primary), PayAI (fallback)
  • Also reachable via ATXP (OAuth-wrapped x402, RFC 9728 protected-resource metadata)

Part of klymax402

100 x402 micropayment APIs for AI agents -- one wallet, USDC on Base, zero signup.

License

MIT

Source: README.md at commit de7b029

Tools

0
SourceWeft has not read this server's tools yet.

Version history

1
  1. v1.1.0LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declaredRequired10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts