New Business Filings API
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
New Business Filings API
Every new business filed with the state, as a clean JSON API — searchable by state, region (parish/county), city, name, entity type, industry category, likely-need segment, and filing age. Louisiana is live today; the data model is multi-state (see "Adding a state" below).
The Louisiana Secretary of State publishes new filings once a week as raw text newsletters: thousands of lines, no structure, no search, no parish field. This API does the unglamorous work once — fetch, parse, clean, region-tag, classify — and serves the result as a subscription REST API for people who need new-business data in their own systems: lead generators, lenders, insurers, franchisors, local marketers, and researchers.
Coverage: 126,710 Louisiana filings from 2024-11-24 → 2026-11-21 (two full years, backfilled from 104 consecutive weekly files), 63 of 64 parishes, refreshed weekly from the source (see
data/SOURCES.md).Stack: Python 3 standard library only. No dependencies, nothing to pip.
Auth: API key in the
X-API-Keyheader, with per-tier daily quotas and per-key scope (all data / one state / one city — see "Scope").Categories: industry and likely-need classification is shared with the $9 CSV category packs — one rule set (
packs/classify.py, documented inpacks/CATEGORIES.md), so API filters and pack slices always agree. Industry is inferred from the business name (filings carry no industry code); needs are likely-need marketing segments, never verified needs.
Quickstart
python3 refresh.py --weeks 2 # refresh data/seed.json (merges into history)
python3 build_db.py # rebuild the SQLite store (data/filings.db)
python3 app/server.py --port 8791 # serveDeploying (Docker / Render / Fly): a Dockerfile, render.yaml, and
fly.toml are included. The server reads PORT and HOST from the
environment and takes real API keys from the API_KEYS_JSON environment
variable (same JSON shape as api_keys.json, which holds DEMO keys only).
See LAUNCH-STATUS.md for the launch checklist.
Demo keys (local testing only — see api_keys.json):
Key | Tier | Daily quota | Scope |
| free | 50 | all |
| basic | 1,000 | all |
| pro | 10,000 | all |
| city (City Heavy, $29/mo) | 5,000 | city: Ville Platte, LA |
| state (Full State Heavy, $59/mo) | 10,000 | state: LA |
Related MCP server: US Government Data
Endpoints
GET /health — public
Dataset status and freshness.
{
"status": "ok",
"dataset": "Louisiana New Business Filings (Secretary of State NewCorp newsletters)",
"records": 126710,
"states": ["LA"],
"records_by_state": {"LA": 126710},
"data_generated_at": "2026-11-26",
"filing_date_range": ["2024-11-24", "2026-11-21"],
"classifier": "packs/classify.py (via app/classify.py adapter)"
}GET /v1/businesses — search filings 🔑
Query parameters (all optional, all combinable — filters compose):
Param | Meaning | Example |
| substring match on business name (case-insensitive) |
|
| filing state (the state whose filings these are — see |
|
| Louisiana parish (exact, case-insensitive) |
|
| county for non-LA states (exact, case-insensitive) |
|
| parish or county, whichever the record's state uses |
|
| mailing city (exact, case-insensitive) |
|
|
|
|
|
|
|
| industry slug from |
|
| likely-need segment slug from |
|
| filed within the last N days of the dataset's newest filing (age < N, same definition as the packs) |
|
| calendar year of filing |
|
| filing-date range, |
|
| page size, 1–100 (default 25) |
|
| pagination offset (default 0) |
|
Responses carry a scope object describing the key's bound scope, and a
scope_note when the request explicitly asked outside that scope.
Example — new LLCs in Evangeline Parish:
curl -H "X-API-Key: demo-basic-key-0002" \
"http://127.0.0.1:8791/v1/businesses?parish=Evangeline&limit=2"{
"count": 441,
"limit": 2,
"offset": 0,
"results": [
{
"id": "47303845K",
"charter_number": "47303845K",
"name": "Turning Right Indoor Golf, LLC",
"entity_type": "LLC",
"origin": "domestic",
"filing_date": "2026-11-20",
"address": "1100 SAWMILL RD VILLE PLATTE, LA 70586",
"city": "Ville Platte",
"state": "LA",
"zip": "70586",
"parish": "Evangeline",
"registered_agent": "Joshua Ortego",
"agents": ["Joshua Ortego"],
"source_file": "NewCorp_20261124.txt",
"source_url": "https://corafiles.sos.la.gov/NewCorpNewsletters/NewCorp_20261124.txt",
"filing_state": "LA",
"region": "Evangeline",
"category": "other-unclassified",
"category_label": "Other / Unclassified",
"needs": ["needs-website", "needs-phone-internet", "needs-bookkeeping"]
}
],
"scope": {"type": "all"}
}Filters compose — e.g. trucking companies statewide filed in the last
90 days: /v1/businesses?category=trucking-and-transport&age_days=90.
GET /v1/businesses/{charter_number} — one record 🔑
curl -H "X-API-Key: demo-basic-key-0002" http://127.0.0.1:8791/v1/businesses/47303845KReturns the single record, or 404 {"error": "not_found"}. Pass ?state=
if a charter number exists in more than one state (otherwise 400 ambiguous_charter). Records outside the key's scope answer 404, exactly
like nonexistent ones.
GET /v1/regions — coverage by region 🔑
The general coverage endpoint: parishes for Louisiana, counties for other
states. Optional ?state= narrows to one state.
{
"states": {
"LA": {
"region_type": "parish",
"regions_covered": 63,
"records_with_region": 110693,
"records_total": 126710,
"regions": [{"region": "East Baton Rouge", "filings": 13208}, {"region": "Orleans", "filings": 12116}]
}
},
"records_total": 126710,
"scope": {"type": "all"}
}GET /v1/parishes — Louisiana coverage 🔑
Backward-compatible Louisiana view (same numbers as /v1/regions for LA):
{
"parishes_covered": 63,
"parishes_total_in_louisiana": 64,
"records_with_parish": 110693,
"records_total": 126710,
"parishes": [{"parish": "East Baton Rouge", "filings": 13208}, {"parish": "Orleans", "filings": 12116}]
}GET /v1/categories — industries + need segments 🔑
Lists every industry category and likely-need segment with live record
counts (optional ?state=; counts always respect the key's scope).
This powers the pack catalog and buyer browsing.
{
"state": "all",
"total_records": 126710,
"industries": [{"slug": "other-unclassified", "label": "Other / Unclassified", "records": 80808}],
"needs": [{"slug": "needs-website", "label": "Needs a Website", "records": 126710}]
}(Counts shown are the real Louisiana numbers as of the last test run; call the endpoint for live ones.)
GET /openapi.yaml — OpenAPI spec (public)
The full OpenAPI 3 description of this API, served by the API itself
from the repo's openapi.yaml. Also the source for marketplace
listings (APIs.guru, Postman, API.market).
MCP server — app/mcp_server.py
The same data as MCP tools for agent clients: search_businesses,
get_business, list_regions, list_categories — backed by the
same SQLite store and enforcing the same API-key scope and daily
quota (key via the FILINGS_API_KEY env var on stdio, or the
X-API-Key header on streamable-http). Requires the official Python
MCP SDK: pip install -r requirements-mcp.txt, then
python3 app/mcp_server.py (stdio) or
python3 app/mcp_server.py --transport streamable-http --port 8792.
Vermarco delivery webhook — POST /webhooks/vermarco
The sellmydata.ai / Vertical Marketplace delivery callback
(see 85-sellmydata-bulk/RUNBOOK.md, Gate 2, in the workspace).
Authenticated by the platform's Ed25519 signature (not an API key):
signed verification_challenge posts get the nonce back, signed
delivery_request posts get a per-query filings slice as
{"data": {...}} under the platform's 10 MB cap, with a JCS
(RFC 8785) __sha256 integrity attestation. The CT enrichment email
is never delivered on that channel.
Auth, quotas, scope, errors
Every /v1/* response carries X-RateLimit-Limit, X-RateLimit-Remaining,
and X-Plan-Tier headers. Errors are JSON:
Status | Meaning |
| missing/invalid key — |
| daily quota used up — |
| bad parameter (malformed date, unknown |
| unknown route, unknown charter number, or a record outside the key's scope |
Scope (the pricing model in RAPIDAPI-LISTING.md): each key carries a
scope in the key store — {"type": "all"}, {"type": "state", "state": "LA"} (Full State Heavy, $59/mo), or {"type": "city", "state": "LA", "city": "Ville Platte"} (City Heavy, $29/mo). Scope is
enforced on every endpoint: out-of-scope records are excluded from search
results and counts (with a scope_note in the response metadata when the
request explicitly asked outside the scope), /v1/regions and
/v1/categories count only in-scope records, and single-record lookups
outside the scope return 404. Free keys are scope all with the 50/day
cap.
In production on RapidAPI, the marketplace injects and validates subscriber keys itself; the local key store here mirrors the same tier/quota structure so the paid model is real end-to-end in the demo.
Record schema
Field | Notes |
| the state's charter number — the stable ID |
| display name / name exactly as filed |
| heuristic from charter suffix — see |
|
|
| ISO date the filing was recorded |
| mailing address as filed — |
| the state whose filings the record belongs to — this is what |
| Louisiana only: derived from city; |
| non-LA states, when the source provides it |
| the record's parish or county, whichever its state uses |
| industry slug + label, inferred from the business name by |
| likely-need segment slugs the record belongs to (same rules as the packs) |
| from the filing |
| true when the registered agent's name matches a known commercial formation/registered-agent mill (Registered Agents Inc, Northwest, CSC, LegalZoom, ZenBusiness, Incfile/Bizee, Cogency Global, CT Corporation, Paracorp) — name-matched only, additive only; the record itself is never altered or dropped |
| Connecticut only: the business email address the filer itself published in the state registry (813,554 of 1,310,099 CT records) — a public record, not marketing consent |
| Connecticut only: the NAICS code/title the filer reported to the registry (625,411 / 612,190 records) — as filed, unlike the name-inferred |
| provenance for every record |
Adding a state
Drop a file at data/states/<ST>.json ({"records": [...]}; an optional
"filing_state" in the payload wins, otherwise the filename decides),
then rebuild the store: python3 build_db.py. The build normalizes the
expansion adapters' schema to the API contract: id becomes
charter_number, county_or_parish becomes region/county, missing
origin defaults to domestic, missing agents/address are filled,
and a null filing_date stays null (date/age/year filters simply never
match it). Records gain filing_state, region, category, and
needs at build time, and every endpoint — search, /v1/regions,
/v1/categories, scope — covers the new state immediately. The server
itself is disk-backed (SQLite): it holds no records in RAM, starts
instantly, and serves all 8 built states (5.72M records) in ~30 MB of
memory, so free-tier hosting holds the full corpus with room to spare
(see LAUNCH-STATUS.md).
Refreshing the data
The source publishes weekly (Tuesdays). Run:
python3 refresh.py --weeks 2It finds the newest published files, downloads them politely (descriptive
User-Agent, delays, no crawling of the state's search site), re-parses, and
merges the result into data/seed.json (fresh parses win; the backfilled
history is kept — pass --no-merge to replace instead). Restart the server
to pick up new data. backfill.py rebuilds the multi-year history from the
published archive if the dataset ever needs to be reconstructed.
Layout
app/server.py the REST API (stdlib only)
app/mcp_server.py the MCP server (same store, same keys; needs the
MCP SDK — see requirements-mcp.txt)
app/ed25519.py pure-Python Ed25519 (RFC 8032) for webhook signatures
app/vermarco.py Vermarco delivery-callback protocol (Gate 2)
app/classify.py slug-interface adapter over the canonical classifier
openapi.yaml OpenAPI 3 spec, served at /openapi.yaml
packs/classify.py THE canonical industry/need classifier (shared with
the $9 packs; documented in packs/CATEGORIES.md)
packs/ category pack folders + PACK-CATALOG.md
refresh.py weekly data pipeline (fetch -> parse -> merge into seed.json)
backfill.py one-time history builder (walks the weekly archive back)
build_db.py converts the JSON corpus into data/filings.db (SQLite)
data/seed.json the Louisiana dataset
data/states/ additional per-state datasets (<ST>.json)
data/filings.db the built SQLite store the server serves (all states)
data/SOURCES.md source documentation, licensing notes, derivations
api_keys.json DEMO key store only (real keys via API_KEYS_JSON env var)
tests/run_tests.py end-to-end battery against the real dataset
Dockerfile dependency-free container image (ships packs/classify.py too)
render.yaml Render blueprint (free-tier web service)
fly.toml Fly.io app config
RAPIDAPI-LISTING.md marketplace listing copy, pricing, publish steps
LAUNCH-STATUS.md launch checklist — what's done, what remains, whose stepHonest limitations
History currently loaded: two years (126,710 filings, Nov 2024 → Nov 2026). The published archive goes back further — the backfill stopped at its 104-week cap, not at the archive's start. The weekly refresh must keep running to stay current.
Parish and entity type are derived fields — documented, not hidden (
data/SOURCES.md). 87.4% of records carry a parish; Cameron Parish is the only one of the 64 with no mappable filings in the window.Industry is a keyword guess from the business name, and ~64% of filings honestly land in Other / Unclassified (generic names say nothing about industry). Need segments are likely-need inferences from business type. Both are labelled as such in
/v1/categoriesand on every pack.Only Louisiana data is loaded today. The multi-state model,
state=filtering,/v1/regions, and scope are built and tested; per-state files land indata/states/as the expansion adapters finish.The state's official Commercial API subscription ($500/yr) is the sanctioned channel for full-population/real-time data and the checkpoint to review before scaling this beyond the published weekly newsletters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for the GovContractScout US government contracts API: search, NAICS, match scoring.
Agent-native MCP server over 49M+ US public and government records, privacy-first, always current.
Search US business entity records across all 53 jurisdictions in real time
Company registry data for US states and countries. Search, verify, and run KYB checks.
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP server that gives AI agents access to US business entity data, enabling searches across 9 state registries, SEC EDGAR filings, federal contracts, and lobbying disclosures.61MIT
- AlicenseAqualityNot gradedmaintenanceSearch official US government data from any MCP client: building permits from 10 city open-data portals, federal contract opportunities from SAM.gov with contracting-officer contacts, and the CMS NPI healthcare-provider registry. Open-source TypeScript server; data delivered via Apify's pay-per-result actors using your own Apify token.3MIT
- AlicenseNot gradedqualityCmaintenanceAggregate US business filings, SEC reports, federal court cases, federal spending awards, and professional licenses through a single MCP server.1MIT

whetstone-mcpofficial
AlicenseAqualityDmaintenanceAn MCP server for U.S. public-records data, enabling AI agents to search business registrations, screen names against government watchlists, and pull federal awards.448 npmMIT