# WritersLogic AI Agents (x402)

> WritersLogic AI Agents (x402) is a paid MCP server for finance and payments. Pay-per-call web, document and code-review agents settled in USDC over x402. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Paid
- **Platforms:** CLI, API
- **Website:** https://agents.writerslogic.com
- **Repository:** https://github.com/writerslogic/ai-agents-mcp
- **MCP Registry name:** io.github.writerslogic/ai-agents-mcp
- **Categories:** finance and payments, developer tools
- **Listing updated:** 2026-11-14

## About

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.

## Features

- **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

## Install

### Claude Code (Terminal)

```sh
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
```

### Claude Desktop (claude_desktop_config.json)

```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>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```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>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```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>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```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>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```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>"
      }
    }
  }
}
```

## 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

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/writerslogic-ai-agents-x402
