Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

TATA CAPITAL

БесплатноНе проверен

TATA CAPITAL — Model Context Protocol server

GitHubEmbed

Описание

TATA CAPITAL — Model Context Protocol server

README

🚀 Loan Sales Agentic API

A lightweight backend API for Personal Loan Eligibility, Offers, Document Verification, and Application Management.


📌 Base URL

http://127.0.0.1:8000/docs

📂 API Endpoints Overview

Endpoint Method Description
/health GET Server status check
/loan/personal/check-eligibility POST Check customer loan eligibility
/loan/personal/apply POST Submit personal loan application
/loan/personal/status POST Track loan application status
/loan/personal/offer POST Generate loan offers
/loan/personal/verify-pan POST PAN verification
/loan/personal/verify-salary-slip POST Salary slip verification
/loan/personal/cibil-score POST Get CIBIL score
/loan/personal/calculate-emi POST Calculate EMI

🟢 1. GET /health

✔ Check whether server is active

Response

{
  "status": "ok",
  "message": "Server is running"
}

🟦 2. POST /loan/personal/check-eligibility

Checks loan eligibility based on income, CIBIL, age, and existing liabilities.

Sample Request

{
  "customer_id": "CUST001",
  "age": 28,
  "monthly_income": 45000,
  "existing_emis": 5000,
  "cibil_score": 735,
  "employment_type": "salaried"
}

✔ Success

{
  "eligible": true,
  "approved_amount": 250000,
  "interest_rate": 12.5,
  "message": "Customer is eligible for the loan"
}

❌ Low Income

{
  "eligible": false,
  "message": "Minimum income requirement not met"
}

❌ Low CIBIL

{
  "eligible": false,
  "message": "CIBIL score too low for personal loan"
}

🟦 3. POST /loan/personal/apply

Creates a loan application entry.

Sample Request

{
  "customer_id": "CUST001",
  "loan_amount": 200000,
  "tenure_months": 36,
  "income": 45000,
  "employment_type": "salaried",
  "address": "Mumbai"
}

✔ Success

{
  "application_id": "APP10235",
  "status": "submitted",
  "message": "Loan application submitted successfully"
}

❌ Missing Fields

{
  "error": "customer_id and loan_amount are required"
}

🟦 4. POST /loan/personal/status

Retrieve status of a loan application.

Sample Request

{
  "application_id": "APP10235"
}

✔ Success

{
  "application_id": "APP10235",
  "status": "under_review"
}

❌ Invalid ID

{
  "error": "Application ID not found"
}

🟦 5. POST /loan/personal/offer

Generates personalized loan offers.

Sample Request

{
  "customer_id": "CUST001",
  "income": 45000,
  "cibil_score": 730
}

✔ Success

{
  "customer_id": "CUST001",
  "offers": [
    {
      "loan_amount": 200000,
      "interest_rate": 12.4,
      "tenure_months": 36
    },
    {
      "loan_amount": 300000,
      "interest_rate": 13.5,
      "tenure_months": 48
    }
  ]
}

🟦 6. POST /loan/personal/verify-pan

Validates the PAN number format and mapping.

Sample Request

{
  "customer_id": "CUST001",
  "pan_number": "ABCDE1234F"
}

✔ Success

{
  "valid": true,
  "message": "PAN verification successful"
}

❌ Invalid PAN

{
  "valid": false,
  "message": "Invalid PAN format or not found"
}

🟦 7. POST /loan/personal/verify-salary-slip

Verifies if customer's salary slip is available in backend data folder.

Sample Request

{
  "customer_id": "CUST001"
}

✔ Success

{
  "verified": true,
  "file": "salary_slip_CUST001.pdf"
}

❌ Not Found

{
  "verified": false,
  "message": "Salary slip not found"
}

🟦 8. POST /loan/personal/cibil-score

Returns the stored CIBIL score for a customer.

Sample Request

{
  "customer_id": "CUST001"
}

✔ Success

{
  "customer_id": "CUST001",
  "cibil_score": 742
}

❌ Not Found

{
  "error": "Customer not found"
}

🟦 9. POST /loan/personal/calculate-emi

Calculates EMI using reducing balance interest formula.

Sample Request

{
  "loan_amount": 200000,
  "interest_rate": 12.5,
  "tenure_months": 36
}

✔ Success

{
  "emi": 6681.23
}

❌ Missing Fields

{
  "error": "loan_amount, interest_rate and tenure_months are required"
}

📌 Folder Structure Example

project/
│── main.py
│── requirements.txt
│── data/
│    ├── salary_slips/
│    │    ├── salary_slip_CUST001.pdf
│    │    ├── salary_slip_CUST002.pdf
│    │    └── ...
│    └── cibil_scores.json

🚀 Run Server

uvicorn main:app --reload

from github.com/PulkitAg13/MCP-SERVER-TATA-CAPITAL

Установка TATA CAPITAL

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/PulkitAg13/MCP-SERVER-TATA-CAPITAL

FAQ

TATA CAPITAL MCP бесплатный?

Да, TATA CAPITAL MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для TATA CAPITAL?

Нет, TATA CAPITAL работает без API-ключей и переменных окружения.

TATA CAPITAL — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить TATA CAPITAL в Claude Desktop, Claude Code или Cursor?

Открой TATA CAPITAL на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare TATA CAPITAL with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории development