Lorem Ipsum Utilities

Generate Names

Generate random placeholder names for testing, mockups, and development. Access via MCP in Cursor or Windsurf, or call GET /v1/lorem/names directly. Returns culturally diverse names in JSON format — perfect for populating user tables, form examples, or demo data without using real identities.

API Endpoint

GET /v1/lorem/names

Code Examples

curl "https://tinyfn.io/v1/lorem/names" \
  -H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/lorem/names', {
  headers: { 'X-API-Key': 'YOUR_API_KEY' }
});
const data = await response.json();
console.log(data);
import requests

response = requests.get('https://tinyfn.io/v1/lorem/names',
    headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)

Use via MCP

Add to your AI agent

Connect your AI agent (Claude, Cursor, Windsurf, etc.) to TinyFn's lorem ipsum tools:

{
  "mcpServers": {
    "tinyfn-lorem": {
      "url": "https://tinyfn.io/mcp/lorem",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Learn more about MCP setup →

FAQ

How do I generate random names using MCP in Cursor?

Connect TinyFn's MCP server and call the generate_names tool. It returns JSON with random first and last names you can use in your code immediately.

What format do the generated names come in?

Names are returned as JSON objects with separate first_name and last_name fields, making them easy to parse and use in databases or UI mockups.

Can I specify how many names to generate at once?

Yes, the API accepts parameters to control quantity and name characteristics. Check the endpoint documentation for specific parameter options.

Are the generated names culturally diverse?

The tool generates names from various cultural backgrounds to create realistic, inclusive test data for international applications.

Why use generated names instead of hardcoded test data?

Generated names avoid potential privacy issues, provide variety for testing edge cases, and make demos look more realistic than repetitive placeholder text.

Try Generate Names Now

Get your free API key and start using Generate Names in seconds.

Get Free API Key