# Pike13 MCP

> Pike13 connects your AI client directly to your fitness studio's core operational data. It handles everything from scheduling classes and checking staff credentials to running full financial reports on invoices and memberships. Your agent can search for clients, analyze attendance records, or list all upcoming events using natural conversation.

## Overview
- **Category:** business-intelligence
- **Price:** Free
- **Tags:** fitness-management, class-scheduling, member-management, business-analytics, billing

## Description

Yo, listen up. This isn't your grandpa's clunky studio management software you gotta click through a dozen screens to use. Pike13 connects your AI client straight into your gym’s core system. You don't need to know where the button is; you just talk to your agent, and it pulls the data for you. It handles everything—from figuring out who showed up today to running deep financial reports on last quarter's memberships.

Your agent can act like an employee with full access rights. Here’s what you get:

**Client Profiles & Search:** You never wanna waste time digging through spreadsheets again. Your agent lets you search for any client or member using their name, email address, or phone number via the `search_people` tool. If you need a deep dive into one person's history, the `get_person` function pulls up their entire profile. You can instantly see what plans they’re on and how many visits they have left—it's all right there.

**Scheduling & Events:** Wanna know who’s showing up to Yoga Blast or if you got enough spots for a new class? Your agent handles that with the `list_events` tool, letting you pull schedules for any date range. If you need specifics on one particular session, the `get_event` function gives you all the details. It lets you manage your whole calendar without leaving chat.

**Money Talk (Billing & Plans):** Gotta track revenue? Your agent runs financial reports by generating a list of invoices and total revenue using `list_invoices`, filtering it down to specific dates for easy tracking. For membership structure, the `list_plans` tool shows every available service plan and its pricing details, so you never sell something wrong again. You can get full business context about your gym setup with the `get_business_info` function.

**Staffing & Operations:** Keeping track of staff is a headache, right? The `list_staff` tool pulls up a clean list of every active employee and their assigned roles. Beyond that, you can analyze attendance flow by pulling records of past member check-ins using the `list_visits` function—this helps you spot retention issues before they get bad. You’ll also find that your agent uses this data to help you manage staff credentials.

This system combines all those functions into a single chat interface. Need to know the whole scoop on billing, scheduling, staffing rosters, and who's showing up? Just ask. It speaks directly to these core systems, giving you the power of deep analytics without the pain of complex dashboards.

## Tools

### list_events
Lists multiple scheduled classes or events when you filter by date range.

### get_event
Gets the specific details for one scheduled class or event.

### search_people
Searches and returns profiles for members or clients, showing active plans and visit counts.

### get_person
Retrieves a complete profile for a single person (member, staff, etc.).

### list_staff
Pulls a list of all active staff members in the studio.

### list_plans
Shows available service plans, including their pricing structure and visit limits.

### list_invoices
Generates a list of invoices and revenue totals for financial reporting, filtered by date.

### list_visits
Provides a record of member check-ins, useful for retention analysis.

### get_business_info
Retrieves general configuration details about the gym's account.

## Prompt Examples

**Prompt:** 
```
What's our revenue this month?
```

**Response:** 
```
Revenue report — March 2026:

💰 **Total revenue**: $24,580
- Memberships: $18,200 (74%)
- Drop-ins: $3,100 (13%)
- PT sessions: $2,480 (10%)
- Retail: $800 (3%)

📊 **142 invoices** processed, 97% collection rate
📈 **vs. February**: +8% ($22,760 → $24,580)
👥 **12 new members** this month

Top revenue day: Saturday March 15 ($1,420)
```

**Prompt:** 
```
List the staff members teaching yoga classes tomorrow.
```

**Response:** 
```
Tomorrow's Yoga instructors: Sarah Jenkins (Vinyasa flow, 9 AM), David Lee (Ashtanga, 12 PM), and Emily Chen (Restorative, 6 PM).
```

**Prompt:** 
```
How many new clients bought a membership this week?
```

**Response:** 
```
This week, 8 new clients successfully purchased an active membership plan, representing a 15% increase compared to the previous week.
```

## Capabilities

### Search Members by Detail
Find a client's full profile using their name, email, or phone number.

