Skip to main content

buildingactivity

Command line client and MCP server for the BuildingActivity API: US building permits, properties, contractors, zoning decisions, early project signals and big projects, each record linked to the issuer's own page (source_url).

Both tools are thin HTTP clients of https://api.buildingactivity.com. You need an API key from buildingactivity.com.

Install

pipx install buildingactivity            # the CLI: `buildingactivity`
pipx install 'buildingactivity[mcp]'     # adds the MCP server: `buildingactivity-mcp`

Or with uv: uv tool install buildingactivity (add --with mcp --with uvicorn, or install 'buildingactivity[mcp]'). Python 3.11 or newer. The CLI needs only requests.

CLI

export BUILDINGACTIVITY_API_KEY=...          # or: buildingactivity config set-key (reads stdin)
buildingactivity permits search --geo-id cty_06041 --tags solar --limit 20
buildingactivity property --address "50 Barbaree Way, Tiburon, CA 94920"
buildingactivity signals list --geo-id CA --large-only
buildingactivity changes tail --geo-id cty_04013 --tags solar
buildingactivity usage
buildingactivity schema                      # every command, offline

Commands are generated from the API's OpenAPI document bundled with the package, so every API route and parameter has a command and a flag. JSON on stdout, JSON errors on stderr, exit codes 0 ok, 1 client error, 2 auth, 3 rate limited, 4 records used up, 5 server or network. Details: docs/cli.md.

MCP server

Hosted, nothing to install: https://mcp.buildingactivity.com/mcp with your key as an X-API-Key (or Authorization: Bearer) header. Clients that can only take a URL (ChatGPT connectors, Claude connectors without header support) use https://mcp.buildingactivity.com/mcp/<your key>; treat that URL as a secret.

Local, over stdio (Claude Desktop, Cursor and most hosts):

{"mcpServers": {"buildingactivity": {
  "command": "uvx", "args": ["--from", "buildingactivity[mcp]", "buildingactivity-mcp"],
  "env": {"BUILDINGACTIVITY_API_KEY": "<your key>"}}}}

18 tools with short schemas and compact answers (default page 10, every answer under 4,000 tokens): permits, properties, addresses, contractors, areas, metrics, coverage, projects, decisions, early signals, the change feed, work tags and your usage. Setup for each client: docs/connect.md; tools and answers: docs/mcp.md; running the hosted service: docs/hosted.md.

License

MIT, see LICENSE. The data you get from the API is governed by the BuildingActivity terms of service, not by this license.

Metadata

Release files for buildingactivity 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for buildingactivity 0.1.1
File Size Uploaded Provenance Actions
buildingactivity-0.1.1.tar.gz 89.6 kB With provenance Details for buildingactivity-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for buildingactivity 0.1.1
File Interpreter ABI Platform Actions
buildingactivity-0.1.1-py3-none-any.whl Python 3 none any Details for buildingactivity-0.1.1-py3-none-any.whl

Total release size: 155.2 kB

Release files / buildingactivity-0.1.1.tar.gz

Download URL buildingactivity-0.1.1.tar.gz
Size 89.6 kB
Tags Source
SHA-256 checksum
How to use checksums
cb40fce2fd6affda0320a4a53777ba25c73068dd37822bafe8408ce4ce84d0d3
BLAKE2b-256 checksum
How to use checksums
ea98e7ebf227613651a73eab6c81752c7b624b960295aea8a3a217d04610c0d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Release files / buildingactivity-0.1.1-py3-none-any.whl

Download URL buildingactivity-0.1.1-py3-none-any.whl
Size 65.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
86e2e88b2f085a41917e0d78b66d1a615107d91e13dcf5065015bb03d32ad4ba
BLAKE2b-256 checksum
How to use checksums
4f973d79c07bd52c25e74db6b9d3a1e2467378c94c0693416d4f168ceb6be3ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Security for buildingactivity 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for buildingactivity-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page