DEV Community

Cover image for PermitPike: The Fast Lane for Boston Electrical Permitting
Janice Lee
Janice Lee

Posted on

PermitPike: The Fast Lane for Boston Electrical Permitting

We Built PermitPike to Help Boston Review Electrical Permits

This is a submission for the MLH x DEV Writing Challenge

What I Built

At my first hackathon, my teammates Allegra, Nikhil, Inesh, and I built PermitPike and won Best Use of Mastra at BostonHacks 2026.

Boston’s electrification runs on permitting. As Massachusetts accelerates electrification, permitting delays can slow down installations of heat pumps, EV chargers, and home batteries.

Say a family wants to install an EV charger. Before the project can move forward, a city reviewer needs to check whether the home’s electrical service can handle the added load. If a required value is missing, the reviewer has to track down the number or ask the electrician to submit more information. Meanwhile, the family waits.

These delays cause a real snafu: they keep families from accessing cleaner, more affordable energy while adding to the workload of already stretched municipal offices. We envision a world where permitting accelerates the transition to clean energy, making sustainable technologies more accessible for everyone.

So we built PermitPike, the fast lane for Boston electrical permits. Now, just moments after an electrician uploads their documents, the city reviewer receives a cited recommendation in their queue.

Demo

An EV charger permit moves through two portals. The electrician files the application and handles corrections. The city reviewer checks the evidence and makes the final decision.

Electrician portal

  1. File the application. Enter the project details and upload the EV charger’s equipment spec sheet. PermitPike extracts values, such as the charger’s amperage, and flags missing information.
  2. Follow up on corrections. Once the application reaches the reviewer’s queue, the electrician can respond to a correction request by updating the application or supplying the missing documentation.

City reviewer portal

  1. Open the application from the review queue. PermitPike’s report brings together the recommendation, the load calculation, and any findings that need attention.
  2. Verify the evidence. Follow the amperage reference back to the original spec sheet, check how that value affects the load calculation, and open the cited code section behind each finding.
  3. Sign off or request a correction. If the application supports approval, the reviewer signs off. If a value is missing or needs clarification, the reviewer sends a correction request back to the electrician.

Explore our GitHub repository here!

Partner Technologies

I especially enjoyed the opportunity to gain hands-on experience with a smattering of new technologies.

Working with Mastra was the highlight of the weekend for me. We connected Gemini to a Mastra agent workflow so that Gemini could extract electrical values from equipment spec sheets and the agent could use those values to run code checks and a load calculation. I especially enjoyed seeing how a single number, like an EV charger’s amperage, carried through from a spec sheet to a recommendation a city reviewer could verify.

Our custom MCP server retrieves the Massachusetts electrical code and Boston amendments with section-level citations, along with parcel and zoning data for every address in Boston. A reviewer can open the cited section, read the rule behind a finding, and check the property details for that application.

We also loaded nearly 500,000 Boston permit records into Tiger Data. I’m especially proud of the LightGBM closure-risk model we trained on those records. The model flags applications at risk of staying open so reviewers can identify which permits in their queue may need an earlier follow-up.

Deploying PermitPike on Vultr turned into a hands-on lesson in hosting. Our workflow ran locally, but every port we opened timed out when we tried to connect from a browser. Troubleshooting those connections with my teammates was rewarding, and I came away with a better understanding of what it takes to get a working prototype into someone else’s hands.

Hackathon Experience

I’m especially grateful to Allegra, Nikhil, and Inesh for making my first hackathon such a rewarding experience. I'm incredibly proud of what we accomplished in under a day, and even more grateful for everything I learned along the way.

PermitPike is proof that technology can make government work better for the people it serves. We’d love to pilot PermitPike with Boston’s Inspectional Services Department and learn from the reviewers who handle these applications every day. Because Massachusetts municipalities share a state electrical code, what we learn in Boston could help us adapt PermitPike for the other 350 cities and towns across the Commonwealth. I'm excited to see how ideas like this could take shape in the real world.

Thank you MLH × DEV & BostonHacks!

Top comments (0)