LuBot Analytics
Portfolio X-Ray with ETF look-through, file analysis, and website analytics in plain English.
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (2)
- LOWin list_websites
- LOWin website_summary
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"lubot": {
"url": "https://mcp.lubot.ai/mcp"
}
}
}Remote-Endpunkte
https://mcp.lubot.ai/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (9)
🟢list_files
List the files the user uploaded to LuBot. Returns file id, name, type, upload time and row or chunk count, newest first. Use this when the user asks about their uploaded files, and to find the file_id that analyze_file needs. Limits: requires sign-in; up to 100 files. Users with no uploads yet see demo files, clearly labeled.
Eingabe-Schema
{
"type": "object",
"properties": {},
"title": "list_files_toolArguments"
}Ausgabe-Schema
{
"type": "object",
"properties": {
"files": {
"items": {
"$ref": "#/$defs/FileMeta"
},
"title": "Files",
"type": "array"
}
},
"$defs": {
"FileMeta": {
"additionalProperties": false,
"description": "One file in the user's LuBot account.",
"properties": {
"file_id": {
"minLength": 1,
"title": "File Id",
"type": "string"
},
"filename": {
"title": "Filename",
"type": "string"
},
"file_type": {
"enum": [
"csv",
"xlsx",
"pdf",
"docx",
"txt",
"image",
"other"
],
"title": "File Type",
"type": "string"
},
"uploaded_at": {
"format": "date-time",
"title": "Uploaded At",
"type": "string"
},
"chunk_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Chunk Count"
},
"row_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Row Count"
},
"demo_mode": {
"default": false,
"title": "Demo Mode",
"type": "boolean"
}
},
"required": [
"file_id",
"filename",
"file_type",
"uploaded_at"
],
"title": "FileMeta",
"type": "object"
}
},
"additionalProperties": false,
"description": "The user's uploaded files (or the labeled sample files).",
"title": "FileList"
}🟢analyze_file(file_id, question)
Answer a question about one of the user's uploaded files. Reads the file's contents and returns LuBot's answer: numbers computed from CSV / Excel tables, or text found in PDF, Word and image files, with the file named as the source. Use this when the user asks about one specific file; get the file_id from list_files first. Don't use it to compare several files at once. Limits: requires sign-in; counts toward the user's LuBot plan like a My Files question; one file per call; answers can take up to a minute; questions are capped at 2000 characters.
Eingabe-Schema
{
"type": "object",
"properties": {
"file_id": {
"description": "One of the file_ids returned by list_files.",
"title": "File Id",
"type": "string"
},
"question": {
"description": "The user's question about this file, in plain words.",
"title": "Question",
"type": "string"
}
},
"required": [
"file_id",
"question"
],
"title": "analyze_file_toolArguments"
}Ausgabe-Schema
{
"type": "object",
"properties": {
"narrative": {
"title": "Narrative",
"type": "string"
},
"citations": {
"items": {
"$ref": "#/$defs/FileMeta"
},
"title": "Citations",
"type": "array"
},
"chart": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Chart"
},
"confidence": {
"anyOf": [
{
"maximum": 1,
"minimum": 0,
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Confidence"
},
"data_status": {
"default": "ok",
"enum": [
"ok",
"limit",
"timeout",
"busy",
"unavailable",
"not_found",
"invalid",
"signed_out"
],
"title": "Data Status",
"type": "string"
}
},
"required": [
"narrative"
],
"$defs": {
"FileMeta": {
"additionalProperties": false,
"description": "One file in the user's LuBot account.",
"properties": {
"file_id": {
"minLength": 1,
"title": "File Id",
"type": "string"
},
"filename": {
"title": "Filename",
"type": "string"
},
"file_type": {
"enum": [
"csv",
"xlsx",
"pdf",
"docx",
"txt",
"image",
"other"
],
"title": "File Type",
"type": "string"
},
"uploaded_at": {
"format": "date-time",
"title": "Uploaded At",
"type": "string"
},
"chunk_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Chunk Count"
},
"row_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Row Count"
},
"demo_mode": {
"default": false,
"title": "Demo Mode",
"type": "boolean"
}
},
"required": [
"file_id",
"filename",
"file_type",
"uploaded_at"
],
"title": "FileMeta",
"type": "object"
}
},
"additionalProperties": false,
"description": "The answer to a question about one file, and which file it used.",
"title": "AnalysisResult"
}🟢ping
Check that the LuBot server is up. Use this when you need to test the connection to LuBot. Returns a status and the server version. Works without signing in.
Eingabe-Schema
{
"type": "object",
"properties": {},
"title": "pingArguments"
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": {
"type": "string"
},
"title": "pingDictOutput"
}🟢analyze_portfolio
Analyze the user's stock portfolio. Returns concentration risk (low/medium/high), a diversification score (0-10), a sector breakdown (looking through known ETFs), the biggest stocks owned directly and through funds, the biggest winner and loser by dollar impact. Concentration looks at the biggest position, the biggest sector and stocks held both directly and through funds. Use this when the user asks how diversified, concentrated or risky their portfolio is. Don't use it just to list holdings (use list_portfolio). Limits: requires sign-in. Prices can be up to 7 days old; positions without a price are labeled, never guessed. Educational information, not investment advice.
Eingabe-Schema
{
"type": "object",
"properties": {},
"title": "analyze_portfolio_toolArguments"
}Ausgabe-Schema
{
"type": "object",
"properties": {
"summary": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Always empty; kept for older clients.",
"title": "Summary"
},
"concentration_risk": {
"default": "unknown",
"enum": [
"low",
"medium",
"high",
"unknown"
],
"title": "Concentration Risk",
"type": "string"
},
"concentration_reason": {
"default": "",
"title": "Concentration Reason",
"type": "string"
},
"diversification_score": {
"default": 0,
"title": "Diversification Score",
"type": "number"
},
"sector_breakdown": {
"additionalProperties": {
"type": "number"
},
"title": "Sector Breakdown",
"type": "object"
},
"sector_breakdown_note": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Sector Breakdown Note"
},
"top_holding": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Top Holding"
},
"biggest_winner": {
"anyOf": [
{
"$ref": "#/$defs/HoldingSummary"
},
{
"type": "null"
}
],
"default": null
},
"biggest_loser": {
"anyOf": [
{
"$ref": "#/$defs/HoldingSummary"
},
{
"type": "null"
}
],
"default": null
},
"frameworks": {
"items": {
"type": "string"
},
"title": "Frameworks",
"type": "array"
},
"lookthrough_top_names": {
"description": "Up to 5 biggest single stocks counting direct shares plus what funds hold (VOO, SPY, VTI, QQQ, ARKK top holdings).",
"items": {
"$ref": "#/$defs/LookthroughName"
},
"title": "Lookthrough Top Names",
"type": "array"
},
"price_unavailable_tickers": {
"description": "Tickers with no live price right now; P&L numbers leave them out.",
"items": {
"type": "string"
},
"title": "Price Unavailable Tickers",
"type": "array"
},
"is_empty": {
"title": "Is Empty",
"type": "boolean"
},
"sign_in_hint": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "A sign-in or setup tip. Never a paid offer.",
"title": "Sign In Hint"
},
"demo_mode": {
"default": false,
"title": "Demo Mode",
"type": "boolean"
}
},
"required": [
"is_empty"
],
"$defs": {
"HoldingSummary": {
"additionalProperties": false,
"description": "A holding's ticker and gain or loss, in percent and dollars.",
"properties": {
"ticker": {
"title": "Ticker",
"type": "string"
},
"pnl_pct": {
"title": "Pnl Pct",
"type": "number"
},
"pnl_dollars": {
"title": "Pnl Dollars",
"type": "number"
}
},
"required": [
"ticker",
"pnl_pct",
"pnl_dollars"
],
"title": "HoldingSummary",
"type": "object"
},
"LookthroughName": {
"additionalProperties": false,
"description": "One stock, counting shares owned directly plus what funds hold.",
"properties": {
"ticker": {
"title": "Ticker",
"type": "string"
},
"direct_pct": {
"description": "Weight held directly, in percent of the portfolio.",
"title": "Direct Pct",
"type": "number"
},
"via_funds_pct": {
"description": "Weight held inside funds (top fund holdings), in percent.",
"title": "Via Funds Pct",
"type": "number"
},
"total_pct": {
"description": "Direct + via funds, in percent of the portfolio.",
"title": "Total Pct",
"type": "number"
}
},
"required": [
"ticker",
"direct_pct",
"via_funds_pct",
"total_pct"
],
"title": "LookthroughName",
"type": "object"
}
},
"additionalProperties": false,
"description": "How concentrated and diversified the user's portfolio is, computed from their holdings.",
"title": "PortfolioAnalysis"
}🟢list_portfolio
List the user's stock portfolio holdings. Returns each position (shares, average cost, current price, market value, profit/loss, weight) from brokerage-linked and manually entered trades, plus totals. Use this when the user asks what they own or how their positions are doing. Don't use it for a public ticker the user doesn't own (use stock_analysis). Limits: requires sign-in. Prices are cached snapshots that can be up to 7 days old; positions without a price are labeled, never guessed. Users with no holdings yet see a demo portfolio, clearly labeled.
Eingabe-Schema
{
"type": "object",
"properties": {},
"title": "list_portfolio_toolArguments"
}Ausgabe-Schema
{
"type": "object",
"properties": {
"positions": {
"items": {
"$ref": "#/$defs/Position"
},
"title": "Positions",
"type": "array"
},
"total_value": {
"default": 0,
"title": "Total Value",
"type": "number"
},
"total_cost": {
"default": 0,
"title": "Total Cost",
"type": "number"
},
"total_pnl": {
"default": 0,
"title": "Total Pnl",
"type": "number"
},
"total_pnl_pct": {
"default": 0,
"title": "Total Pnl Pct",
"type": "number"
},
"brokerage_count": {
"default": 0,
"title": "Brokerage Count",
"type": "integer"
},
"manual_count": {
"default": 0,
"title": "Manual Count",
"type": "integer"
},
"is_empty": {
"title": "Is Empty",
"type": "boolean"
},
"price_freshness_note": {
"title": "Price Freshness Note",
"type": "string"
},
"sign_in_hint": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "A sign-in or setup tip. Never a paid offer.",
"title": "Sign In Hint"
},
"demo_mode": {
"default": false,
"title": "Demo Mode",
"type": "boolean"
}
},
"required": [
"is_empty",
"price_freshness_note"
],
"$defs": {
"Position": {
"additionalProperties": false,
"description": "One holding in the user's portfolio, from a linked brokerage or entered by hand.",
"properties": {
"ticker": {
"title": "Ticker",
"type": "string"
},
"shares": {
"title": "Shares",
"type": "number"
},
"avg_cost": {
"title": "Avg Cost",
"type": "number"
},
"current_price": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Current Price"
},
"market_value": {
"title": "Market Value",
"type": "number"
},
"pnl_dollars": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Pnl Dollars"
},
"pnl_pct": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Pnl Pct"
},
"weight_pct": {
"title": "Weight Pct",
"type": "number"
},
"account_type": {
"title": "Account Type",
"type": "string"
},
"source": {
"enum": [
"manual",
"brokerage"
],
"title": "Source",
"type": "string"
},
"price_source": {
"description": "Where the price came from: broker_derived = brokerage value / shares; cached_snapshot = saved market price, up to 7 days old; cache_miss = no price (value uses cost); demo_snapshot = fixed price of the labeled sample portfolio.",
"enum": [
"broker_derived",
"cached_snapshot",
"cache_miss",
"demo_snapshot"
],
"title": "Price Source",
"type": "string"
},
"is_fund": {
"default": false,
"title": "Is Fund",
"type": "boolean"
},
"pnl_status": {
"default": "computed",
"enum": [
"computed",
"cost_unknown",
"price_unavailable"
],
"title": "Pnl Status",
"type": "string"
},
"cost_basis_status": {
"default": "reported",
"enum": [
"reported",
"split_uncertain"
],
"title": "Cost Basis Status",
"type": "string"
}
},
"required": [
"ticker",
"shares",
"avg_cost",
"market_value",
"weight_pct",
"account_type",
"source",
"price_source"
],
"title": "Position",
"type": "object"
}
},
"additionalProperties": false,
"description": "The user's holdings with totals. is_empty means there are no holdings to show.",
"title": "PortfolioResult"
}🟢stock_analysis(ticker)
Public market numbers for one US stock or ETF. Returns price, day change, 52-week range, market cap and trailing P/E. Use this when the user asks about a specific ticker, for example AAPL or BRK.B. Don't use it for the user's own holdings (use list_portfolio) or for buy/sell decisions. Limits: US tickers only; data from Yahoo Finance, up to 15 minutes old; without sign-in there is a shared daily limit. When signed in, the answer also says whether the ticker is on the user's watchlist. Educational information, not investment advice.
Eingabe-Schema
{
"type": "object",
"properties": {
"ticker": {
"description": "US stock or ETF ticker, for example AAPL or BRK.B.",
"title": "Ticker",
"type": "string"
}
},
"required": [
"ticker"
],
"title": "stock_analysis_toolArguments"
}Ausgabe-Schema
{
"type": "object",
"properties": {
"ticker": {
"title": "Ticker",
"type": "string"
},
"narrative": {
"title": "Narrative",
"type": "string"
},
"source": {
"enum": [
"watchlist",
"public"
],
"title": "Source",
"type": "string"
},
"data_status": {
"anyOf": [
{
"enum": [
"ok",
"not_found",
"unavailable",
"busy",
"limit"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "ok = numbers found; not_found = no such ticker; unavailable = market data is down; busy = try again in a minute; limit = signed-out daily limit reached.",
"title": "Data Status"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
},
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Currency"
},
"price": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Price"
},
"change_abs": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Change Abs"
},
"change_pct": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Change Pct"
},
"week52_high": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Week52 High"
},
"week52_low": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Week52 Low"
},
"market_cap": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Market Cap"
},
"pe_ratio": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Pe Ratio"
},
"as_of": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "As Of"
},
"sign_in_hint": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "A sign-in or setup tip. Never a paid offer.",
"title": "Sign In Hint"
}
},
"required": [
"ticker",
"narrative",
"source"
],
"additionalProperties": false,
"description": "Public market numbers for one stock or ETF. Empty numbers mean unknown, never zero.",
"title": "StockAnalysis"
}🟢list_watchlist
List the tickers on the user's LuBot watchlist. Returns each ticker and when it was added, oldest first. Use this when the user asks which stocks they are watching. Don't use it for holdings (use list_portfolio). Limits: requires sign-in; up to 200 tickers.
Eingabe-Schema
{
"type": "object",
"properties": {},
"title": "list_watchlist_toolArguments"
}Ausgabe-Schema
{
"type": "object",
"properties": {
"tickers": {
"items": {
"$ref": "#/$defs/Ticker"
},
"title": "Tickers",
"type": "array"
}
},
"$defs": {
"Ticker": {
"additionalProperties": false,
"description": "A stock ticker in the caller's watchlist.",
"properties": {
"symbol": {
"maxLength": 10,
"minLength": 1,
"title": "Symbol",
"type": "string"
},
"added_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Added At"
}
},
"required": [
"symbol"
],
"title": "Ticker",
"type": "object"
}
},
"additionalProperties": false,
"description": "The tickers on the user's watchlist.",
"title": "WatchlistResult"
}🟢list_websites
List the websites the user can query in LuBot. Returns each site's id and name. Use this when the user asks about their website traffic, and to find the site_id that website_summary needs. Without sign-in it returns LuBot's public demo site (lubobali.com); signed in, it returns the user's own sites. Signed-in users who haven't connected a site yet see the demo site, clearly labeled.
Eingabe-Schema
{
"type": "object",
"properties": {},
"title": "list_websites_toolArguments"
}Ausgabe-Schema
{
"type": "object",
"properties": {
"websites": {
"items": {
"$ref": "#/$defs/WebsiteMeta"
},
"title": "Websites",
"type": "array"
}
},
"$defs": {
"WebsiteMeta": {
"additionalProperties": false,
"description": "A website project the caller can query traffic for.",
"properties": {
"site_id": {
"maxLength": 64,
"minLength": 1,
"title": "Site Id",
"type": "string"
},
"display_name": {
"title": "Display Name",
"type": "string"
},
"is_demo": {
"title": "Is Demo",
"type": "boolean"
}
},
"required": [
"site_id",
"display_name",
"is_demo"
],
"title": "WebsiteMeta",
"type": "object"
}
},
"additionalProperties": false,
"description": "The websites the user can see traffic for.",
"title": "WebsiteList"
}🟢website_summary(site_id, start_date, end_date)
Traffic summary for one website over a date range. Returns page views, unique visitors and their change vs the same number of days before, top countries, top pages, which AI bots read the site (ChatGPT, Claude, Perplexity and others), and the most clicked buttons. Use this when the user asks how a site is doing. Get the site_id from list_websites first. Without sign-in only the public demo site works.
Eingabe-Schema
{
"type": "object",
"properties": {
"site_id": {
"description": "One of the site_ids returned by list_websites.",
"title": "Site Id",
"type": "string"
},
"start_date": {
"description": "First day of the range, YYYY-MM-DD (included).",
"title": "Start Date",
"type": "string"
},
"end_date": {
"description": "Last day of the range, YYYY-MM-DD (included), at most 90 days after start_date.",
"title": "End Date",
"type": "string"
}
},
"required": [
"site_id",
"start_date",
"end_date"
],
"title": "website_summary_toolArguments"
}Ausgabe-Schema
{
"type": "object",
"properties": {
"site_id": {
"title": "Site Id",
"type": "string"
},
"date_range": {
"anyOf": [
{
"$ref": "#/$defs/DateRange"
},
{
"type": "null"
}
]
},
"total_visits": {
"description": "Page views: every page opened on the site in the date range.",
"title": "Total Visits",
"type": "integer"
},
"unique_visitors": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Distinct visitors (browser sessions) in the date range, the Visitors number on lubot.ai.",
"title": "Unique Visitors"
},
"top_countries": {
"items": {
"$ref": "#/$defs/CountryCount"
},
"title": "Top Countries",
"type": "array"
},
"top_pages": {
"items": {
"$ref": "#/$defs/PageCount"
},
"title": "Top Pages",
"type": "array"
},
"trend_pct": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"description": "Change in unique visitors vs the same number of days right before, in percent.",
"title": "Trend Pct"
},
"narrative": {
"default": "",
"title": "Narrative",
"type": "string"
},
"sign_in_hint": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "A sign-in or setup tip. Never a paid offer.",
"title": "Sign In Hint"
},
"ai_readers": {
"items": {
"$ref": "#/$defs/AiReaderCount"
},
"title": "Ai Readers",
"type": "array"
},
"top_clicks": {
"items": {
"$ref": "#/$defs/ButtonClickCount"
},
"title": "Top Clicks",
"type": "array"
},
"data_status": {
"default": "ok",
"enum": [
"ok",
"invalid",
"not_found",
"unavailable"
],
"title": "Data Status",
"type": "string"
}
},
"required": [
"site_id",
"date_range",
"total_visits"
],
"$defs": {
"AiReaderCount": {
"additionalProperties": false,
"description": "An AI company's bots that read the site.",
"properties": {
"company": {
"title": "Company",
"type": "string"
},
"product": {
"title": "Product",
"type": "string"
},
"hits": {
"title": "Hits",
"type": "integer"
},
"top_page": {
"title": "Top Page",
"type": "string"
}
},
"required": [
"company",
"product",
"hits",
"top_page"
],
"title": "AiReaderCount",
"type": "object"
},
"ButtonClickCount": {
"additionalProperties": false,
"description": "A button or link people clicked on the site.",
"properties": {
"button": {
"title": "Button",
"type": "string"
},
"clicks": {
"title": "Clicks",
"type": "integer"
},
"people": {
"title": "People",
"type": "integer"
}
},
"required": [
"button",
"clicks",
"people"
],
"title": "ButtonClickCount",
"type": "object"
},
"CountryCount": {
"additionalProperties": false,
"properties": {
"country": {
"title": "Country",
"type": "string"
},
"count": {
"title": "Count",
"type": "integer"
}
},
"required": [
"country",
"count"
],
"title": "CountryCount",
"type": "object"
},
"DateRange": {
"additionalProperties": false,
"description": "First and last day of the summary, both included.",
"properties": {
"start": {
"format": "date",
"title": "Start",
"type": "string"
},
"end": {
"format": "date",
"title": "End",
"type": "string"
}
},
"required": [
"start",
"end"
],
"title": "DateRange",
"type": "object"
},
"PageCount": {
"additionalProperties": false,
"properties": {
"page": {
"title": "Page",
"type": "string"
},
"count": {
"title": "Count",
"type": "integer"
}
},
"required": [
"page",
"count"
],
"title": "PageCount",
"type": "object"
}
},
"additionalProperties": false,
"description": "Traffic for one website over a date range.",
"title": "WebsiteSummary"
}Community
Nachweis