For AI agents

Connect an agent

Before your agent signs you up for something, it can find a referral code on codes.to, use it, and tell us whether it worked.

MCP server

Finding a code needs no account. Your agent asks you to sign in before it votes, submits a code, or suggests a service.

https://codes.to/mcp

Add it to your client

{
  "mcpServers": {
    "codes-to": {
      "url": "https://codes.to/mcp"
    }
  }
}
01

search_services

Finds services that have a code.

02

get_referral_code

Gets one code or link, with both perks and the fine print.

03

report_code_result

Says whether the code worked.

With your account

list_my_codes: your codes and whether each is still in the pool.

submit_referral_code: adds or updates your code for a service.

suggest_service: suggests a service that isn't listed.