Skip to content
MCP server

WritersLogic AI Agents (x402)

Pay-per-call web, document and code-review agents settled in USDC over x402

Runs locallyStatus and history
Install
Pricing
Paid
Platforms
CLI, API
Runs
Locally
Version
0.3.0
Listing updated
3 days ago

About WritersLogic AI Agents (x402)

WritersLogic AI Agents (x402) is a paid MCP server for finance and payments. It runs locally on your machine and is started by your AI client.

Each call to this server is priced and paid on the fly rather than billed to a subscription. It fetches the catalog of the WritersLogic agent hub, registers a tool per agent, forwards calls over HTTPS and signs a gasless USDC payment on Base when the hub asks and the spending cap allows it. The hub's own metadata reports 251 agents.

By default the README says it lists a focused set of 11 tools covering web search, page and PDF to markdown, page capture, transcription, PII redaction, company and lead research, pre-merge review and EU CRA readiness. A profile setting can widen that to the whole hub, over 80 tools, and small checks priced at $0.005 are grouped one tool per package, with batches of up to 20 under one $0.02 payment.

Safety is handled through a dedicated low-balance wallet key and a per-call cap that defaults to 1.00 USDC; a call priced above it is refused before anything is signed. Without a key, paid tools return payment instructions instead of paying.

Install

Run in a terminal

claude mcp add ai-agents-mcp --env AGENT_PRIVATE_KEY='<AGENT_PRIVATE_KEY>' --env AGENTS_API_KEY='<AGENTS_API_KEY>' -- npx -y @writerslogic/ai-agents-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "ai-agents-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@writerslogic/ai-agents-mcp"
      ],
      "env": {
        "AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>",
        "AGENTS_API_KEY": "<AGENTS_API_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "ai-agents-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@writerslogic/ai-agents-mcp"
      ],
      "env": {
        "AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>",
        "AGENTS_API_KEY": "<AGENTS_API_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "ai-agents-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@writerslogic/ai-agents-mcp"
      ],
      "env": {
        "AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>",
        "AGENTS_API_KEY": "<AGENTS_API_KEY>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "ai-agents-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@writerslogic/ai-agents-mcp"
      ],
      "env": {
        "AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>",
        "AGENTS_API_KEY": "<AGENTS_API_KEY>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "ai-agents-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@writerslogic/ai-agents-mcp"
      ],
      "env": {
        "AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>",
        "AGENTS_API_KEY": "<AGENTS_API_KEY>"
      }
    }
  }
}

Configuration

  • AGENT_PRIVATE_KEYPrivate key of a dedicated, low-balance wallet holding USDC on Base. Signs gasless EIP-3009 payment authorizations. Without it, paid tools return payment instructions instead of paying.
  • MAX_USDC_PER_CALLMaximum USDC the client will authorize for a single tool call. Calls priced above it are refused.
  • AGENTS_API_KEYHub API key sent as X-API-KEY. Bypasses payment.
  • AGENTS_BASE_URLHub base URL (https only; http allowed for localhost).
  • AGENTS_PROFILEcore (default: 14 web, document and code-security tools), all, or a comma-separated list of agent or package ids to list as tools.
  • AGENTS_PACKAGES"all" or a comma-separated list of package ids whose checks are listed as individual tools instead of one tool per package.

What it does

x402 payments
Signs gasless USDC payment authorisations on Base when a call requires one.
Spending cap
Refuses calls priced above a per-call limit before signing.
Catalog-driven tools
Discovers one tool per hub agent at startup and refreshes later.
Package batching
Groups small checks per package and runs up to 20 in one payment.
Tool profiles
Choose the core set, the whole hub or a custom list of agent ids.
Browse without paying
Leave out the wallet key to see prices and payment instructions.

Good for

  • Convert a web page or PDF to markdown from an agent
  • Redact personal data from text before sharing
  • Research a company or lead from within a chat
  • Run a pre-merge code review or EU CRA readiness check
  • Give an agent a capped budget for paid tool calls

Pricing

Paid

Per-call pricing in USDC; small checks $0.005 each

Prices change. Check agents.writerslogic.com before you buy.

WritersLogic AI Agents (x402) FAQ

How are calls paid for?

In USDC on Base over x402, using a wallet private key you supply in AGENT_PRIVATE_KEY; the buyer needs no gas.

Can I limit spending?

Yes. MAX_USDC_PER_CALL defaults to 1.00 and refuses any call priced above it.

Can I try it without a wallet?

Yes. Without a key, paid tools return payment instructions instead of paying.

What does it require?

Node.js 20 or later, run through npx.

Is WritersLogic AI Agents (x402) free?

No. WritersLogic AI Agents (x402) is a paid product.

How do I add WritersLogic AI Agents (x402) to Claude Code?

Run this command in your terminal: claude mcp add ai-agents-mcp --env AGENT_PRIVATE_KEY='<AGENT_PRIVATE_KEY>' --env AGENTS_API_KEY='<AGENTS_API_KEY>' -- npx -y @writerslogic/ai-agents-mcp

What are the best alternatives to WritersLogic AI Agents (x402)?

The closest alternatives to WritersLogic AI Agents (x402) are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to WritersLogic AI Agents (x402)

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools