Workspace beta is live — BYO-LLM chat wired to 57 SEC tools. Try it free →
ValueinValuein
Analysis

Peer Comparables

get_peer_comparables
Free
Pro · Institutional

Cross-sectional peer comparison using pipeline-computed financial ratios. Returns the subject company alongside sector peers with key ratios side-by-side: gross margin, operating margin, ROE, debt-to-equity, FCF margin. Use for relative valuation and competitive analysis.

Example Call

example_call.pypython
# Using the Valuein MCP server from Python (via MCP SDK)
# Or call directly from Claude / Cursor after setup

result = await client.call_tool(
    "get_peer_comparables",
    arguments={
    "ticker": "EXAMPLE"
}
)
print(result)

Direct tool call:get_peer_comparables(ticker="NVDA", peer_count=5)

Try it now

No token required

Paste this in your terminal — the free tier returns real S&P500 data without authentication.

try-it.shbash
# No auth required — sample tier covers S&P500 with a 5-year window.
# Add an Authorization: Bearer header for full universe and history.
$ curl -X POST https://mcp.valuein.biz/mcp \
    -H "Content-Type: application/json" \
    -d '{
        "jsonrpc": "2.0",
        "id": 1,
        "method": "tools/call",
        "params": {
          "name": "get_peer_comparables",
          "arguments": {
            "ticker": "AAPL",
            "peer_count": 3
          }
        }
      }'

Inputs

ParameterTypeRequiredDescription
tickerstring
required
The primary company to compare
peer_countintegeroptionalNumber of peers to include (1–20). Defaults to 5.

Output Fields

tickerciknamesectorindustryis_subjectratios

Example Response

Illustrative
response.jsonjson
[
  {
    "ticker": "AAPL",
    "cik": "0000320193",
    "name": "Apple Inc.",
    "sector": "Technology",
    "industry": "Consumer Electronics",
    "is_subject": true,
    "ratios": 0.2543
  }
]

Shape only — field names match the live schema; values are placeholders, not real filings. Returns NVIDIA alongside AMD, Intel, Qualcomm, Broadcom, and Texas Instruments with ratio comparison.

Notes

Peers are selected by sector and industry from ratio.parquet. Not PIT-safe — uses latest available ratios for all companies.