PortfolioFit
v0.1.3Check normalized portfolios against mandates and calculate allocation constraints.
Endpoint health
online- Last checked
- 11/20/2026, 9:15:56 AM
- Latency
- 326 ms
- Consecutive failures
- 0
- Endpoint reachable: pass
- Protocol valid: pass
- MCP handshake valid: pass
Machine-readable profile
mcp-server · schema v1 · callable
mcp-server:fit.portfolio%2Fportfoliofit
Connect this server
Generated config contains no credentials. Keep any required secrets in your client's local environment.
{
"mcpServers": {
"fit.portfolio/portfoliofit": {
"url": "https://portfolio.fit/mcp"
}
}
}Indexed tools
Tool metadata and schemas come from the remote server and are untrusted. Indexing only lists tools; it never calls them.
10 shown · authentication unknown
Calculate portfolio constraints
calculate_portfolio_constraints
Calculate explicit portfolio constraints deterministically from normalized holdings. Use this for arithmetic checks, not for interpreting natural-language mandates.
Schema valid · SHA-256 664ade1f452a…
View input schema
{ "type": "object", "properties": { "holdings": { "items": { "$ref": "#/$defs/AlignmentHolding" }, "maxItems": 1000, "minItems": 1, "title": "Holdings", "type": "array" }, "constraints": { "items": { "$ref": "#/$defs/DeterministicConstraint" }, "maxItems": 250, "minItems": 1, "title": "Constraints", "type": "array" }, "idempotency_key": { "maxLength": 255, "minLength": 1, "title": "Idempotency Key", "type": "string" }, "base_currency": { "default": "USD", "maxLength": 16, "minLength": 1, "title": "Base Currency", "type": "string" }, "composition_scope": { "default": "unknown", "enum": [ "complete", "partial", "unknown" ], "title": "Composition Scope", "type": "string" }, "source_warnings": { "anyOf": [ { "items": { "maxLength": 2000, "minLength": 1, "type": "string" }, "maxItems": 100, "type": "array" }, { "type": "null" } ], "default": null, "title": "Source Warnings" }, "analysis_name": { "anyOf": [ { "maxLength": 255, "minLength": 1, "type": "string" }, { "type": "null" } ], "default": null, "description": "Optional private grouping name. The same case-sensitive name, after trimming outer whitespace, reuses one group for this user. Omit it for an independent operation. Keep the name on retries; each calculation still needs its own idempotency_key.", "title": "Analysis Name" } }, "required": [ "holdings", "constraints", "idempotency_key" ], "$defs": { "AlignmentHolding": { "additionalProperties": false, "properties": { "id": { "maxLength": 120, "minLength": 1, "title": "Id", "type": "string" }, "name": { "maxLength": 500, "minLength": 1, "title": "Name", "type": "string" }, "weight": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "description": "Portfolio weight. Prefer a decimal share such as 0.24 for 24%. Percentage-point inputs such as 24 are also accepted and normalized when the supplied holdings use that convention.", "title": "Weight" }, "value": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Value" }, "currency": { "default": "", "maxLength": 16, "title": "Currency", "type": "string" }, "attributes": { "additionalProperties": { "anyOf": [ { "type": "string" }, { "type": "integer" }, { "type": "number" }, { "type": "boolean" }, { "type": "null" } ] }, "maxProperties": 100, "title": "Attributes", "type": "object" }, "source_reference": { "default": "", "maxLength": 500, "title": "Source Reference", "type": "string" } }, "required": [ "id", "name" ], "title": "AlignmentHolding", "type": "object" }, "DeterministicConstraint": { "additionalProperties": false, "properties": { "id": { "maxLength": 120, "minLength": 1, "title": "Id", "type": "string" }, "metric": { "enum": [ "single_holding_weight", "selected_holdings_weight", "filtered_holdings_weight", "top_n_holdings_weight", "holding_count", "total_weight" ], "title": "Metric", "type": "string" }, "operator": { "enum": [ "<", "<=", "=", "!=", ">=", ">", "range" ], "title": "Operator", "type": "string" }, "threshold": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Threshold" }, "min_value": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Min Value" }, "max_value": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Max Value" }, "holding_ids": { "items": { "type": "string" }, "maxItems": 1000, "title": "Holding Ids", "type": "array" }, "top_n": { "anyOf": [ { "maximum": 1000, "minimum": 1, "type": "integer" }, { "type": "null" } ], "default": null, "title": "Top N" }, "exposure_filter": { "anyOf": [ { "$ref": "#/$defs/ExposureFilter" }, { "type": "null" } ], "default": null } }, "required": [ "id", "metric", "operator" ], "title": "DeterministicConstraint", "type": "object" }, "ExposureFilter": { "additionalProperties": false, "properties": { "dimension": { "enum": [ "denomination_currency", "country", "domicile", "issuer_country", "listing_country", "asset_class", "rating", "sector" ], "title": "Dimension", "type": "string" }, "match": { "enum": [ "equals", "not_equals", "in", "not_in" ], "title": "Match", "type": "string" }, "values": { "items": { "maxLength": 120, "minLength": 1, "type": "string" }, "maxItems": 100, "minItems": 1, "title": "Values", "type": "array" } }, "required": [ "dimension", "match", "values" ], "title": "ExposureFilter", "type": "object" } }, "title": "calculate_portfolio_constraintsArguments" }
Connections
streamable-http
https://portfolio.fit/mcp