GnistAI GnistAI
Log in

S&P 500 Companies

S&P 500 companies — ticker, sector, sub-industry, headquarters, and CIK numbers.

Overview   |   MCP   |   REST API   |   OpenAPI   |   CLI   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 4 tools tools 4 4 type: open dataset type type open dataset open dataset lifecycle: maintained lifecycle lifecycle maintained maintained Finance

Data source: Curated dataset (S&P Dow Jones Indices)

MCP Endpoint (Streamable HTTP) https://context.gnist.ai/mcp/sp500/
Authentication

All requests require a Gnist-API-Key header (or api_key query parameter).

Free tier: 100 calls/day. Get your API key.

Tools (4)

get_sp500_company

Get detailed information about an S&P 500 company by ticker symbol.

Returns company name, GICS sector, sub-industry, headquarters, founding year, and SEC CIK number.

ParameterTypeRequiredDescription
tickerstringrequiredStock ticker symbol (e.g. AAPL, MSFT, GOOGL).
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "get_sp500_company",
    "arguments": {
      "ticker": "example"
    }
  }
}
search_sp500_companies

Search the S&P 500 companies database.

ParameterTypeRequiredDescription
querystringrequiredSearch by company name or ticker symbol.
limitintegeroptionalMaximum results to return. (default: 20)
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "search_sp500_companies",
    "arguments": {
      "query": "example"
    }
  }
}
list_sp500_by_sector

List S&P 500 companies by GICS sector.

ParameterTypeRequiredDescription
sectorstringrequiredGICS sector (e.g. Information Technology, Health Care, Financials).
limitintegeroptionalMaximum results to return. (default: 50)
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "list_sp500_by_sector",
    "arguments": {
      "sector": "example"
    }
  }
}
report_feedback

Report a bug, feature request, or general feedback for this data source.

Use this when something doesn't work as expected, when you'd like
a new feature, or when you have suggestions for improvement.

Args:
feedback: Describe the issue or suggestion.
feedback_type: One of 'bug', 'feature_request', or 'general'.

ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "report_feedback",
    "arguments": {
      "feedback": "example"
    }
  }
}

Quick Start

Shell
curl -X POST "https://context.gnist.ai/mcp/sp500/" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "get_sp500_company", "arguments": {"ticker": "example"}}}'
Python
import httpx

resp = httpx.post(
    "https://context.gnist.ai/mcp/sp500/",
    headers={"Gnist-API-Key": "YOUR_API_KEY", "Content-Type": "application/json"},
    json={
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "get_sp500_company",
    "arguments": {
      "ticker": "example"
    }
  }
},
)
print(resp.json())

Related Toolkits (Finance)

Resources