Rice Stock Data MCP Server
Enables natural language queries for stock market data via the Rice Business Stock Market Data Portal, with Rice University email verification for access control.
README
Rice Stock Data MCP Server
<div align="center"> <img src="rice-business-transparent-final.png" alt="Rice Business" style="max-height: 150px; width: auto;"> </div>
A Model Context Protocol (MCP) server for accessing Rice Business Stock Market Data Portal through Claude Desktop.
Features
- Natural language queries for stock market data
- Access to comprehensive financial metrics and indicators
- Rice University email verification for access control
- Seamless integration with Claude Desktop
Prerequisites
You must have Node.js installed on your computer to use this MCP server.
- Download Node.js: Visit nodejs.org and install the LTS version
- Verify installation: Open terminal/command prompt and run:
Both commands should return version numbers.node --version npm --version
Claude Desktop Configuration
Step 1: Get Your Access Token
- Visit the Rice Business Stock Market Data Portal
- Verify your Rice University email address
- Copy your personal access token
Step 2: Configure Claude Desktop
- Open Claude Desktop
- Go to Settings → Developer → Edit Config
- Add the following configuration to your
claude_desktop_config.json:
{
"mcpServers": {
"rice-stock-data": {
"command": "npx",
"args": ["@kerryback/rice-stock-data"],
"env": {
"USER_ACCESS_TOKEN": "your_actual_access_token_here",
"APP_URL": "https://your-actual-data-portal.rice-business.org"
}
}
}
}
- Replace
"your_actual_access_token_here"with your actual access token from Step 1 (keep the quotation marks) - Save the configuration file
- Restart Claude Desktop
Step 3: Using the MCP Server
Once configured, you can ask Claude questions about stock market data:
- "Show me tech stocks with PE under 20"
- "What are Apple's financial ratios?"
- "List healthcare companies by market cap"
- "Get the latest earnings data for Microsoft"
- "Compare revenue growth across FAANG stocks"
Local Development
Installation
npm install
npm run build
Running the MCP Server Locally
npm run start:mcp
Running the Web Server (for deployment)
npm start
Environment Variables
USER_ACCESS_TOKEN- Your personal Rice Data Portal access token (required)APP_URL- Data portal base URL (default: https://data-portal-mcp.rice-business.org)PORT- Web server port (default: 8000, used for deployment only)
API Endpoints
The web server provides these endpoints (for deployment):
GET /- Server informationGET /health- Health check endpointPOST /chat- Query endpoint (requires token in request body)
Troubleshooting
"Authentication failed" error
- Verify your access token is correct and hasn't expired
- Ensure you've verified your Rice University email
"Rate limit exceeded" error
- Wait a moment before making additional queries
- The API has rate limiting to ensure fair usage
Claude Desktop doesn't show the MCP server
- Make sure you've restarted Claude Desktop after configuration
- Check that the configuration JSON is valid (no syntax errors)
- Verify the package name is correct:
@kerryback/rice-stock-data
Support
For issues or questions about:
- MCP Server: Open an issue in this repository
- Data Portal Access: Contact Rice Business IT support
- Stock Data: Refer to the Rice Business Stock Market Data Portal documentation
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.