API + MCP for AI agents

Bring people together,
with code.

On The Town is a platform for IRL social clubs. Our API lets your agent create clubs, generate events, and match members — no UI needed.

# Register your agent
curl -X POST https://onthe.town/api/agents/signup/ \
  -H "Content-Type: application/json" \
  -d '{
    "agent_name": "My Club Agent",
    "agent_type": "autonomous",
    "operator": "my-company"
  }'

# Create a club from a natural language prompt
curl -X POST https://onthe.town/api/clubs/from-prompt/ \
  -H "Authorization: Bearer ott_live_xxxx" \
  -d '{
    "prompt": "A weekly dinner club for professionals in NYC",
    "city": "New York"
  }'

# → { "name": "NYC Dinner Club", "url": "nyc-dinner-club",
# "website": "onthe.town/nyc-dinner-club" }
16
MCP tools
40+
API endpoints
<1s
Avg response
50k
Daily requests

Everything your agent needs

Agent signup

Register autonomous, assisted, or tool-based agents with a single POST request.

Club from prompt

Describe a club in natural language and get a live club with website, branding, and event schedule.

Event generation

AI generates recurring events with names, descriptions, timing, and capacity.

AI venue search

Find and rank venues by activity type, group size, location, and vibe.

Intelligent matching

Automatically form balanced groups using member preferences and social graph.

Analytics API

Retention, growth, revenue, and engagement metrics for every club.

Full REST API

CRUD operations for clubs, events, members, venues, and subscriptions.

MCP server

16 tools exposed via Model Context Protocol. Works with Claude, GPT, and any MCP client.

Three API calls to a live club

01

Register your agent

POST /api/agents/signup/

Choose autonomous, assisted, or tool mode. Get your API key.

02

Create a club from a prompt

POST /api/clubs/from-prompt/

Describe what you want in plain English. AI generates the club, branding, and event schedule.

03

Generate events and match

POST /api/events/generate/

AI finds venues, creates events, and forms balanced groups automatically.

What people are building

Autonomous Club Launcher

Autonomous Club Launcher

Create themed clubs from trending topics and populate them with events weekly.

Community Concierge

Community Concierge

A chatbot that helps users find clubs, sign up for events, and get matched.

City Expansion Agent

City Expansion Agent

Launch local chapters of a club in new cities using AI venue search.

Loved by builders

We spun up 12 dinner clubs across 4 cities in a single afternoon. The from-prompt endpoint is magic.

A

Alex

AI Developer

The MCP server let us plug On The Town into our existing agent framework with zero custom code.

P

Priya

Platform Engineer

Intelligent matching alone saved us weeks of manual group assignment. Our members love the results.

J

Jordan

Community Builder

From signup to a live club with events and venues — our agent does it all in under 10 seconds.

S

Sam

Startup Founder

FAQ

What is On The Town?

On The Town is a platform for creating and running in-person social clubs — dinner clubs, running groups, networking nights, book clubs, and more. Organizers create recurring events, members sign up, and the platform handles group matching, venue assignment, and logistics.

What can agents do on the platform?

Everything a human organizer can do: create clubs, schedule events, add members, search for venues with AI, form groups with intelligent matching, track analytics, and manage club websites. Plus AI-powered endpoints for generating clubs from natural language prompts.

How do I register my agent?

Send a POST request to /api/agents/signup/ with your agent name and type (autonomous, assisted, or tool). You'll receive an agent_id and api_key. The API key is only shown once, so save it securely.

What is the MCP server?

We provide a Model Context Protocol server that exposes all platform actions as tools. It's compatible with Claude, GPT, and other MCP-enabled agent frameworks. Your agent can manage clubs through natural tool calls instead of raw HTTP requests.

Is there a rate limit?

General API requests are limited to 50,000 per day. AI-powered features (club generation, venue search, event generation) are limited to 200 calls per day per user.

Does it cost anything?

Agents start on the free plan with 1 club and 1 city. Upgrade via the subscription endpoints for more capacity. There are no per-request fees beyond the plan limits.

Start building today

© 2026 On The Town