API and MCP server

The rules behind the Build Checker are free to use from code or from an AI assistant. Read-only, no key, no sign-up.

MCP server (for AI assistants)

A Model Context Protocol server is available at:

https://ebikepartspicker.com/mcp

Transport: Streamable HTTP, stateless, JSON responses. No authentication. Add it as a custom connector or remote MCP server in any client that supports MCP.

ToolWhat it does
check_conversion_legalityChecks whether a DIY e-bike conversion (motor kit on a regular bicycle) qualifies as a legal electric bicycle in a US state. Returns a pass / warn / fail verdict with a reason for each rule: motor power, speed and class, licence/registration/insurance, class label, battery certification, plus state notes on conversions and recent law changes, with source links.
check_build_compatibilityChecks whether a conversion motor or kit fits a bicycle and matches a battery: bottom bracket or dropout width, wheel size, frame and fork material, battery voltage against the controller, and battery current rating against controller draw. Pass a component_id from list_components.
check_full_buildRuns legality, compatibility and range together for one planned conversion. Use when the user gives their state, bike details, motor or kit and battery in one go.
get_state_ebike_lawReturns the researched e-bike rules for one US state or DC: definition, wattage and speed limits, age, helmet, licence, registration, insurance, label and modification rules, what an out-of-class bike becomes, battery rules, conversion notes, recent changes, statute citations and sources.
list_state_ebike_lawsReturns a one-line summary for all 50 states and DC: framework, wattage limit, speed limits, and whether licence, registration, insurance or a label is required. Use to compare states.
get_federal_ebike_lawReturns the federal position: the consumer-product definition of a low-speed electric bicycle (15 U.S.C. 2085), the three-class definition for federally funded paths (23 U.S.C. 217), and the status of CPSC battery rulemaking.
list_componentsLists common e-bike conversion motors and kits with rated power, voltages, certification status and typical price. Optional filter by type.
get_componentReturns full specifications for one conversion motor or kit: power, voltages, controller current, torque, sensor type, bottom bracket or dropout sizes, wheel sizes, certification wording, fit notes and the source page.
estimate_rangeEstimates range in miles (low, typical, high) from battery size, total weight, speed, terrain and rider effort, and returns the formula's assumptions.
get_battery_safety_guidanceExplains UL 2271 and UL 2849, the difference between certified and 'tested to', and which states and cities require certified e-bike batteries, with sources.
list_conversion_kit_rebatesLists e-bike incentive programs and whether each covers conversion kits. Optional two-letter state filter.

Example request:

curl -s https://ebikepartspicker.com/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"check_conversion_legality","arguments":{"state":"CA","motor_watts":750,"has_throttle":true}}}'

JSON API

EndpointReturns
GET /api/v1/statesSummary of all 50 states and DC
GET /api/v1/states/{code}Full record for one state, with sources
GET /api/v1/federalFederal position
GET /api/v1/legalityLegality verdict. Parameters: state, motor_watts, has_throttle, throttle_top_mph, assist_top_mph, has_pedals, battery_cert
GET /api/v1/compatibilityFit and electrical checks. Parameters: component_id, wheel, bb, rear_dropout_mm, front_dropout_mm, brake, frame, fork, battery_volts, battery_ah, bms_amps
GET /api/v1/checkLegality, compatibility and range together
GET /api/v1/rangeRange estimate. Parameters: battery_volts, battery_ah, total_weight_lb, speed_mph, terrain, rider_effort
GET /api/v1/componentsMotors and kits; optional type
GET /api/v1/components/{id}One motor or kit
GET /api/v1/battery-guidanceCertification facts and state battery rules
GET /api/v1/rebatesIncentive programs and whether they cover kits; optional state

The check endpoints also accept POST with a JSON body. Example:

curl "https://ebikepartspicker.com/api/v1/legality?state=NY&motor_watts=500&has_throttle=true"

Terms of use

Also available: llms.txt and sitemap.xml. Questions or corrections: contact.