HeyPeppy Model Context Protocol (MCP) Server
Connect your favorite AI assistant (Claude Desktop, Cursor, Meta Muse, Claude Code, Zed) directly to your HeyPeppy scholarship workspace.
The Model Context Protocol (MCP) is an open protocol standard that enables large language models (LLMs) to securely interact with external tools, databases, and APIs. With the HeyPeppy MCP server, your AI assistants can scan receipts, inspect claim statuses, modify itemized lines, draft Florida Step Up educational justifications, attach supporting documents, and check real-time scholarship budget balances directly from your chat or editor.
🔑 Authentication
The HeyPeppy MCP server authenticates requests using your HeyPeppy API Key.
Finding Your API Key
- Log in to your HeyPeppy dashboard.
- Go to Manage Profile (click your profile avatar in the upper right, then click the pencil icon).
- Select the API Key tab.
- If you have not generated one yet, click Generate API Key.
- Copy your key, which starts with the prefix
hp_sync_(e.g.,hp_sync_9a8b7c6d5e4f...).
Your API key grants full access to manage your family's scholarship claims, receipts, and budgets. Never commit your API key to public repositories. If you regenerate your key, previously connected tools will be invalidated until updated.
🌐 Cloud-Hosted Architecture (api.heypeppy.ai/mcp)
You do not need to download, install, clone, or run any code on your local computer. HeyPeppy hosts and maintains the MCP server in the cloud at https://api.heypeppy.ai/mcp.
All AI desktop clients (Cursor, Claude Desktop), cloud assistants (Meta Muse), and custom agents connect directly to this endpoint over the network using your HeyPeppy API key.
💻 Connecting Your AI Assistant
1. Cursor IDE
Cursor connects natively to the remote HeyPeppy MCP server via Server-Sent Events (SSE).
- Open your project's
.cursor/mcp.jsonfile (or open Cursor Settings > Features > MCP > Add New MCP Server). - Configure the server using your API key in the URL:
{
"mcpServers": {
"heypeppy": {
"url": "https://api.heypeppy.ai/mcp/sse?apiKey=hp_sync_your_api_key_here"
}
}
}
Alternatively, if your client supports custom headers:
{
"mcpServers": {
"heypeppy": {
"url": "https://api.heypeppy.ai/mcp/sse",
"headers": {
"X-API-Key": "hp_sync_your_api_key_here"
}
}
}
}
- Save the file. Cursor will automatically connect to
api.heypeppy.aiand display all 17 HeyPeppy tools in Composer and Chat.
2. Claude Desktop
Claude Desktop connects to remote MCP servers using the official mcp-remote bridge. This lets Claude Desktop talk directly to api.heypeppy.ai without needing any server files on your machine.
- Open your Claude Desktop configuration file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
- Add the
heypeppyentry undermcpServers:
{
"mcpServers": {
"heypeppy": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://api.heypeppy.ai/mcp/sse?apiKey=hp_sync_your_api_key_here"
]
}
}
}
- Restart Claude Desktop. The hammer icon in the chat input will show all registered HeyPeppy tools.
3. Meta Muse (Custom Connector)
Meta Muse configures MCP servers conversationally via prompts as Custom Connectors without needing any manual configuration files:
- Start a new chat in Meta Muse.
- Enter the following prompt:
Set up a Custom Connector for HeyPeppy. It has an MCP server at https://api.heypeppy.ai/mcp/sse
- Enter your API Key securely: Muse will prompt you for your API key in a dedicated, secure dialog. Paste your HeyPeppy API key (
hp_sync_...) into that secure prompt (do not send your API key directly in the chat window). - Test your connection: Verify the integration by prompting:
Muse will invoke theList the names of my children from my HeyPeppy account
list_childrentool and return the children registered under your HeyPeppy family account.
⚙️ Environment Variables Reference
When running the MCP server locally or in custom container environments:
| Variable | Description | Required |
|---|---|---|
HEYPEPPY_API_KEY | Your HeyPeppy API key (hp_sync_...) from Profile > API Key | Recommended |
HEYPEPPY_EMAIL | HeyPeppy account email (fallback alternative to API key) | Optional |
HEYPEPPY_PASSWORD | HeyPeppy account password (fallback alternative to API key) | Optional |
HEYPEPPY_FAMILY_ID | Override family document ID (for accounts linked to multiple families) | No |
FUNCTIONS_REGION | Cloud Functions region (default: us-central1) | No |
PORT | HTTP port for the SSE server (default: 8080) | No |
🛠 Available MCP Tools
The HeyPeppy MCP server registers 17 specialized tools covering the entire reimbursement, audit, and scholarship lifecycle. Click on any tool below to expand its parameters and details:
1. process_receipt — Upload and AI-scan receipt image or PDF
Uploads a receipt image (JPG, PNG, WEBP) or PDF from a local disk path, chat attachment (base64), or public URL. Invokes HeyPeppy's AI vision engine to extract merchant name, transaction totals, and itemized line items, then creates a draft reimbursement submission.
- Parameters:
file_path(string, optional): Absolute or relative local path to the receipt file on disk.file_base64(string, optional): Base64-encoded receipt content if passed directly from chat attachment.file_url(string, optional): Direct URL to download the receipt document.file_name(string, optional): Filename with extension (e.g.curriculum_invoice.pdf).child_id(string, optional): Child document ID to assign the claim to.child_name(string, optional): Student name to match and assign (e.g."Tommy").notes(string, optional): Initial memo or instructions for this submission.
2. get_submission_details — Retrieve complete status, line items, and audit history
Retrieves comprehensive details of a submission, including vendor, amounts, status, itemized lines, attached documents, and audit timeline.
- Parameters:
submission_id(string, optional): HeyPeppy Firestore submission document ID.reimbursement_id(string, optional): Step Up EMA claim ID (e.g.,"2024-91823").line_item_index(number, optional): 0-based index to inspect a single line item.line_item_query(string, optional): Keyword to search within line items.
3. update_submission_status — Update claim status (draft, approved, paid, etc.)
Updates the status of any submission with an audit trail note in HeyPeppy.
- Parameters:
submission_id(string, required): The ID of the submission to update.status(string, required): One ofdraft,ready,submitted,approved,on_hold,denied,pending_payout,paid.note(string, optional): Explanatory note appended to the timeline history.reimbursement_id(string, optional): Step Up claim number to link.actual_payout_amount(number, optional): Actual reimbursed amount when paid.
4. search_submissions — Search family claims by vendor, item, status, or student
Full-text search matching vendors, items, categories, amounts, student names, or claim numbers.
- Parameters:
query(string, optional): Free-text search query.reimbursement_id(string, optional): Filter by claim ID.status(string, optional): Filter by status.child_name(string, optional): Filter by student name.vendor(string, optional): Filter by vendor name.min_amount(number, optional): Minimum dollar amount.max_amount(number, optional): Maximum dollar amount.limit(number, optional): Maximum results (default10).
5. attach_supporting_document — Upload supporting documents (syllabus, test, invoice)
Uploads and attaches supporting documentation (curriculum syllabus, standardized test results, teacher evaluation, or invoice) to an existing submission.
- Parameters:
submission_id(string, required): Target submission ID.file_path(string, optional): Local path to the file.file_base64(string, optional): Base64-encoded file content.file_name(string, required): Document file name (e.g.piano_curriculum.pdf).document_name(string, optional): Friendly display label.mime_type(string, optional): MIME type (defaultapplication/pdf).
6. update_submission_line_items — Add, update, or remove itemized line items
Modifies, appends, or deletes line items on an existing submission, automatically recalculating totals and summaries.
- Parameters:
submission_id(string, required): Target submission ID.line_items(array of objects, optional): Complete replacement array of line items with descriptions, prices, categories, and justifications.line_item_index(number, optional): Index of a specific line item to edit.line_item_update(object, optional): Target fields to update on an individual line.note(string, optional): Note explaining the revision.
7. add_submission_note — Add a note or memo to a submission timeline
Appends a memo or communication note to a submission timeline.
- Parameters:
submission_id(string, required): Target submission ID.note(string, required): Note text to append.
8. list_submissions — View recent family submissions and statuses
Lists recent family submissions with summary status information.
- Parameters:
status(string, optional): Filter by status.limit(number, optional): Maximum count (default10).
9. check_item_eligibility — Check Florida PEP / FES-UA purchasing guidelines
Checks whether a product, curriculum, service, or equipment is reimbursable under Florida PEP / FES-UA state guidelines.
- Parameters:
item_name(string, required): Product or service description (e.g.,"microscope","equine therapy","iPad").program(string, optional): Program code ("PEP"or"FES-UA", defaults to"PEP").
- Returns: Category > Type > Detail path, purchase caps/frequency limits, required documentation, and approval tips.
10. draft_educational_justification — Draft Florida-compliant educational justification
Generates or strengthens a Florida Step Up compliant educational justification tailored to student grade level and subject standards.
- Parameters:
item_description(string, required): Item name or curriculum title.vendor(string, optional): Retailer or provider name.category(string, optional): Category path (e.g.,Instructional Material > Books).student_grade(string, optional): Grade level (e.g.,"4th Grade").subject(string, optional): Academic subject area (e.g.,"Science").learning_objective(string, optional): Educational goal or learning plan focus.
11. list_children — List students registered under the family account
Retrieves all registered students in the family account.
- Parameters: None.
- Returns: Array of students with IDs, names, grade levels, and active scholarship programs (e.g.,
FL_PEP,FL_UA).
12. get_budget_summary — View Florida scholarship budget balance breakdown
Retrieves the Florida scholarship budget for an individual child or aggregated across the entire household.
- Parameters:
child_name(string, optional): Student name, or"all"for household totals.child_id(string, optional): Specific child document ID.school_year(string, optional): School year (e.g.,"2024-2025").
- Returns: Official EMA balance, unsubmitted pipeline, submitted pending claims, paid claims, marketplace expenses, and effective remaining balance.
13. list_budget_transactions — List transactions and expenses for a child or family
Lists transaction entries under a student or family budget (reimbursements, marketplace orders, and balance sync adjustments).
- Parameters:
child_name(string, optional): Student name.type(string, optional):"all","submission","offapp", or"sync".query(string, optional): Search keyword.start_date(string, optional):YYYY-MM-DD.end_date(string, optional):YYYY-MM-DD.limit(number, optional): Result limit (default25).
14. get_transaction_details — View full line item details for a transaction
Retrieves itemized details for any budget transaction or claim.
- Parameters:
transaction_id(string, required): Document or claim ID.
15. log_budget_transaction — Record an off-app marketplace or direct purchase
Records an off-app educational purchase, marketplace order, or direct provider fee against a student budget.
- Parameters:
amount(number, required): Dollar amount.description(string, required): Item or service description.child_name(string, optional): Target student name.vendor(string, optional): Merchant name.date(string, optional):YYYY-MM-DD.category(string, optional): Educational category.transaction_number(string, optional): Confirmation or order number.
16. update_budget_transaction — Update an existing off-app expense entry
Updates an existing off-app transaction on a student budget.
- Parameters:
transaction_id(string, required): Document ID.amount(number, optional): New amount.description(string, optional): New description.vendor(string, optional): New vendor.category(string, optional): New category.
17. delete_budget_transaction — Remove an off-app expense from a student's budget
Removes an off-app expense transaction from a student's budget.
- Parameters:
transaction_id(string, required): Target transaction document ID.
💬 Example Prompt Scenarios
Once connected, you can interact with your HeyPeppy account naturally through your AI assistant:
Receipt Scanning & Submission
User: "I just bought a chemistry kit on Amazon for $49.99 for Emma. I have the receipt PDF saved at
C:/Receipts/chem_kit.pdf. Can you upload it to HeyPeppy, assign it to Emma, and draft a justification for 5th grade science?"
Assistant: Usesprocess_receiptto scan the receipt, automatically assigns it to Emma, callsdraft_educational_justification, and attaches the justification to the newly generated submission.
Claim Tracking & Hold Resolution
User: "Step Up notified me that one of my claims was put on hold. Can you check claim 2024-81920 to see what happened and what documentation they need?"
Assistant: Callsget_submission_details(reimbursement_id="2024-81920"), analyzes the hold reason, and suggests attaching the course syllabus usingattach_supporting_document.
Budget Inquiries
User: "How much scholarship money do we have left across all our kids for this school year?"
Assistant: Invokesget_budget_summary(child_name="all")and provides a clean breakdown of official balances, pending reimbursements, and effective spendable funds.