MCP ExplorerExplorer

Israeli Bank Scrapers Mcp Demo

@shlomiuzielon 10 months ago
1 MIT
FreeCommunity
AI Systems
A Model Context Protocol (MCP) server that demonstrates how to scrape financial data using the israeli-bank-scrapers library

Overview

What is Israeli Bank Scrapers Mcp Demo

The israeli-bank-scrapers-mcp-demo is a Model Context Protocol (MCP) server designed to demonstrate the process of scraping financial data, specifically credit card transactions, using the israeli-bank-scrapers library.

Use cases

Use cases include automated transaction tracking for personal budgeting, data analysis for financial insights, and integration into larger financial applications that require real-time transaction data.

How to use

To use the israeli-bank-scrapers-mcp-demo, clone the repository, install the dependencies with ‘npm install’, configure the Chromium path, build the project with ‘npm run build’, and start the server using ‘npm start’.

Key features

Key features include fetching credit card transactions from Israeli banks, storing transactions in a local SQLite database, querying stored transactions with filtering options, and secure credential management.

Where to use

This MCP server can be used in financial technology applications, personal finance management tools, and any project requiring the scraping of banking data from Israeli financial institutions.

Content

Credit Card MCP Server Demo

This is a Model Context Protocol (MCP) server that provides tools for fetching and managing credit card transactions using the israeli-bank-scrapers library.

Features

  • Fetch credit card transactions from Israeli banks (Demo shows a single provider scraping process)
  • Store transactions in a local SQLite database
  • Query stored transactions with filtering options
  • Secure credential management

Installation

  1. Clone the repository
  2. Install dependencies:
npm install

Configuration

Chromium Path

The server requires Chromium for web scraping. You can configure the path to the Chromium executable in two ways:

  1. Environment variable:
export CHROMIUM_PATH=/path/to/chromium
  1. Default path:
    The default path is set to /opt/homebrew/bin/chromium. You can modify this in src/config.ts.

Usage

  1. Build the project:
npm run build
  1. Start the server:
npm start

Available Tools

1. Scrape Transactions

Fetch transactions from your bank:

{
  "name": "scrapeTransactions",
  "arguments": {
    "credentials": {
      "username": "your_username",
      "password": "your_password"
    }
  }
}

Security Notes

  • Credentials are stored in memory only and are cleared when the server stops
  • The SQLite database is stored locally and should be protected
  • Never share your credentials or the database file

Development

For development with hot reloading:

npm run dev

Troubleshooting

Chromium Issues

If you encounter issues with Chromium:

  1. Make sure Chromium is installed and accessible
  2. Verify the path in CHROMIUM_PATH environment variable or src/config.ts
  3. Install Chromium via Homebrew: brew install chromium

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers