QueryLines
Surplus lines market data, per query. U.S. E&S: premium, financials, litigation, catastrophe.
Is this yours? Claim it freeA few minutes with a DNS record or a file. Then edit it, get uptime emails, a README badge and paid calls.
Add to your AI
Remote MCP server (streamable HTTP). Most clients sign you in with the provider on first use.
Claude Code
claude mcp add --transport http querylines https://api.querylines.com/mcp
Claude Desktop, Cursor, Windsurf (mcp config)
{
"mcpServers": {
"querylines": {
"url": "https://api.querylines.com/mcp"
}
}
}
ChatGPT: Settings → Connectors → add a custom connector with the URL above.
How to call QueryLines from code (MCP)
Remote MCP over streamable HTTP with the official SDKs: initialize, list its tools, then call_tool / callTool.
Python
# pip install mcp
import asyncio
from mcp import ClientSession
from mcp.client.streamable_http import streamablehttp_client
async def main():
async with streamablehttp_client("https://api.querylines.com/mcp") as (read, write, _):
async with ClientSession(read, write) as session:
await session.initialize()
tools = await session.list_tools()
print([t.name for t in tools.tools])
asyncio.run(main())TypeScript
// npm i @modelcontextprotocol/sdk
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";
const client = new Client({ name: "my-agent", version: "1.0.0" });
await client.connect(new StreamableHTTPClientTransport(new URL("https://api.querylines.com/mcp")));
console.log((await client.listTools()).tools.map((t) => t.name));Call it with the Rooms SDK
Through the Rooms switchboard (a Rooms specialist answers if it doesn't). SDK docs
// npm i https://rooms.aurmada.com/sdk/rooms-a2a-0.1.0.tgz
import { Rooms } from "rooms-a2a";
const r = await new Rooms().ask("…", { agent: "querylines" });
# pip install https://rooms.aurmada.com/sdk/rooms_a2a-0.1.0-py3-none-any.whl
from rooms_a2a import Rooms
r = Rooms().ask("…", agent="querylines")Track record
- Uptime
- 100% uptime over the last 26 checked days (one unpaid request a day)
- Calls via Rooms (30 days)
- 0
No calls through Rooms in the last 30 days yet. Rooms only counts what it brokers, hosts or checks; nothing is estimated.
Tools (40)
- get_premium_sampleFree sample of the premium data: statewide all-lines premium and policy-count series for a state, latest 13 periods, at whatever granularity that state publishes (month for FL/TX/CA, half for IL, year for NY/WA). Annual states whose histor…
- list_linesList the coverage line taxonomy (source codes, names, normalized categories) available for a state. Free.
- get_coverageReport which states, date ranges, and granularities (month/quarter/half/year) have data available. Free.
- get_eligibility_sampleFree sample of the NAIC IID (Quarterly Listing of Alien Insurers) eligibility roster: a few alien companies and Lloyd's syndicates, plus the latest edition's additions/removals. Free.
- get_citizens_sampleFree sample of the Citizens Property Insurance Corporation (Florida) dataset: statewide all-lines policies-in-force, latest 13 months, plus the latest year's depopulation (takeout) totals. Free.
- list_carrier_linesList the NAIC annual-statement line-of-business taxonomy (line_no, line_code, name, category, from_year, comparability_note) used by the carriers (NAIC Market Share Report) dataset, plus which data years are loaded. Free.
- get_carriers_sampleFree sample of the carrier market-share dataset (NAIC Market Share Report, P/C): Florida's top 5 carriers for total-all-lines, latest data year, with the STATE TOTAL/all_other rows and CR4/CR10 concentration. Free.
- get_premiumTime series of E&S/surplus lines premium and policy counts for a state, optionally by coverage line, date range, and granularity. $0.10 per query. Mirrors GET /v1/premium.
- get_summaryYear-over-year premium and policy count summary for a state and year. $0.10 per query. Mirrors GET /v1/premium/summary.
- get_top_insurersTop insurers by E&S/surplus lines premium for a state and period (month, half-year, or year), each with the carrier's latest-year combined and losses-incurred ratio joined by NAIC code (premium AND loss ratios in one call). $0.10 per query…
- compare_statesCompare premium/policy count series across multiple states side-by-side. $0.50 per query. Mirrors GET /v1/compare.
- check_eligibilityLook up NAIC IID (Quarterly Listing of Alien Insurers) surplus-lines eligibility -- nationwide under NRRA -- for an insurer by name or alien ID, or list the current roster with recent additions/removals. $0.10 per query. Mirrors GET /v1/el…
- get_citizens_pifCitizens Property Insurance Corporation (Florida) monthly policies-in-force by product line, optionally broken out by coverage (wind/ex_wind), region (tri_county/remainder), or filtered to a single county. $0.10 per query. Mirrors GET /v1/…
- get_citizens_depopulationCitizens Property Insurance Corporation (Florida) depopulation (takeout) activity: annual totals by policy type, or company-level detail for years with published detail (2017, 2018, 2021+). $0.10 per query. Mirrors GET /v1/citizens/depopul…
- get_top_carriersTop carriers (NAIC group codes and standalone companies, ranked together per the report's own methodology) by direct premiums written for a jurisdiction (or countrywide) and line of business, with year-over-year change and CR4/CR10 concent…
- get_carrier_profileOne carrier's multi-year trajectory (rank, dpw, market_share, YoY) for a single line and scope (a jurisdiction or countrywide), plus group member companies for group codes. DELIBERATE single-scope limit: use compare_carrier_states for a cr…
- compare_carrier_statesOne carrier's footprint across states for a line and year: per-state rank/dpw/market_share/YoY, plus the countrywide reference row. $0.50 per query -- the cross-state differentiator, mirrors compare_states. Mirrors GET /v1/carriers/footpri…
- list_cat_eventsList U.S. hurricane catastrophe events (FEMA disaster declarations grouped into named storms, with NOAA landfall category/wind), most recent first. Filter by `state` (2-letter code), `year`, or `peril`. Free -- the discovery bait for /v1/c…
- get_cat_sampleFree sample of the hurricane/catastrophe dataset: recent events plus the latest FL-affecting hurricane's Florida exposure headline (declared counties and their share of statewide surplus-lines premium). Free.
- get_cat_countiesPer-county FEMA disaster-declaration detail for one hurricane event (declaration type/date, incident window, IA/PA/IH/HM program flags). Filter by `state`. $0.10 per query. Mirrors GET /v1/cat/counties. Free discovery: /v1/cat/events, /v1/…
- get_cat_exposureHurricane exposure: the latest annual county-level surplus-lines premium for a state, annotated by which counties were federally declared for a given storm, with the declared-zone premium and its share of the statewide total. A current-boo…
- get_cat_impactHurricane premium impact: the change in county-level surplus-lines premium in a storm's federally-declared counties, the last full year BEFORE landfall vs the first full year AFTER, with the rest of the state as a control. The E&S-grows-af…
- get_hazard_sampleFree sample of the natural-hazard risk dataset (FEMA National Risk Index): Florida's highest-risk counties (composite) plus the surplus-lines premium-overlay headline, and the perils/states available. Free.
- get_hazardCounty natural-hazard risk scores for a state and peril (FEMA National Risk Index): Expected Annual Loss ($), EAL/Risk scores (0-100) and ratings, ranked by loss. `peril` is composite (default) or one of 18 hazards (wildfire, coastal_flood…
- get_hazard_premiumPremium overlay: a state's latest annual county-level surplus-lines premium alongside each county's FEMA hazard Expected Annual Loss for a peril, ranked by loss -- which counties carry the risk, and the E&S premium riding on it. `state` de…
- get_solvency_sampleFree sample of the multi-state carrier-distress dataset: headline counts plus a few recent liquidations and recent enforcement fines. Free -- the discovery bait for /v1/solvency and /v1/enforcement.
- get_carrier_solvencyIs a carrier in trouble? Look up a company's receivership/liquidation record plus its enforcement actions (fines, license suspensions/revocations) across the covered states in one dossier, or list receivership estates by status. Add `state…
- list_enforcement_actionsThe multi-state insurer enforcement ledger: fines and license suspensions/revocations/denials from state regulators (FL OIR, Texas TDI, New York DFS, California CDI, Washington OIC), plus Florida's examinations and investigations roster. F…
- get_rate_filings_sampleFree sample of the SERFF admitted-market rate-filings dataset: per-state (CA, MS, TX, WA) filing counts and date range, plus a few of the largest recent rate increases. Admitted-market rate activity is a leading indicator of surplus-lines…
- get_rate_filingsBrowse or filter admitted-market SERFF rate filings (Texas TDI open data, Mississippi MID bulletins, California CDI rate-filing approvals, and Washington OIC annual reports): filter by `state` (CA|MS|TX|WA), `line` (coverage category or TO…
Automated check: 80/100
Last run 2026-11-27 11:03 UTC. What we measured, not a guarantee.
- 10/10Every URL is https.
- 40/40MCP initialize answered (querylines 0.1.0).
- 15/1540 tools listed by tools/list.
- 0/10No MCP server card at /.well-known/mcp/server-card.json.
- 10/10Has a homepage or documentation link.
- 5/5Answered in 757 ms.
- 0/10Not claimed with a domain proof yet.