constituent_changes
Pack: index-constituents · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/constituent_changes for the schema, then POST the same URL with its arguments for the data.
Dated additions and removals from the S&P 500, sourced from Wikipedia’s maintained “Historical components of the S&P 500” table (every S&P-announced swap since 1963, each with its effective date, the ticker/company added, the ticker/company removed, and the stated reason). Answers “what changed in the S&P 500 in 2024”, “when was X removed from the S&P 500 and what replaced it”. Only sp500 is covered — the iShares-backed indexes above have no equivalent public, dated changes table.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
index | string | yes | Only “sp500” is supported. |
from | string | no | Earliest effective date to include, as a year (“2024”) or ISO date (“2024-01-01”). Omit for no lower bound. |
to | string | no | Latest effective date to include, as a year (“2024”) or ISO date (“2024-12-31”). Omit for no upper bound. |
limit | number | no | Max rows to return, most recent first (default ${DEFAULT_LIMIT}, max ${MAX_LIMIT}). |
Example call
Arguments
{
"index": "sp500",
"from": "2024-01-01",
"to": "2024-12-31"
}
curl
curl -X POST https://gateway.pipeworx.io/index-constituents/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"constituent_changes","arguments":{"index":"sp500","from":"2024-01-01","to":"2024-12-31"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('constituent_changes', {
"index": "sp500",
"from": "2024-01-01",
"to": "2024-12-31"
});
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the index-constituents pack
{
"mcpServers": {
"index-constituents": {
"url": "https://gateway.pipeworx.io/index-constituents/mcp"
}
}
}
See Getting Started for client-specific install steps.