LoanRiskLens MCP Server
Enables creditworthiness analysis for non-traditional borrowers using rule-based scoring, financial behavior assessment, and underwriting report generation via MCP tools.
README
AltCredit Intelligence Platform
Production-Grade Alternative Credit Intelligence MCP Server
A comprehensive fintech underwriting intelligence system designed for analyzing non-traditional credit users including:
- Self-employed workers
- Gig workers
- Merchants
- Daily earners
- Non-salaried users
Key Features
- Alternative Credit Scoring: Rule-based scoring without ML dependencies
- MCP Protocol Support: Exposes tools via Model Context Protocol
- LangGraph Workflows: Multi-agent orchestration for credit analysis
- Explainable Decisions: Clear explanations for all credit decisions
- PostgreSQL Backend: Raw SQL with parameterized queries
- Production Security: JWT auth, RBAC, rate limiting, audit logging
Quick Start
# Install dependencies
npm install
# Set up environment
cp .env.example .env
# Edit .env with your PostgreSQL credentials
# Create database
createdb altcredit_db
# Start API server
npm run dev
# Start MCP server (separate terminal)
npm run dev:mcp
# Run tests
npm test
Project Structure
├── apps/
│ └── api/ # Express.js REST API
├── packages/
│ └── mcp-server/ # MCP Protocol Server
├── langgraph-workflows/ # LangGraph Agent Workflows
├── credit-engine/ # Scoring & Analysis Engine
├── shared/ # Shared Code & Utilities
└── docs/ # Documentation
Available MCP Tools
analyze_creditworthiness- Full credit eligibility analysisanalyze_financial_behavior- Financial discipline analysisgenerate_underwriting_report- Complete underwriting summary
Credit Score Formula
Score = (Transaction Consistency × 0.35)
+ (Savings Discipline × 0.40)
+ (Cashflow Stability × 0.25)
Risk Classification
| Score | Risk Level | Decision |
|---|---|---|
| ≥70 | LOW | APPROVED |
| 40-69 | MEDIUM | REVIEW |
| <40 | HIGH | REJECTED |
Documentation
Tech Stack
- Runtime: Node.js 18+
- API Framework: Express.js
- Protocol: MCP (Model Context Protocol)
- Orchestration: LangGraph-style Workflows
- Database: PostgreSQL
- Authentication: JWT
- Validation: Joi
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.