Skip to main content

Stockwaale MCP

PyPI Version npm Scoped Version

Stockwaale is a hosted intelligence layer for Indian equities. It exposes verified market context through REST APIs and a remote Model Context Protocol endpoint for AI agents, builders, and research workflows.

The public PyPI and npm packages are thin clients. They do not contain the private FastAPI server, Lambda handler, MongoDB code, database credentials, or business deployment logic.

Hosted Endpoints

  • MCP Streamable HTTP: https://api.stockwaale.com/mcp
  • MCP SSE: https://api.stockwaale.com/mcp/sse
  • Discovery manifest: https://api.stockwaale.com/.well-known/mcp.json
  • Product site: https://stockwaale.com

Install

Python:

pip install stockwaale-mcp

Node.js:

npm install @stockwaale/stockwaale-mcp

Python Usage

from stockwaale import StockwaaleClient

client = StockwaaleClient(api_key="sk_live_xxx")
print(client.price("RELIANCE"))
print(client.screen(regime="Bullish Expansion", min_rsi=55))

The client also reads:

export STOCKWAALE_API_KEY=sk_live_xxx
export STOCKWAALE_BASE_URL=https://api.stockwaale.com

CLI:

stockwaale-mcp manifest
stockwaale-mcp mcp-config
stockwaale-mcp price RELIANCE

Node.js Usage

const { StockwaaleClient } = require("@stockwaale/stockwaale-mcp");

const client = new StockwaaleClient({ apiKey: "sk_live_xxx" });

async function main() {
  console.log(await client.price("RELIANCE"));
  console.log(await client.screen({ regime: "Bullish Expansion", min_rsi: 55 }));
}

main();

CLI:

npx @stockwaale/stockwaale-mcp manifest
npx @stockwaale/stockwaale-mcp mcp-config
npx @stockwaale/stockwaale-mcp price RELIANCE

MCP Client Config

Use the hosted remote endpoint from Claude Desktop, Cursor, VS Code extensions, or any MCP client that supports Streamable HTTP:

{
  "mcpServers": {
    "stockwaale": {
      "http": {
        "url": "https://api.stockwaale.com/mcp"
      }
    }
  }
}

For protected plans, send the API key as Authorization: Bearer <key> or X-API-Key: <key> where the client supports custom headers.

API Keys

Do not publish fixed API keys in package code, README examples, GitHub, PyPI, or npm.

Production API keys are created per user or organization in the hosted backend after Firebase login. The free plan defaults to 50 API calls per day. Keys are stored hashed in the database and shown only once at creation time.

Fixed keys in STOCKWAALE_API_KEYS are only for admin/test bootstrap access and private smoke checks. They should not be customer keys.

Lambda environment variables or AWS Secrets Manager should hold platform secrets such as MongoDB credentials, Firebase service-account configuration, JWT signing secrets, webhook secrets, and bootstrap admin credentials.

Private Deployment Boundary

The private Lambda deployment can include:

  • lambda_handler.py
  • FastAPI application code
  • MCP server implementation
  • MongoDB integration
  • AWS Secrets Manager integration
  • CloudFront and Lambda deployment templates

Those files should stay in a private repository or private deployment artifact. PyPI and npm package artifacts should ship only the public clients and documentation needed by customers.

Compliance

Stockwaale provides market data context, derived indicators, and research infrastructure. It does not provide investment advice, guaranteed returns, financial planning, stock tips, or SEBI-registered advisory services.

Metadata

Release files for stockwaale-mcp 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stockwaale-mcp 1.0.0
File Size Uploaded Provenance Actions
stockwaale_mcp-1.0.0.tar.gz 4.4 kB Without provenance Details for stockwaale_mcp-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for stockwaale-mcp 1.0.0
File Interpreter ABI Platform Actions
stockwaale_mcp-1.0.0-py3-none-any.whl Python 3 none any Details for stockwaale_mcp-1.0.0-py3-none-any.whl

Total release size: 9.6 kB

Release files / stockwaale_mcp-1.0.0.tar.gz

Download URL stockwaale_mcp-1.0.0.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
2728986889d8bc40adfc54432ffc09e757c346ad365e7fd375c4a0a72ed2439e
BLAKE2b-256 checksum
How to use checksums
2c1b4335f458b7be87acdc672c7d0b655535812586dd563b9084f883e8f1cc64
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / stockwaale_mcp-1.0.0-py3-none-any.whl

Download URL stockwaale_mcp-1.0.0-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9ab9eef92b6b546adaada00238160fb08dea10c8a925c4b6d739c8b0550fe29c
BLAKE2b-256 checksum
How to use checksums
38f88b0a3b00b41cceb97e5feb847c68e528d5bfcb614f70dd18472cb3760e5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Security for stockwaale-mcp 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page