Provides a set of tools for building AI agents that can autonomously analyze corporate debt structures, evaluate maturity profiles, and perform multi-step credit analysis.
Enables natural language credit analysis and portfolio risk assessment by integrating corporate debt data with OpenAI's language models through specialized toolsets.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@DebtStack.ai MCP ServerWhich telecom companies have a net leverage ratio above 5x?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
DebtStack.ai Python SDK
Corporate credit data for AI agents.
Why DebtStack?
Equity data is everywhere. Credit data isn't.
There's no "Yahoo Finance for bonds." Corporate debt structures, guarantor chains, and covenant details are buried in SEC filings—scattered across 10-Ks, 8-Ks, credit agreements, and indentures. An AI agent trying to answer "which telecom companies have leverage above 5x?" would need to read dozens of filings, extract the right numbers, and compute ratios manually.
DebtStack fixes this. We extract, normalize, and serve corporate credit data through an API built for AI agents.
Three Things You Can't Do Elsewhere
1. Cross-Company Credit Queries
Screen 177 companies by leverage, coverage ratios, or maturity risk in one call. No filing-by-filing analysis.
2. Pre-Built Entity Relationships
Guarantor chains, parent-subsidiary hierarchies, structural subordination—mapped and queryable. This data exists nowhere else in machine-readable form.
3. Agent-Ready Speed
AI agents chain multiple calls. If each took 30 seconds (reading a filing), a portfolio analysis would take hours. DebtStack returns in milliseconds.
Installation
For LangChain integration:
Quick Start
Synchronous Usage
What's In The Data
Coverage | Count |
Companies | 211 (S&P 100 + NASDAQ 100 + high-yield issuers) |
Entities | 28,128 (subsidiaries, holdcos, JVs, VIEs) |
Debt Instruments | 4,496 (bonds, loans, revolvers) with 97% document linkage |
Bond Pricing | 3,557 bonds with FINRA TRACE pricing (updated 3x daily) |
SEC Filing Sections | 14,511 (searchable full-text) |
Covenants | 1,247 structured covenant records |
Pre-computed metrics: Leverage ratios, interest coverage, maturity profiles, structural subordination scores.
Relationships: Guarantor chains, issuer-entity links, parent-subsidiary hierarchies.
API Methods
Method | What It Does |
| Screen by leverage, sector, coverage, risk flags |
| Filter by yield, spread, seniority, maturity |
| Look up CUSIP, ISIN, or "RIG 8% 2027" |
| Follow guarantor chains, map corporate structure |
| FINRA TRACE bond prices, YTM, spreads |
| Full-text search across credit agreements, indentures |
| Run multiple queries in parallel |
| Track debt structure changes over time |
Examples
Which MAG7 company has the most debt?
Find high-yield bonds trading at a discount
Who guarantees a specific bond?
Search for covenant language
LangChain Integration
Build AI agents that can autonomously analyze corporate credit data.
Installation
Available Tools
Tool | Description |
| Screen companies by leverage, sector, coverage ratios, and risk flags |
| Filter bonds by yield, spread, seniority, maturity, and pricing |
| Look up bonds by CUSIP, ISIN, or description (e.g., "RIG 8% 2027") |
| Follow guarantor chains, map corporate structure, trace ownership |
| Get FINRA TRACE bond prices, YTM, and spreads |
| Full-text search across credit agreements, indentures, and SEC filings |
| Track debt structure changes over time (new issuances, maturities, leverage) |
Full Example
Example Queries
The agent can handle complex, multi-step credit analysis:
"Which telecom companies have leverage above 5x and near-term maturities?"
"Find all bonds yielding above 8% with senior secured status"
"Who guarantees Transocean's 8.75% 2030 notes? How many entities are in the guarantee chain?"
"Compare Charter and Altice's corporate structures - which has more structural subordination risk?"
"What changed in RIG's debt structure since January 2025?"
"Search for maintenance covenant language in Charter's credit agreements"
"Find distressed bonds trading below 80 cents on the dollar"
MCP Server (Claude Desktop, Claude Code, Cursor)
Give Claude (or any MCP client) direct access to corporate credit data.
Installation
Available Tools
Tool | Description |
| Search companies by ticker, sector, leverage ratio, and risk flags |
| Search bonds by ticker, seniority, yield, spread, and maturity |
| Look up a bond by CUSIP, ISIN, or description (e.g., "RIG 8% 2027") |
| Find all entities that guarantee a bond |
| Get full parent-subsidiary hierarchy for a company |
| Get FINRA TRACE bond prices, YTM, and spreads |
| Search SEC filing sections (debt footnotes, credit agreements, indentures) |
| See what changed in a company's debt structure since a date |
Claude Desktop
Add to your Claude Desktop config (~/.config/claude/mcp.json on Mac/Linux, %APPDATA%\Claude\mcp.json on Windows):
Claude Code
Add to your Claude Code config (~/.claude/mcp.json):
Cursor
Add to your Cursor MCP settings (.cursor/mcp.json):
Alternative: Run with Python Module
If you prefer not to install the console script, you can use python -m instead:
Example Queries
Once configured, ask Claude:
"Which energy companies have near-term maturities and high leverage?"
"Who guarantees the Transocean 8% 2027 notes?"
"Compare Charter's debt structure to Altice"
"Find all senior secured bonds yielding above 8%"
"What are the financial covenants in Charter's credit agreement?"
"Show me RIG's corporate structure - where does the debt sit?"
"What changed in CVS's debt structure since June 2025?"
"Search for change-of-control provisions in Altice's indentures"
Pricing
DebtStack offers usage-based pricing with a free tier to get started.
See debtstack.ai/pricing for details.
Links
Docs: docs.debtstack.ai
Discord: discord.gg/debtstack-ai
Issues: GitHub
License
MIT