Sponsored by Deepsite.site

Content Classifier

Created By
garyedgingtona month ago
Classify text or JSON input into structured categories using Claude AI — with no setup, no API keys, and no credentials required. Connect directly and start classifying immediately. Five built-in presets: sentiment — positive, neutral, negative topic — technology, finance, health, legal, science, sports, other intent — question, request, complaint, feedback, informational urgency — critical, high, medium, low custom — supply your own 2–20 label taxonomy Two tools: classify_content — full access: all presets, custom taxonomies, multi-label output, up to 32KB input. Billed at $0.005 USDC per call via x402 micropayment on Base mainnet. classify_content_trial — free tier: sentiment and topic presets, single-label output, up to 4KB input. No payment required. Every call returns the top label, a confidence score, a ranked list of all labels, and an optional one-sentence reasoning string. Supports plain text and JSON input. Part of the x402 micropayment task market — a network of AI agents that charge per call using on-chain USDC micropayments.
Overview

x402 Content Classifier

Classify text or structured data into categories using Claude AI. Optional confidence scoring and multi-label output. Part of the x402 micropayment task market.

Live service: https://project-classifier-production.up.railway.app (pending deployment)
Smithery: gary-edgington/x402-content-classifier (pending submission)
Payment: $0.005 USDC per call · x402 v2 · Base mainnet


Supported Classification Modes

PresetLabelsUse case
sentimentpositive, neutral, negativeTone analysis
topictechnology, finance, health, legal, science, sports, otherContent routing
intentquestion, request, complaint, feedback, informationalSupport triage
urgencycritical, high, medium, lowPrioritization queues
customcaller-supplied taxonomyAny domain

Endpoints

POST /v1/classify — Paid

Requires x402 payment header. $0.005 USDC on Base mainnet.

Request body:

{
  "input": "<text or JSON string to classify>",
  "input_type": "text",
  "preset": "sentiment",
  "taxonomy": [],
  "multi_label": false,
  "explain": true
}

Query params:

  • ?multi_label=true — return ranked list of all matching labels rather than a single top label.

Response (200):

{
  "label": "positive",
  "confidence": 0.92,
  "labels": [
    {"label": "positive", "confidence": 0.92},
    {"label": "neutral", "confidence": 0.06},
    {"label": "negative", "confidence": 0.02}
  ],
  "reasoning": "The text expresses strong satisfaction and approval with no negative indicators.",
  "meta": {
    "preset": "sentiment",
    "multi_label": false,
    "input_type": "text",
    "model": "claude-haiku-4-5"
  }
}

Response (402 — no payment):

{
  "x402Version": 2,
  "accepts": [{
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5000",
    "payTo": "0x8fC4006534801c17A3368075A1Fb3b3C511EdB1F",
    "maxTimeoutSeconds": 300
  }],
  "error": "Payment required"
}

POST /v1/classify/trial — Free

No payment required. Same classification logic. Limits: 4KB max input, single-label only, sentiment and topic presets only.


GET /health

{ "status": "ok", "service": "classifier-agent", "version": "0.1.0" }

MCP Tool

This service exposes a single MCP tool via SSE transport for use with MCP-compatible agents and Claude Desktop.

SSE endpoint: https://project-classifier-production.up.railway.app/sse

classify_content

Classify text or structured data into a category using Claude AI.

ParameterTypeRequiredDescription
inputstringText or JSON string to classify
input_typestringtext (default) or json
presetstringsentiment, topic, intent, urgency, or custom
taxonomyarrayCustom label list (required when preset=custom)
multi_labelbooleanIf true, return ranked label list
explainbooleanIf true, include reasoning string

x402 Payment Details

SettingValue
NetworkBase mainnet (eip155:8453)
USDC contract0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
Amount5000 atomic units ($0.005)
Receiving wallet0x8fC4006534801c17A3368075A1Fb3b3C511EdB1F
Facilitatorhttps://api.cdp.coinbase.com/platform/v2/x402
EIP-712 domainUSD Coin

Pipeline Example

Agents can chain services via the A2A hub discovery manifest:

Raw CSV → Formatter (/v1/format) → Classifier (/v1/classify)
Raw JSON → Schema Checker (/v1/schema-check) → Classifier (/v1/classify)

Each hop settles independently on Base mainnet via x402.


Ecosystem

This service is part of a three-service x402 task market:

  • SchemaCheck Agent — JSON Schema validation
  • Formatter — data format conversion
  • Classifier (this service) — content classification
  • A2A Hub — service discovery

Full capability manifest: GET https://project-a2a-production.up.railway.app/v1/capabilities

Server Config

{
  "mcpServers": {
    "x402-classifier": {
      "url": "https://web-production-2d1051.up.railway.app/sse"
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Amap Maps高德地图官方 MCP Server
CursorThe AI Code Editor
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
WindsurfThe new purpose-built IDE to harness magic
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
RedisA Model Context Protocol server that provides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Playwright McpPlaywright MCP server
Serper MCP ServerA Serper MCP Server
ChatWiseThe second fastest AI chatbot™
DeepChatYour AI Partner on Desktop
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Tavily Mcp