indices
Pack: twelvedata · 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/indices for the schema, then POST the same URL with its arguments for the data.
Twelve Data reference list of supported market index symbols with exchange metadata — about 1,300 NON-US indices (e.g. N225 Nikkei 225, 000001 SSE Composite, NSEI Nifty 50), paged, default 200 rows. Filter by country (e.g. “Japan”, “India”, “China”), exchange or symbol. US indices (SPX, DJI, IXIC, NDX, VIX) are NOT in Twelve Data’s reference list and quoting them requires a Grow-or-higher Twelve Data key via _apiKey — a US filter here returns that refusal, not an empty list. Use to discover or validate index tickers before querying time_series.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
symbol | string | no | Optional index symbol filter (e.g. “N225”, “NSEI”, “000001”). US symbols such as SPX/DJI/IXIC are not in this list — see the tool description. |
country | string | no | Optional country filter, full name or alpha code (e.g. “Japan”, “India”, “China”, “Germany”). “United States” returns a plan refusal, not rows. |
Example call
Arguments
{
"country": "Japan"
}
curl
curl -X POST https://gateway.pipeworx.io/twelvedata/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"indices","arguments":{"country":"Japan"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('indices', {
"country": "Japan"
});
More examples
{
"country": "India",
"outputsize": 20
}
Response shape
| Field | Type | Description |
|---|---|---|
status | string | Response status |
code | number | Response code |
message | string | Response message |
Full JSON Schema
{
"type": "object",
"properties": {
"status": {
"type": "string",
"description": "Response status"
},
"code": {
"type": "number",
"description": "Response code"
},
"message": {
"type": "string",
"description": "Response message"
}
}
}
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 twelvedata pack
{
"mcpServers": {
"twelvedata": {
"url": "https://gateway.pipeworx.io/twelvedata/mcp"
}
}
}
See Getting Started for client-specific install steps.