@axionquant/mcp 1.0.6 → 1.0.7
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/README.md +9 -0
- package/index.js +152 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -148,6 +148,15 @@ The server uses stdio transport and is compatible with any MCP client. Set the `
|
|
|
148
148
|
| `financials_shares_outstanding_diluted` | Historical diluted shares outstanding |
|
|
149
149
|
| `financials_metrics` | Calculated financial metrics |
|
|
150
150
|
| `financials_snapshot` | Snapshot of key financial data |
|
|
151
|
+
| `financials_eps` | TTM earnings per share |
|
|
152
|
+
| `financials_pe` | Price-to-earnings ratio |
|
|
153
|
+
| `financials_market_cap` | Market capitalization |
|
|
154
|
+
| `financials_roe` | Return on equity |
|
|
155
|
+
| `financials_enterprise_value` | Enterprise value |
|
|
156
|
+
| `financials_ebitda` | TTM EBITDA |
|
|
157
|
+
| `financials_debt_to_equity` | Debt-to-equity ratio |
|
|
158
|
+
| `financials_dcf_value` | DCF valuation (enterprise value, fair price, margin of safety, recommendation) |
|
|
159
|
+
| `financials_dcf_rate` | Discount rate / WACC calculation (cost of equity, cost of debt, capital structure) |
|
|
151
160
|
|
|
152
161
|
### Insiders & Ownership
|
|
153
162
|
| Tool | Description |
|
package/index.js
CHANGED
|
@@ -1149,6 +1149,122 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
|
|
|
1149
1149
|
required: ["ticker"]
|
|
1150
1150
|
}
|
|
1151
1151
|
},
|
|
1152
|
+
{
|
|
1153
|
+
name: "financials_dcf_value",
|
|
1154
|
+
description: "Get DCF valuation including enterprise value, fair price, margin of safety, and buy/sell recommendation",
|
|
1155
|
+
inputSchema: {
|
|
1156
|
+
type: "object",
|
|
1157
|
+
properties: {
|
|
1158
|
+
ticker: { type: "string", description: "Stock ticker" }
|
|
1159
|
+
},
|
|
1160
|
+
required: ["ticker"]
|
|
1161
|
+
}
|
|
1162
|
+
},
|
|
1163
|
+
{
|
|
1164
|
+
name: "financials_dcf_rate",
|
|
1165
|
+
description: "Get discount rate / WACC calculation including cost of equity, cost of debt, and capital structure weights",
|
|
1166
|
+
inputSchema: {
|
|
1167
|
+
type: "object",
|
|
1168
|
+
properties: {
|
|
1169
|
+
ticker: { type: "string", description: "Stock ticker" }
|
|
1170
|
+
},
|
|
1171
|
+
required: ["ticker"]
|
|
1172
|
+
}
|
|
1173
|
+
},
|
|
1174
|
+
{
|
|
1175
|
+
name: "financials_eps",
|
|
1176
|
+
description: "Get TTM earnings per share for a ticker",
|
|
1177
|
+
inputSchema: {
|
|
1178
|
+
type: "object",
|
|
1179
|
+
properties: {
|
|
1180
|
+
ticker: { type: "string", description: "Stock ticker" },
|
|
1181
|
+
from: { type: "string", description: "Start date (YYYY-MM-DD)" },
|
|
1182
|
+
to: { type: "string", description: "End date (YYYY-MM-DD)" }
|
|
1183
|
+
},
|
|
1184
|
+
required: ["ticker"]
|
|
1185
|
+
}
|
|
1186
|
+
},
|
|
1187
|
+
{
|
|
1188
|
+
name: "financials_pe",
|
|
1189
|
+
description: "Get price-to-earnings ratio for a ticker",
|
|
1190
|
+
inputSchema: {
|
|
1191
|
+
type: "object",
|
|
1192
|
+
properties: {
|
|
1193
|
+
ticker: { type: "string", description: "Stock ticker" },
|
|
1194
|
+
from: { type: "string", description: "Start date (YYYY-MM-DD)" },
|
|
1195
|
+
to: { type: "string", description: "End date (YYYY-MM-DD)" },
|
|
1196
|
+
frame: { type: "string", description: "Resampling frequency: daily, weekly, monthly" }
|
|
1197
|
+
},
|
|
1198
|
+
required: ["ticker"]
|
|
1199
|
+
}
|
|
1200
|
+
},
|
|
1201
|
+
{
|
|
1202
|
+
name: "financials_market_cap",
|
|
1203
|
+
description: "Get market capitalization for a ticker",
|
|
1204
|
+
inputSchema: {
|
|
1205
|
+
type: "object",
|
|
1206
|
+
properties: {
|
|
1207
|
+
ticker: { type: "string", description: "Stock ticker" },
|
|
1208
|
+
from: { type: "string", description: "Start date (YYYY-MM-DD)" },
|
|
1209
|
+
to: { type: "string", description: "End date (YYYY-MM-DD)" },
|
|
1210
|
+
frame: { type: "string", description: "Resampling frequency: daily, weekly, monthly" }
|
|
1211
|
+
},
|
|
1212
|
+
required: ["ticker"]
|
|
1213
|
+
}
|
|
1214
|
+
},
|
|
1215
|
+
{
|
|
1216
|
+
name: "financials_roe",
|
|
1217
|
+
description: "Get return on equity for a ticker",
|
|
1218
|
+
inputSchema: {
|
|
1219
|
+
type: "object",
|
|
1220
|
+
properties: {
|
|
1221
|
+
ticker: { type: "string", description: "Stock ticker" },
|
|
1222
|
+
from: { type: "string", description: "Start date (YYYY-MM-DD)" },
|
|
1223
|
+
to: { type: "string", description: "End date (YYYY-MM-DD)" }
|
|
1224
|
+
},
|
|
1225
|
+
required: ["ticker"]
|
|
1226
|
+
}
|
|
1227
|
+
},
|
|
1228
|
+
{
|
|
1229
|
+
name: "financials_enterprise_value",
|
|
1230
|
+
description: "Get enterprise value for a ticker",
|
|
1231
|
+
inputSchema: {
|
|
1232
|
+
type: "object",
|
|
1233
|
+
properties: {
|
|
1234
|
+
ticker: { type: "string", description: "Stock ticker" },
|
|
1235
|
+
from: { type: "string", description: "Start date (YYYY-MM-DD)" },
|
|
1236
|
+
to: { type: "string", description: "End date (YYYY-MM-DD)" },
|
|
1237
|
+
frame: { type: "string", description: "Resampling frequency: daily, weekly, monthly" }
|
|
1238
|
+
},
|
|
1239
|
+
required: ["ticker"]
|
|
1240
|
+
}
|
|
1241
|
+
},
|
|
1242
|
+
{
|
|
1243
|
+
name: "financials_ebitda",
|
|
1244
|
+
description: "Get TTM EBITDA for a ticker",
|
|
1245
|
+
inputSchema: {
|
|
1246
|
+
type: "object",
|
|
1247
|
+
properties: {
|
|
1248
|
+
ticker: { type: "string", description: "Stock ticker" },
|
|
1249
|
+
from: { type: "string", description: "Start date (YYYY-MM-DD)" },
|
|
1250
|
+
to: { type: "string", description: "End date (YYYY-MM-DD)" }
|
|
1251
|
+
},
|
|
1252
|
+
required: ["ticker"]
|
|
1253
|
+
}
|
|
1254
|
+
},
|
|
1255
|
+
{
|
|
1256
|
+
name: "financials_debt_to_equity",
|
|
1257
|
+
description: "Get debt-to-equity ratio for a ticker",
|
|
1258
|
+
inputSchema: {
|
|
1259
|
+
type: "object",
|
|
1260
|
+
properties: {
|
|
1261
|
+
ticker: { type: "string", description: "Stock ticker" },
|
|
1262
|
+
from: { type: "string", description: "Start date (YYYY-MM-DD)" },
|
|
1263
|
+
to: { type: "string", description: "End date (YYYY-MM-DD)" }
|
|
1264
|
+
},
|
|
1265
|
+
required: ["ticker"]
|
|
1266
|
+
}
|
|
1267
|
+
},
|
|
1152
1268
|
{
|
|
1153
1269
|
name: "financials_balance_sheet",
|
|
1154
1270
|
description: "Get balance sheet statement for a ticker (optionally by year/quarter)",
|
|
@@ -1774,6 +1890,14 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
|
1774
1890
|
endpoint = `financials/${args.ticker}/snapshot`;
|
|
1775
1891
|
result = await makeApiRequest(endpoint, { method: 'GET' });
|
|
1776
1892
|
}
|
|
1893
|
+
else if (name === "financials_dcf_value") {
|
|
1894
|
+
endpoint = `financials/dcf/${args.ticker}/value`;
|
|
1895
|
+
result = await makeApiRequest(endpoint, { method: 'GET' });
|
|
1896
|
+
}
|
|
1897
|
+
else if (name === "financials_dcf_rate") {
|
|
1898
|
+
endpoint = `financials/dcf/${args.ticker}/rate`;
|
|
1899
|
+
result = await makeApiRequest(endpoint, { method: 'GET' });
|
|
1900
|
+
}
|
|
1777
1901
|
else if (name === "financials_balance_sheet") {
|
|
1778
1902
|
endpoint = `financials/statements/${args.ticker}/balance${buildQueryString({ year: args.year, quarter: args.quarter })}`;
|
|
1779
1903
|
result = await makeApiRequest(endpoint, { method: 'GET' });
|
|
@@ -1786,6 +1910,34 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
|
1786
1910
|
endpoint = `financials/statements/${args.ticker}/cashflow${buildQueryString({ year: args.year, quarter: args.quarter })}`;
|
|
1787
1911
|
result = await makeApiRequest(endpoint, { method: 'GET' });
|
|
1788
1912
|
}
|
|
1913
|
+
else if (name === "financials_eps") {
|
|
1914
|
+
endpoint = `financials/${args.ticker}/eps${buildQueryString({ from: args.from, to: args.to })}`;
|
|
1915
|
+
result = await makeApiRequest(endpoint, { method: 'GET' });
|
|
1916
|
+
}
|
|
1917
|
+
else if (name === "financials_pe") {
|
|
1918
|
+
endpoint = `financials/${args.ticker}/pe${buildQueryString({ from: args.from, to: args.to, frame: args.frame })}`;
|
|
1919
|
+
result = await makeApiRequest(endpoint, { method: 'GET' });
|
|
1920
|
+
}
|
|
1921
|
+
else if (name === "financials_market_cap") {
|
|
1922
|
+
endpoint = `financials/${args.ticker}/marketcap${buildQueryString({ from: args.from, to: args.to, frame: args.frame })}`;
|
|
1923
|
+
result = await makeApiRequest(endpoint, { method: 'GET' });
|
|
1924
|
+
}
|
|
1925
|
+
else if (name === "financials_roe") {
|
|
1926
|
+
endpoint = `financials/${args.ticker}/roe${buildQueryString({ from: args.from, to: args.to })}`;
|
|
1927
|
+
result = await makeApiRequest(endpoint, { method: 'GET' });
|
|
1928
|
+
}
|
|
1929
|
+
else if (name === "financials_enterprise_value") {
|
|
1930
|
+
endpoint = `financials/${args.ticker}/ev${buildQueryString({ from: args.from, to: args.to, frame: args.frame })}`;
|
|
1931
|
+
result = await makeApiRequest(endpoint, { method: 'GET' });
|
|
1932
|
+
}
|
|
1933
|
+
else if (name === "financials_ebitda") {
|
|
1934
|
+
endpoint = `financials/${args.ticker}/ebitda${buildQueryString({ from: args.from, to: args.to })}`;
|
|
1935
|
+
result = await makeApiRequest(endpoint, { method: 'GET' });
|
|
1936
|
+
}
|
|
1937
|
+
else if (name === "financials_debt_to_equity") {
|
|
1938
|
+
endpoint = `financials/${args.ticker}/de${buildQueryString({ from: args.from, to: args.to })}`;
|
|
1939
|
+
result = await makeApiRequest(endpoint, { method: 'GET' });
|
|
1940
|
+
}
|
|
1789
1941
|
|
|
1790
1942
|
// ---------- Insiders ----------
|
|
1791
1943
|
else if (name === "insiders_funds") {
|