Analysis
Peer Comparables
get_peer_comparablesFree
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
| Parameter | Type | Required | Description |
|---|---|---|---|
ticker | string | required | The primary company to compare |
peer_count | integer | optional | Number of peers to include (1–20). Defaults to 5. |
Output Fields
tickerciknamesectorindustryis_subjectratiosExample 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.
Plan Access
Free (guest)
AvailableFree (token)
AvailablePro · Institutional
Available