### Generate Class Schedules
List all classes and events within specific date ranges, showing capacity and enrollment status.

### Run Financial Reports
Pull lists of invoices or membership plans, filtering by date for revenue tracking.

### Manage Staffing Data
List all active staff members and their assigned roles or certifications.

### Analyze Attendance Flow
Get lists of past member visits, which helps track retention patterns.

## Use Cases

### Running end-of-month financials
The owner needs to know total revenue. They prompt the agent with, 'What was our income last month?' The agent calls `list_invoices` and returns a structured report detailing memberships vs. drop-ins.

### Checking staff availability
The Ops Manager asks: 'Who is teaching HIIT next Tuesday?' The agent uses `list_events` to check the schedule, listing all qualified instructors and their times for that day.

### Handling a membership query
A client calls about billing. Staff use the agent with `search_people` (by phone number) to pull up the member's profile, confirming their active plan, remaining visits, and account balance.

### Analyzing engagement gaps
The owner wants to know if new members are coming back. They ask the agent to analyze `list_visits` data for the last quarter, identifying patterns of low check-in frequency among certain groups.

## Benefits

- You get real-time financial data. Instead of exporting a spreadsheet to check revenue, asking the agent to `list_invoices` gives you an instant summary of payments and refunds.
- Staffing questions are solved immediately. Need to know who's teaching yoga tomorrow? Asking about events using `list_events` gives you schedules, instructors, and capacities in seconds.
- Member data is centralized. Use `search_people` to pull up a client profile that includes their membership plan status, visit count, and contact info—all in one go.
- Retention tracking gets easier. By running the `list_visits` tool, you can quickly see attendance trends across your entire member base to spot who might be slipping away.
- Staff management is clean. The `list_staff` tool gives you a current roster of all instructors and their official certifications without needing to log into HR software.

## How It Works

The bottom line is you tell your AI client what business question you have; it handles calling the right APIs and formats the answer for you.

1. Your AI client sends a natural language request (e.g., 'What's our revenue for last month?').
2. The Pike13 server identifies the necessary tool (`list_invoices`) and calls it with parameters like dates.
3. The agent receives structured data (JSON) detailing the financial report, which it then translates back into a conversational summary.

## Frequently Asked Questions

**How do I check current staff availability using list_staff?**
You run `list_staff` to get a roster of all employees and their roles. You can then ask the agent, 'Which certified trainers are available next Tuesday?' for a filtered result.

**Can I find out if a client has an active plan using search_people?**
Yes. `search_people` finds members by criteria (name/phone) and returns their profile, which includes whether they have an active membership plan and remaining visits.

**What data does list_invoices provide for billing reports?**
`list_invoices` generates a report on revenue, detailing payments processed, refunds issued, and total invoices, allowing you to track cash flow over time.

**Is get_event only for viewing classes?**
No. `get_event` retrieves detailed information about a single scheduled event, including its specific capacity limits and who is assigned as the primary instructor.

**If I need a historical overview, how do I use list_visits to retrieve visits spanning multiple months?**
You filter by date range parameters when calling list_visits. The API returns a structured dataset of check-in records, allowing you to calculate retention trends over any period.

**When using get_person, what information is returned if the client ID doesn't exist in the system?**
The tool sends a specific error code indicating that no profile was found. Your agent must handle this null response to prevent processing failure or incorrect data reporting.

**How do I combine member status and class availability by using search_people and list_events?**
You first use search_people to get the client roster, then cross-reference those IDs with list_events results. This lets your AI agent confirm if a specific person is enrolled in a scheduled session.

**What kind of operational data can I pull using get_business_info?**
This tool provides core account configuration, including primary studio details and general settings. It's useful for verifying the current operating status or location parameters before running other reports.

**Does Pike13 support real-time webhooks?**
Yes! Pike13 has a dedicated Webhooks API that sends real-time notifications for events like new clients, invoice changes, and new visits. This MCP server focuses on the Core and Reporting APIs for querying data.

**Can I query staff payroll data?**
Through the Reporting API, you can query staff hours, class assignments, and pay rates to calculate or audit your payroll.

**What payment gateways are supported?**
Pike13 typically integrates with Stripe, Evo, and other major gateways to process credit card and ACH payments directly.