Alaska New Businesses MCP Server
README.md
# Alaska New Businesses: MCP Server
I collect new business filings from Secretary of State
records in nine states, and this is the Alaska slice of that
collection. When I work one state, I want its newest filings
first, cut by industry or by what a new business is likely to
need next, and I want the size of the pool before I spend
quota pulling the list. That is exactly what these four tools
do, with the state fixed to Alaska so nothing from the other
eight states ever leaks into an answer.
**103,655 filings in Alaska · part of 5,827,957
filings across 9 states · my own live filings API**
(dataset generated 2026-11-26, refreshed from the state
sources).
## Tools
| Tool | What it does |
|---|---|
| `newest_businesses(days, limit)` | The newest filings in Alaska: business name, entity type, filing date, city and region, industry category, likely need segments, and the state charter number. days means filed within the last N days of the dataset's newest Alaska filing. |
| `businesses_by_category(category, days, limit)` | New Alaska filings in one industry category, named by a slug from the filings API taxonomy: every new restaurant, trucking company or salon filed in the state. |
| `businesses_by_need(need, days, limit)` | New Alaska filings in one likely need segment: businesses likely to need bookkeeping, a website, commercial insurance and the like. |
| `state_count(days)` | How many Alaska filings are in the dataset, in total or within a filing age window, without pulling the list. |
Every filing row is a real record from a Secretary of State
source: name as filed, entity type, filing date, city,
county or parish, and the charter number that identifies it.
## This slice
| | |
|---|---|
| Filings in Alaska | 103,655 |
| Filed in the last 90 days of the dataset | 1 |
| Largest classified industry | Real Estate & Property, 5,422 |
| Flagged as likely to need bookkeeping | 68,291 |
Top classified industries in Alaska (the rest of the taxonomy
is in the API's `/v1/categories` answer for the state):
| Industry | Filings |
|---|---|
| Real Estate & Property | 5,422 |
| Construction & Trades | 4,838 |
| Professional Services | 4,618 |
## Run it
1. Install the one dependency, the official Python MCP SDK:
```bash
pip install -r requirements.txt
```
2. Get a free key from my filings API. Keys are self serve:
send a POST to `/v1/keys` with your email and the key is
issued at once, 50 calls a day on the free tier.
```bash
curl -X POST https://la-new-business-filings-api.onrender.com/v1/keys \
-H 'Content-Type: application/json' \
-d '{"email": "you@example.com"}'
```
3. Set the key and start the server over stdio, the default
transport:
```bash
export FILINGS_API_KEY=<redacted>
python3 mcp_server.py
```
For a hosted setup, the HTTP transport answers on `/mcp`,
takes the key in the `X-API-Key` header, and serves a plain
`GET /health`:
```bash
python3 mcp_server.py --transport streamable-http
```
With no key set, the server still boots and lists its tools;
a tool call answers with a plain message that a key is
needed and where to get a free one. The API base URL can be
overridden with `FILINGS_API_BASE`. Tests:
`python3 -m unittest discover -s tests -v`.
## Worked example
Asking for the newest Alaska filings with a wide ten
year window, five at a time (trimmed here to the fields
that identify a filing; the real answer carries the full
record). The wide window matters for Alaska, for the reason
the next paragraph explains:
```json
{
"count": 61027,
"limit": 5,
"offset": 0,
"age_reference_date": "2029-04-03",
"results": [
{
"name": "NOME COURIER",
"state": "AK",
"city": "Nome",
"filing_date": "2029-04-03",
"entity_type": "Other",
"charter_number": "10308834",
"category": "Trucking & Transport"
},
{
"name": "YTC Enterprises, LLC",
"state": "AK",
"city": "Skagway",
"filing_date": "2026-11-24",
"entity_type": "LLC",
"charter_number": "10386642",
"category": "Other / Unclassified"
}
]
}
```
Read it the way I do: the dataset's newest Alaska record
is a single filing dated 2029-04-03, exactly as the state
source printed it, so the usual 90 day window holds only
that one record. Past it, the newest real Alaska filings
are dated 2026-11-24, and 61,027 Alaska filings sit within
ten years of the anchor date. That is the state source
being the state source, and the tool reports it as it
stands.
## Honest limits
- **Industry category is inferred from the business name**
by my classifier. A filing lands in a category when its
name signals it; generic names land in Other /
Unclassified (74,476 of the 103,655
Alaska filings). Treat a category as a strong signal, not
a registry fact.
- **Need segments are likely need inferences.** Every new
business needs a website and a phone setup in this data,
and 68,291 of the Alaska filings are flagged
as likely to need bookkeeping. A segment is a reason to
call, never a verified requirement.
- **Filtered queries are the fast path on this API.** State,
category and need filters are indexed and answered in
seconds during testing. The slow path on the hosted API
is a free text name search, about a minute a page, and
this server never runs one. The host is a free tier and
can answer 502 while it cycles; the client retries once.
- **Dates are as the state source publishes them.** The
dataset's newest Alaska filing is dated 2029-04-03, and
the age windows anchor to that date, not to today. A few
records across the dataset carry future dates exactly as
the source printed them. The dataset is refreshed from
the state sources; it is not a real time feed.
- **Coverage is Alaska only.** The other eight states live
in their own slice servers and in the full filings API.
This server cannot return another state's filings.
- **Your key, your quota.** Every tool call is a call to my
filings API under your own key, with the same scope and
daily limits as a direct REST call.
## License
MIT: see `LICENSE`. The filings data is compiled from public
Secretary of State records and served by my New Business
Filings API.
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues