npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@kerryback/rice-stock-data

v1.0.10

Published

MCP server for Rice Business Stock Market Data Portal - Access financial data through Claude Desktop

Readme

Rice Stock Data MCP Server

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:
    node --version
    npm --version
    Both commands should return version numbers.

Claude Desktop Configuration

Step 1: Get Your Access Token

  1. Visit the Rice Business Stock Market Data Portal
  2. Verify your Rice University email address
  3. Copy your personal access token

Step 2: Configure Claude Desktop

  1. Open Claude Desktop
  2. Go to Settings → Developer → Edit Config
  3. 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"
      }
    }
  }
}
  1. Replace "your_actual_access_token_here" with your actual access token from Step 1 (keep the quotation marks)
  2. Save the configuration file
  3. 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 information
  • GET /health - Health check endpoint
  • POST /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