Fi MCP(模型上下文协议)为Fi Money平台用户提供全面的财务数据访问。此MCP使开发者能够构建应用程序,分析用户的财务健康状况,提供见解,并基于实际账户数据创建个性化的财务建议。
fetch_net_worth目的:使用连接账户的实际数据计算综合净资产
用例:
数据来源:
{
"netWorthResponse": {
"totalNetWorthValue": {
"currencyCode": "string" // 例如:INR
"units": "string" // 例如:总净资产金额
},
"assetValues": [
{
"netWorthAttribute": "string" // 例如:ASSET_TYPE_EPF
"value": {
"currencyCode": "string" // 例如:INR
"units": "string" // 例如:单个资产的价值
}
}
// 只显示了一个样本资产
]
},
"mfSchemeAnalytics": {
"schemeAnalytics": [
{
"schemeDetail": {
"amc": "string" // 例如:QUANT_MONEY_MANAGERS
"nameData": {
"longName": "string" // 例如:基金名称
},
"planType": "string" // 例如:DIRECT
"investmentType": "string" // 例如:OPEN
"optionType": "string" // 例如:GROWTH
"nav": {
"currencyCode": "string" // 例如:INR
"units": "string" // 例如:NAV整数部分
"nanos": "number" // 例如:NAV小数部分
},
"assetClass": "string" // 例如:EQUITY
"isinNumber": "string" // 例如:INF123L01234
"categoryName": "string" // 例如:ELSS_TAX_SAVING
"fundhouseDefinedRiskLevel": "string" // 例如:VERY_HIGH_RISK
},
"enrichedAnalytics": {
"analytics": {
"schemeDetails": {
"currentValue": {
"currencyCode": "string"
"units": "string"
"nanos": "number"
},
"investedValue": {
"currencyCode": "string"
"units": "string"
"nanos": "number"
},
"XIRR": "number" // 例如:%回报率
"absoluteReturns": {
"currencyCode": "string"
"units": "string"
"nanos": "number"
},
"unrealisedReturns": {
"currencyCode": "string"
"units": "string"
"nanos": "number"
},
"navValue": {
"currencyCode": "string"
"units": "string"
"nanos": "number"
},
"units": "number" // 例如:123.01
}
}
}
}
]
},
"accountDetailsBulkResponse": {
"accountDetailsMap": {
"accountId": {
"accountDetails": {
"fipId": "string" // 例如:KotakMahindraBank-FIP
"maskedAccountNumber": "string" // 例如:XXXXXX1234
"accInstrumentType": "string" // 例如:ACC_INSTRUMENT_TYPE_DEPOSIT
"ifscCode": "string" // 例如:ABCD0000123
"accountType": {
"depositAccountType": "string" // 例如:DEPOSIT_ACCOUNT_TYPE_SAVINGS
},
"fipMeta": {
"name": "string" // 例如:Kotak Mahindra Bank
"displayName": "string" // 例如:Kotak
"bank": "string" // 例如:KOTAK
}
},
"depositSummary": {
"accountId": "string"
"currentBalance": {
"currencyCode": "string"
"units": "string"
"nanos": "number"
},
"balanceDate": "ISODate" // 例如:2025-01-01T11:59:59.149Z
"depositAccountType": "string"
"branch": "string"
"ifscCode": "string"
"openingDate": "ISODate"
"depositAccountStatus": "string"
},
"equitySummary": {
"accountId": "string"
"currentValue": {
"currencyCode": "string"
"units": "string"
"nanos": "number"
},
"holdingsInfo": [
{
"isin": "string" // 例如:INE00H001014
"issuerName": "string" // 例如:EPIFI LIMITED
"type": "string" // 例如:EQUITY_HOLDING_TYPE_DEMAT
"units": "number" // 例如:持有的数量
"lastTradedPrice": {
"currencyCode": "string"
"units": "string"
"nanos": "number"
},
"isinDescription": "string" // 例如:EPIFI LIMITED-EQ
}
]
}
}
}
}
}
</details>
错误处理:
fetch_credit_report目的:检索全面的信用报告信息
用例:
包含的数据:
{
"creditReports": [
{
"creditReportData": {
"userMessage": {
"userMessageText": "string" // 例如:正常响应
},
"creditProfileHeader": {
"reportDate": "string" // 例如:20250101
"reportTime": "string" // 例如:235959
},
"currentApplication": {
"currentApplicationDetails": {
"enquiryReason": "string" // 例如:6
"amountFinanced": "string" // 例如:0
"durationOfAgreement": "string" // 例如:0
"currentApplicantDetails": {
"dateOfBirthApplicant": "string" // 例如:19690131
}
}
},
"creditAccount": {
"creditAccountSummary": {
"account": {
"creditAccountTotal": "string" // 例如:2
"creditAccountActive": "string" // 例如:2
"creditAccountDefault": "string" // 例如:0
"creditAccountClosed": "string" // 例如:0
"cadSuitFiledCurrentBalance": "string" // 例如:0
},
"totalOutstandingBalance": {
"outstandingBalanceSecured": "string" // 例如:10000
"outstandingBalanceSecuredPercentage": "string" // 例如:20
"outstandingBalanceUnSecured": "string" // 例如:40000
"outstandingBalanceUnSecuredPercentage": "string" // 例如:80
"outstandingBalanceAll": "string" // 例如:50000
}
},
"creditAccountDetails": [
{
"identificationNumber": "string" // 例如:AV12345678
"subscriberName": "string" // 例如:Federal Bank
"portfolioType": "string" // 例如:R
"accountType": "string" // 例如:10
"openDate": "string" // 例如:20250101
"creditLimitAmount": "string" // 例如:500000
"highestCreditOrOriginalLoanAmount": "string" // 例如:80000
"accountStatus": "string" // 例如:11
"paymentRating": "string" // 例如:0
"paymentHistoryProfile": "string" // 例如:000000000000000000000000?00000000000
"currentBalance": "string" // 例如:0
"amountPastDue": "string" // 例如:0
"dateReported": "string" // 例如:20250701
"dateOfLastPayment": "string" // 例如:20250701
"repaymentTenure": "string" // 例如:0
"dateOfAddition": "string" // 例如:20220101
"currencyCode": "string" // 例如:INR
"accountHolderTypeCode": "string" // 例如:1
}
]
},
"matchResult": {
"exactMatch": "string" // 例如:Y
},
"totalCapsSummary": {
"totalCapsLast7Days": "string" // 例如:0
"totalCapsLast30Days": "string" // 例如:0
"totalCapsLast90Days": "string" // 例如:0
"totalCapsLast180Days": "string" // 例如:0
},
"nonCreditCaps": {
"nonCreditCapsSummary": {
"nonCreditCapsLast7Days": "string" // 例如:0
"nonCreditCapsLast30Days": "string" // 例如:0
"nonCreditCapsLast90Days": "string" // 例如:0
"nonCreditCapsLast180Days": "string" // 例如:0
}
},
"score": {
"bureauScore": "string" // 例如:800
},
"caps": {
"capsSummary": {
"capsLast7Days": "string" // 例如:0
"capsLast30Days": "string" // 例如:0
"capsLast90Days": "string" // 例如:0
"capsLast180Days": "string" // 例如:0
},
}
},
"vendor": "EXPERIAN"
}
]
}
</details>
错误处理:
fetch_epf_details目的:访问雇员公积金账户信息
用例:
包含的数据:
{
"uanAccounts": [
{
"phoneNumber": {}, // 对象(结构未指定)
"rawDetails": {
"est_details": [
{
"est_name": "string", // 例如:公司名称
"member_id": "string", // 例如:RJRAJ12345690000012345
"office": "string", // 例如:(RO)JAIPUR
"doj_epf": "string", // 例如:01-01-2020
"doe_epf": "string", // 例如:01-01-2025
"doe_eps": "string", // 例如:01-01-2025
"pf_balance": {
"is_pf_full_withdrawn": true, // 布尔值
"employee_share": {
"debit": "string", // 例如:12345
"credit": "string" // 例如:12345
},
"employer_share": {
"debit": "string", // 例如:1234
"credit": "string" // 例如:1234
}
}
},
"overall_pf_balance": {
"pension_balance": "string", // 例如:12345
"current_pf_balance": "string", // 例如:54321
"employee_share_total": {
"debit": "string", // 例如:12345
"credit": "string", // 例如:54321
"balance": "string" // 例如:12345
},
"employer_share_total": {
"debit": "string", // 例如:1234
"credit": "string", // 例如:12345
"balance": "string" // 例如:123456
}
}
}
}
]
}
</details>
错误处理:
fetch_mf_transactions目的:检索共同基金交易历史以进行投资组合分析
用例:
当前范围:
{
"transactions": [
{
"isinNumber": "string", // 例如:INF123L01234
"folioId": "string", // 例如:1234567890
"externalOrderType": "string", // 例如:BUY
"transactionDate": "string", // 例如:2025-01-01T23:59:59Z(ISO格式)
"purchasePrice": {
"currencyCode": "string", // 例如:INR
"units": "string", // 例如:250
"nanos": "number" // 例如:785200000
},
"transactionAmount": {
"currencyCode": "string", // 例如:INR
"units": "string", // 例如:9999
"nanos": "number" // 例如:500000000
},
"transactionUnits": "number", // 例如:98.765
"transactionMode": "string", // 例如:N
"schemeName": "string", // 例如:Epifi Tax Saver Fund - Direct Plan
"stampDuty": "number" // 例如:0.1
}
]
}
</details>
关于响应结构的说明:
purchasePrice:执行交易时的净值transactionAmount:投资或赎回的总金额transactionUnits:购买或出售的单位数量transactionMode:正常模式为"N",其他模式可能包括定期定额等externalOrderType:购买为"BUY",赎回为"SELL"units(主要金额)和nanos(小数部分)结构错误处理:
fetch_bank_transactions目的:访问连接到Fi Money应用的银行交易数据
用例:
包含的数据:
{
"schemaDescription": "一个银行交易列表。每个'txns'字段是一个数据数组列表,其模式为:[transactionAmount, transactionNarration, transactionDate, transactionType(1表示CREDIT,2表示DEBIT,3表示OPENING,4表示INTEREST,5表示TDS,6表示INSTALLMENT,7表示CLOSING和8表示OTHERS),transactionMode,currentBalance]。\n我们目前只有最近两个月的交易记录,更早的交易记录即将推出...",
"bankTransactions": [
{
"bank": "HDFC Bank",
"txns": [
[
"80085",
"UPI-SHEETAL RAVINDRA DA-SHEETAL