Skip to main content

UNOFFICIAL, read-only MCP server for smallcase's public discovery data (catalog, returns, risk, stocks, funds). Not affiliated with smallcase; not the official smallcase MCP.

Project description

smallcase-mcp

⚠️ UNOFFICIAL — this is NOT the official smallcase MCP

This is an independent, community-built project. It is NOT built, authorized, endorsed, sponsored, or supported by smallcase, it is NOT "the smallcase MCP," and it uses no official smallcase API. "smallcase" is a trademark of its respective owner. It reads smallcase's public website endpoints (not the official smallcase Gateway API), which can change or break at any time. Provided for informational/research use only — not investment advice, and not an official data source. Some data (notably past returns) is shown in smallcase's own UI behind a consent step ("as per applicable guidelines"); use at your own discretion. All data © smallcase and the respective publishers.

A read-only MCP server that exposes smallcase's public discovery data — the catalog of published smallcases, their returns, risk metrics, rationale, rebalance schedule, plus stocks, mutual funds and curated collections — to any LLM or agent (Claude Desktop, Claude Code, Cursor, …).

No API key. No browser. No login. Just clean HTTP over the endpoints the public smallcase.com website already calls for logged-out visitors.

What it can and can't do

✅ Available (public) ❌ Not available (gated by smallcase)
Search/list the full catalog of published smallcases Constituents / holdings + weights
CAGR, returns (1D → 5Y, since inception) Rebalance constituent history
Risk metrics (volatility, sharpe, beta, cap split, 52w hi/lo) Your personal portfolio / investments
Minimum investment, monthly subscription price Placing orders / any transaction
Rationale, rebalance schedule, publisher info

Tools

Tool Description
search_smallcases(query, volatility, min_amount, max_amount, sort, limit, include_private) Search/screen published smallcases. Text match on name/description/publisher, volatility = low/medium/high, min/max investment, sort = popularity | min_amount | returns | recently_rebalanced. include_private=true also surfaces schemes closed to new investors (marked private), which smallcase hides from public discovery.
get_smallcase(scid) Full detail for one smallcase by SCID (e.g. SCET_0005): returns, risk, rationale, methodology, and flags (active / blocked / private). Works for private schemes too if you know the SCID.
compare_smallcases(scids) Side-by-side of 2–5 smallcases (returns / risk / min investment).
get_rebalance_schedule(scid) Rebalance cadence and last/next rebalance dates for a smallcase.
list_managers(page, page_size) List smallcase publishers / research houses.
search_stocks(query, limit) Search stocks in smallcase's public universe (name / ticker / sector).
search_mutual_funds(query, limit) Search mutual funds (name / AMC / category).
list_collections(query, limit) List curated smallcase collections (themed groupings).

Example prompts once connected: "find low-volatility gold smallcases under ₹5000", "compare SCET_0005 and the top smallcase by returns", "what's the rationale behind SCET_0005?", "when does SCET_0005 next rebalance?", "search bank stocks", "show me energy mutual funds".

Setup

git clone https://github.com/Pragadeesh122/smallcase-mcp.git
cd smallcase-mcp
uv sync

Verify it talks to the live API (14 checks) and speaks the MCP protocol:

uv run python tests/test_live.py
uv run python tests/test_mcp_protocol.py

Use it from an MCP client

Run over stdio:

uv run smallcase-mcp

Claude Code (one-liner)

claude mcp add -s user smallcase -- uv --directory /path/to/smallcase-mcp run smallcase-mcp

Claude Desktop config

{
  "mcpServers": {
    "smallcase": {
      "command": "uv",
      "args": ["--directory", "/path/to/smallcase-mcp", "run", "smallcase-mcp"]
    }
  }
}

Stack

Python 3.11+ · MCP Python SDK (FastMCP) · httpx.

License

MIT. Not affiliated with smallcase. See the notice at the top of this file and in the LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

smallcase_mcp-0.2.0.tar.gz (56.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

smallcase_mcp-0.2.0-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file smallcase_mcp-0.2.0.tar.gz.

File metadata

  • Download URL: smallcase_mcp-0.2.0.tar.gz
  • Upload date:
  • Size: 56.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for smallcase_mcp-0.2.0.tar.gz
Algorithm Hash digest
SHA256 3bc88f94436f5a0b216d6060e875910da0bcea6a7c0728bdb04900b97b8f6c94
MD5 7bec1796bf4977394e5723c270fda9d5
BLAKE2b-256 9277e2c75918ebe8fa8defa69a787f4e79d84dff23c42a19f6530ee40a34eed1

See more details on using hashes here.

Provenance

The following attestation bundles were made for smallcase_mcp-0.2.0.tar.gz:

Publisher: publish.yml on Pragadeesh122/smallcase-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file smallcase_mcp-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: smallcase_mcp-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 12.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for smallcase_mcp-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fa9a1a0ed33a03e45a9bc883627a895849b0c0b95ab0d519b56edfb9723e12ba
MD5 557a8c6e1b1ccb0c1860e35863f8ceea
BLAKE2b-256 c4f0a6980bb41f9e89e4c56bd4769947e1018db8b1b129b4149be088780ba0f2

See more details on using hashes here.

Provenance

The following attestation bundles were made for smallcase_mcp-0.2.0-py3-none-any.whl:

Publisher: publish.yml on Pragadeesh122/smallcase-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page