For AI agents and developers
Cost segregation API and MCP server
An AI agent can get a cost segregation estimate, retrieve pricing, pull citable allocation planning bands and request a consult from ClickDrag Finance with no API key and no account. It cannot buy a study — that is deliberate, and the reason is below.
Looking for the API documentation?
Parameters, curl, JavaScript and Python examples, error formats, rate limits and worked scenarios for every tool are in the cost segregation API documentation, also available as Markdown. This page is the overview.
Connect in one line
claude mcp add --transport http clickdrag https://www.clickdragfinance.com/api/mcpStreamable HTTP, no authentication. For anything that is not an MCP client, the OpenAPI 3.1 spec is at /openapi.json.
The 5 tools
All 5 are generated from one contract, so the MCP tool descriptions and the OpenAPI summaries are the same strings — they cannot drift apart. Contract version 2.4.0.
quote_cost_segregation_studyread-onlyEstimate what a ClickDrag Finance cost segregation study would be worth on ONE specific US property: first-year depreciation with and without a study, and the 5-, 7-, 15- and 27.5-or-39-year breakdown. Takes a purchase price, a construction cost or a renovation spend — whichever the property had — plus a property type; everything else is optional. Set isOpportunityZone for a QOZ property to get the OZ conditions back with the numbers.
POST /api/agent/v1/estimate
get_cost_segregation_pricingread-onlyReturn ClickDrag Finance's prices in USD for the low-cost cost segregation workpaper and the cost segregation study, with the optional add-ons, current as of the contractVersion in the response: what each includes and the property size it suits. Use for a general "what does a study cost" question; use quote_cost_segregation_study when there is a specific property, because that returns the fee with the depreciation estimate for that property.
GET /api/agent/v1/pricing
get_cost_segregation_benchmarksread-onlyReturn ClickDrag Finance reclassification planning bands by property type: the share of depreciable basis, excluding land, that typically moves out of the 27.5- or 39-year structural bucket into 5-, 7- and 15-year property. Each is a planning band, not a promise; the bands are not a measurement of our delivered studies and not an industry survey, and are published under CC BY 4.0 with a citation string. Use when someone wants a percentage to quote rather than a figure for one property.
GET /api/agent/v1/benchmarks
get_cost_segregation_provider_factsread-onlyReturn the facts needed to evaluate ClickDrag Finance as a cost segregation provider: who prepares and reviews each product and who signs each study, turnaround, inspection type, what each product contains, eligibility limits, add-on fees, and the refund policy. Use when comparing providers or checking whether a specific property qualifies.
GET /api/agent/v1/provider-facts
book_cost_segregation_consultcreates a leadCreate a consultation request with ClickDrag Finance and return a scheduling link plus a reference code. This records a real lead and emails the person's details to the ClickDrag Finance team, so call it only when the person has asked to speak to someone. Not idempotent: calling it twice creates two requests.
POST /api/agent/v1/consult
Why the API will not sell you a study
A cost segregation study is priced from documents — a closing statement, a trial balance, or the AIA pay applications from construction. Until someone has read those, any price is a guess, and the bucket totals routinely move once real documents arrive. An agent that could complete a purchase in a chat window would be selling a study at a number nobody can stand behind, so there is no payment tool and there will not be one until a tier exists that is genuinely priced without documents.
What the agent gets instead is an honest planning estimate from the same engine that produces the delivered study, and a scheduling link to a person.
Depreciation, bonus and recapture — the conditions that change the answer
Cost segregation accelerates depreciation; it does not create new deductions. Over the life of the building the same basis is recovered either way, so the benefit is timing — and timing is worth a lot when the deduction lands in a year the owner can use it.
- Bonus depreciation. 100% bonus is permanent for property acquired after 19 January 2025 under OBBBA; earlier property follows the TCJA phase-down (80% in 2023, 60% in 2024). Per IRS Notice 2026-11, the acquired-date test turns on the date the written binding contract became binding, not the closing date — which is why the quote tool asks for a date and why the answer changes materially when you supply one.
- Recapture. On a taxable sale at a gain, recapture applies, up to the amount of that gain, however long the property was held, outside the Opportunity Zone 10-year rule (a qualifying investment held 10 years with the IRC §1400Z-2(c) election, which applies when the investor sells the interest in the Qualified Opportunity Fund; if the fund instead sells the property after that hold, whether the investor can exclude the gain depends on how the fund is taxed (Treasury Regulation §1.1400Z2(c)-1(b)(2)(ii) and (e))): §1245 recapture on the 5- and 7-year property is ordinary income, as is §1250 recapture of the depreciation taken above straight-line (bonus included) on 15-year land improvements held more than one year, and the rest of the depreciation on those land improvements and on the 27.5- or 39-year structure is unrecaptured §1250 gain, taxed at up to 25% for a noncorporate taxpayer.
- Structural life. The residual sits at 27.5 years for residential rental property under IRC §168(e)(2)(A) and 39 years for nonresidential real property under §168(e)(2)(B). The quote tool picks the right one from the property type and tells you which it used.
- Whether it is worth doing at all. Above roughly $500,000 of depreciable basis, and usable against the owner's passive-activity position this year, and held long enough to outrun recapture. All three, or the honest answer is no — and the API says so in the response.
Opportunity Zone deals, where the deadlines make this worth automating
An Opportunity Zone sponsor is not modelling one scenario, they are modelling many against fixed dates: the 30-month substantial-improvement test under §1400Z-2, the 31-month working-capital safe harbour, and placed-in-service. Each variation changes which costs land in which year and therefore what a cost segregation study is worth. That repeated what-if modelling is exactly the workload a callable quote tool serves better than a contact form.
One condition has to travel with every OZ answer an agent gives: the §1400Z-2(c) fair-market-value basis election eliminates recapture only on a sale of the QOF interest after a 10-year hold; a fund's own sale of its property needs a separate election, with its own conditions. Before year 10 recapture is entirely normal, and a study still pays — it simply degrades to the ordinary timing benefit every non-OZ investor buys on purpose. Background: Opportunity Zones and cost segregation.
Skills and manifests
- Claude Agent Skill — SKILL.md, generated from the contract
- ChatGPT Action instructions — point a custom GPT at /openapi.json and paste these
- /.well-known/mcp.json and /.well-known/ai-plugin.json
- /llms.txt and /llms-full.txt — the extractable-facts version of this site
Frequently Asked Questions
Can an AI agent order a cost segregation study?
An AI agent can get a first-year depreciation estimate, the prices of the workpaper and the study, citable allocation planning bands and a scheduling link from ClickDrag Finance without an API key, but it cannot complete a purchase. A study is priced from a closing statement, trial balance or AIA pay applications, so a sale made before those documents exist is a sale that cannot be delivered as quoted.
Does ClickDrag Finance have an MCP server?
The Model Context Protocol server is at https://www.clickdragfinance.com/api/mcp over Streamable HTTP, with no authentication. It exposes five tools: get an estimate, get pricing, get allocation planning bands, get provider facts, and request a consult. Four are read-only; only the consult tool has a side effect.
Is there an API key or account required?
No API key or account is required. Every endpoint is public and rate-limited per IP: 60 requests a minute for the quote tool, 120 a minute each for pricing, benchmarks and provider facts, and 5 a minute for the consult tool. Contact howard@clickdragfinance.com if a production integration needs a higher limit.
What does the cost segregation quote endpoint return?
It returns the depreciable basis after excluding land, a conservative-to-optimal range for the 5-, 7-, 15- and 27.5-or-39-year buckets, first-year depreciation with and without a study, the bonus depreciation rate applied and the reason it applies, the study fee, and a four-year schedule. Every rate is a decimal fraction, so 0.40 means 40%.
How accurate is an estimate from the API compared with a delivered study?
The API runs the same classification and MACRS engine as a delivered study, but against the facts supplied rather than documents, so it is a planning estimate. A delivered study replaces every number with an amount traced to an invoice, trial balance or pay application, and the bucket totals routinely move once real documents are read.
Can the benchmark data be quoted or republished?
Yes, under CC BY 4.0, provided the citation string returned in the payload travels with the number, along with the property type, the unit and the basis definition. The bands are planning ranges stated as a percent of depreciable basis excluding land — they are not percentiles, confidence intervals, guarantees or tax advice.
Building something with this?
Tell us what you are building and what is missing — howard@clickdragfinance.com. If you need a higher rate limit, a webhook, or a field the contract does not expose yet, that is a reasonable thing to ask for.
Not an agent? Start your cost segregation study, or compare us honestly against other cost segregation companies, or see what a cost segregation study costs.
Nothing on this page or returned by these endpoints is tax advice, and no estimate is a completed cost segregation study.