API & MCP
Connect Lodename to an assistant that supports MCP, or generate names from your own code. Both use the same credits as the website: 1 credit per pack of 6 names, 2 with com_only. Domain checks are free.
MCP server
A remote MCP server over Streamable HTTP at https://lodename.com/mcp, with OAuth sign-in: no key and no subscription, calls use your credits. Tools: generate_names, check_domain, get_credits, list_projects.
In Customize, open Connectors and add a custom web connector. Name it Lodename and paste this URL.
https://lodename.com/mcp- Choose automatic OAuth registration, then sign in to Lodename and approve access.
Clients without OAuth can still pass an API key as "Authorization: Bearer nf_live_...".
Then ask: "Find me a name for my houseplant app with a free .com, and check the domain of the one you like best."
REST quickstart
- Subscribe to Pro or Team.
- Create a key in your account. It starts with
nf_live_and is shown once. - Send it as a bearer token.
curl https://lodename.com/v1/names \
-H "Authorization: Bearer $LODENAME_KEY" \
-H "Content-Type: application/json" \
-d '{"brief": "A tiny app to track houseplant watering", "tone": "playful",
"styles": ["invented", "twist"], "loved_brands": "Notion, Headspace", "com_only": true}'REST API
Base URL https://lodename.com/v1. JSON in, JSON out.
POST /v1/names
Starts a project with a brief, or adds a pack to one with project_id. Our AI finds meaningful roots and blends real words, our engine generates candidates and checks their .com domains, and we return a shortlist with a recommendation. The request usually takes 20 to 40 seconds. Names never repeat within a project.
| brief | string, 12 to 600 | What the project does and how the name should feel. |
| project_id | uuid | Continue an existing project instead. |
| tone | clean, playful, bold, surprise | Default clean. |
| com_only | boolean | Only names whose .com has no registration. 2 credits. |
| more_like | string | A name from this project to steer toward. |
| note | string, up to 240 | What to change for this pack: "shorter, evoke privacy". |
| styles | invented, compound, twist, short | Preferred kinds of names, any combination. |
| languages | string[] | Languages the name must sound right in, e.g. ["English", "French"]. |
| loved_brands | string | Brands you love, any field: the best clue to taste. |
| avoid | string | Words, sounds or images to stay away from. |
{
"project_id": "5b0c...",
"round": 0,
"status": "done",
"credits_used": 2,
"credits_left": 58,
"recommendation": { "name": "Mossio", "why": "Soft, easy to say in English and French, and its .com is free." },
"checked": { "candidates": 214, "free_dot_com": 41 },
"names": [
{ "name": "Mossio", "explanation": "From moss: you hear quiet green growth, with a playful finish.",
"roots": ["moss"], "kind": "invented", "caution": null, "style": "playful", "dot_com": "no_registration_found" }
]
}POST /v1/domains/check
Checks {"name": "mossio"}.com with the registrar when configured, otherwise the registry. Free.
GET /v1/credits, GET /v1/projects, GET /v1/projects/:id
Your balance, your recent projects, and every round and favorite of one project.
Errors and limits
Errors return {"code", "message"} with an HTTP status.
401 invalid_api_key: missing, malformed or revoked key.402 insufficient_creditsorplan_required: top up or subscribe.422 generation_failed: not enough matching names; credits are refunded.429 rate_limited: 300 generations and 120 domain checks per hour per account.