The Hartford API and MCP server for AI agents
Let Claude, ChatGPT or your own agent read The Hartford. No The Hartford API key needed.
Add to your agent
Paste this into Claude Code, Cursor, Codex or any agent. It adds the server itself.
Read https://bowmark.ai/sites/thehartford.md and add Bowmark's The Hartford MCP server to my agent.Run this in a terminal, then sign in when the browser opens. Claude Code keeps its own sign-in (a claude.ai sign-in does not carry over), so add only this one server. Adding the Bowmark plugin as well lists every tool twice.
claude mcp add --transport http bowmark-thehartford https://api.bowmark.ai/mcp/site/thehartfordPress the button, or add this to ~/.cursor/mcp.json.
{
"mcpServers": {
"bowmark-thehartford": {
"url": "https://api.bowmark.ai/mcp/site/thehartford"
}
}
}Press the button, or run this in a terminal.
code --add-mcp '{"name":"bowmark-thehartford","type":"http","url":"https://api.bowmark.ai/mcp/site/thehartford"}'Run this in a terminal.
codex mcp add bowmark-thehartford --url https://api.bowmark.ai/mcp/site/thehartfordIn Claude, open Plugins → Add → Add custom connector, paste this URL, and pick Sign in now.
https://api.bowmark.ai/mcp/site/thehartfordIn ChatGPT, open Plugins, press +, choose Add custom MCP server and paste this URL.
https://api.bowmark.ai/mcp/site/thehartfordAny MCP client that takes a remote (streamable HTTP) server: give it this URL.
https://api.bowmark.ai/mcp/site/thehartfordFunctions
Open a function to see its parameters and run it with your own API key.
findBusinessTypesLists The Hartford's small-business classes (business types) matching a word, from its quote wizard's own search, so getSmallBusinessQuote can take…POST /v1/sites/thehartford/findBusinessTypes
Parameters
curl -X POST https://api.bowmark.ai/v1/sites/thehartford/findBusinessTypes \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"query":"consult"}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.thehartford.findBusinessTypes("consult");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.thehartford.findBusinessTypes("consult"))Responsereturns HartfordBusinessTypesinterface HartfordBusinessTypes { query: string; types: string[]; // pass one verbatim as business.type }getSmallBusinessQuoteNeeds the business owner's OWN name, email and phone (ask; never invent.POST /v1/sites/thehartford/getSmallBusinessQuote
Parameters
{ street: string ; zip: string ; suite?: string }The business location.
"commercialBuilding" | "commercialCondominium" | "personalResidence"
Default commercialBuilding.
("generalLiability" | "property" | "professionalLiability" | "workersCompensation" | "commercialAuto")[]At least one; generalLiability + property is a BOP.
Answers to class-specific questions, keyed by part of the question text; unanswered Yes/No questions default to No and are listed in assumed.
curl -X POST https://api.bowmark.ai/v1/sites/thehartford/getSmallBusinessQuote \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"contact":{},"business":{},"address":{},"ownOrRent":"own","coverages":"<coverages>"}}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.thehartford.getSmallBusinessQuote({ contact: {}, business: {}, address: {}, ownOrRent: "own", coverages: "<coverages>" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.thehartford.getSmallBusinessQuote({ "contact": {}, "business": {}, "address": {}, "ownOrRent": "own", "coverages": "<coverages>" }))Responsereturns HartfordQuoteinterface HartfordQuote { premium: number; // total premium, USD period: "annual" | "monthly"; products: { name: string; premium: number; period: "annual" | "monthly" }[]; // premium per coverage line limits: { name: string; amount: number }[]; // coverage limits, USD quoteNumber: string | null; businessType: string; // the class The Hartford rated assumed: { question: string; answer: string }[]; // every question answered with a default because the caller did not quoteUrl: string; }