Loomal

Build a revenue stream from your open-source MCP server.

Keep the repo MIT-licensed and free. Add a hosted endpoint that charges agents per call in USDC over x402, and list it on Loomal — no fork, no license change, no paywall on the code.

Open-source MCP servers have a familiar economics problem: the code is popular, the maintainer is unpaid, and the only revenue ideas on the table — donations, sponsorware, a commercial license — either earn pennies or alienate users.

There's a cleaner split available now. The code stays free for anyone who wants to self-host. You run a hosted instance of the same code at a stable URL, gate it with x402, and agents pay per call. Nobody loses access to anything; you get paid for the thing self-hosters were never going to do anyway — running and maintaining infrastructure.

The model: free code, paid endpoint

Self-hosting an MCP server is a real cost: a machine, an API key, updates, uptime. Most agent builders would rather hit a URL that already works. That gap between 'the code is free' and 'a running instance is valuable' is your revenue stream.

Nothing about your repo changes. No dual license, no open-core feature gating, no 'community edition.' You're selling operations, not software — the same trade that made managed databases a business while Postgres stayed free.

Add the x402 gate without forking

Deploy your server as a remote Streamable HTTP endpoint and wrap the handler with a payment gate. With x402, the agent gets an HTTP 402 with a price, signs a USDC authorization, and your handler runs only after payment is secured. Settlement lands on Base in about two seconds, with no chargebacks and an Ed25519-signed receipt per call.

The gate is a wrapper, not a rewrite — your open-source tool logic is untouched underneath it.

hosted/route.ts
import { requirePayment } from "@loomal/sdk";
import { handleToolCall } from "../src/server"; // your existing OSS code

export const POST = requirePayment(
  { price: "$0.01" },
  async (req) => {
    const result = await handleToolCall(await req.json());
    return Response.json(result);
  },
);

Claim your listing — it probably already exists

If your server is in the official MCP registry, Loomal has likely already imported it as an unclaimed listing. Search loomal.ai/marketplace for your server name, open the listing, and hit 'Claim this listing.' Verification runs against the GitHub repo: sign in to the console, link the GitHub account that owns the repo (or is a public member of the owning org), and the listing is yours.

Once claimed, you can connect your live server to publish its real tool list, and link your priced hosted endpoint so agents discovering the listing can pay and call it immediately.

What to charge

The minimum per-call price on Loomal is $0.01, and for many utility servers that's the right starting point — cheap enough that no agent budget blinks, real enough to add up at volume. If your tool wraps an upstream API you pay for, price above your marginal cost and let usage do the rest.

Loomal's fee is 5% on settled transactions, currently waived. You can reprice the endpoint in one field whenever the data tells you to.

Why this beats donations

Donations ask users to value your past work; per-call pricing charges for present usefulness. An agent that calls your hosted endpoint 4,000 times a month generates revenue proportional to the value it extracted — no GitHub Sponsors campaign required, no guilt-driven README banner.

And because the payer is software, conversion doesn't depend on a human remembering to be generous. The agent needed the call, the call had a price, the price got paid.

FAQ

Do I have to change my project's license?

No. The repo stays under whatever open-source license it has. You're charging for access to a hosted instance you operate, which is independent of the code license — the same way managed hosting companies run open-source software commercially.

Won't people just self-host instead of paying?

Some will, and that's fine — they were never customers. The buyers are agent builders who want a working URL without operating infrastructure, managing API keys, or handling updates. Per-call pricing at $0.01 and up is usually cheaper for them than running a box.

Do I need blockchain experience to set this up?

No. The x402 flow is HTTP and JSON: your endpoint returns a 402 with payment requirements, the agent's wallet signs a USDC authorization, and a facilitator verifies and settles on Base. You never write smart-contract code.

What does Loomal take?

5% of settled transactions, and that fee is currently waived. There's no listing fee or monthly platform charge; the minimum price you can set per call is $0.01.

See who's already listed.

Browse the Loomal Index and find your server's unclaimed listing.

Explore the Loomal Index