bharatstock-mcp 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/README.md +1 -0
- package/dist/{chunk-LW5UFTIW.js → chunk-RWLIAURI.js} +1 -1
- package/dist/http.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `bharatstock-mcp` are documented here (newest first).
|
|
4
4
|
|
|
5
|
+
## 0.1.3 (2026-11-02)
|
|
6
|
+
|
|
7
|
+
- Bumped the `bharatstock` JS SDK dependency to ^0.1.12. The financials tool
|
|
8
|
+
output now carries the as-filed segment reconciliation fields:
|
|
9
|
+
`segmentResultsTotal` (the filing's own segment total — the anchor the
|
|
10
|
+
per-segment results roll up toward PBIT) and `segmentNotes` / `resultsNotes`
|
|
11
|
+
(the narrative note blocks; the segment note carries the unallocated /
|
|
12
|
+
elimination / exceptional reconciliation in prose). Pass-through via the SDK;
|
|
13
|
+
no tool/schema change.
|
|
14
|
+
|
|
5
15
|
## 0.1.2 (2026-10-05)
|
|
6
16
|
|
|
7
17
|
- Bumped the `bharatstock` JS SDK dependency to ^0.1.11, which made paginated
|
package/README.md
CHANGED
|
@@ -128,6 +128,7 @@ MIT
|
|
|
128
128
|
|
|
129
129
|
## Changelog
|
|
130
130
|
|
|
131
|
+
- **0.1.3** (2026-11-02): picks up `bharatstock` JS SDK 0.1.12, so the financials tool output now carries the as-filed segment reconciliation fields — `segmentResultsTotal` (the filing's own segment total) and `segmentNotes` / `resultsNotes` (the narrative note blocks; the segment note carries the unallocated/elimination/exceptional reconciliation in prose). Pass-through via the SDK; no tool/schema change.
|
|
131
132
|
- **0.1.2** (2026-10-05): picks up `bharatstock` JS SDK 0.1.11, whose paginated responses now pass through every API field (new or modified) with no SDK change — so every field the API returns (e.g. a scheme portfolio's `coveragePct`, and anything added later) now flows through to the MCP tool output. No tool/schema change.
|
|
132
133
|
- **0.1.1** (2026-09-20): added two mutual-fund portfolio tools — `list_mutual_fund_portfolios` (discover the schemes we hold monthly portfolio data for, by scheme name) and `get_mutual_fund_portfolio_holdings` (a scheme's equity portfolio for a month, with month-over-month quantity change). These are the inverse of `get_mutual_fund_holdings` and are keyed by the holdings scheme-name string, not the AMFI scheme_code.
|
|
133
134
|
- **0.1.0** (2026-09-22): initial release. Local stdio server (`bharatstock-mcp`) + remote Streamable HTTP server (`bharatstock-mcp-http`, multi-tenant, Bearer/X-API-Key auth). MCP is a Developer/Pro feature, gated via `/v1/mcp/authorize`. Tools for stocks (quote, profile, prices, financials, fundamentals, technicals, shareholding, corporate actions, deals, insider trades, peer compare), discovery (search, movers, price shockers, screener), indices, market-wide (FII/DII, deals, insider), and mutual funds (schemes, scheme, NAV, returns, holdings), plus data status.
|
|
@@ -43,7 +43,7 @@ import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
|
43
43
|
import { BharatStock } from "bharatstock";
|
|
44
44
|
import { z } from "zod";
|
|
45
45
|
var SERVER_NAME = "bharatstock";
|
|
46
|
-
var SERVER_VERSION = "0.1.
|
|
46
|
+
var SERVER_VERSION = "0.1.3";
|
|
47
47
|
async function run(fn) {
|
|
48
48
|
try {
|
|
49
49
|
const data = await fn();
|
package/dist/http.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ import { BharatStockOptions } from 'bharatstock';
|
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
declare const SERVER_NAME = "bharatstock";
|
|
17
|
-
declare const SERVER_VERSION = "0.1.
|
|
17
|
+
declare const SERVER_VERSION = "0.1.3";
|
|
18
18
|
/**
|
|
19
19
|
* Construct the MCP server and register all tools against a BharatStock
|
|
20
20
|
* client. Exposed separately from the stdio wiring so tests can build a
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bharatstock-mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Official Model Context Protocol (MCP) server for the BharatStock API - reliable Indian stock market data (NSE/BSE) as AI-agent tools.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@modelcontextprotocol/sdk": "^1.12.0",
|
|
38
|
-
"bharatstock": "^0.1.
|
|
38
|
+
"bharatstock": "^0.1.12",
|
|
39
39
|
"zod": "^3.23.8"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|