Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Consumer Financial Protection Bureau Complaints

FreeNot checked

Provides access to the Consumer Financial Protection Bureau's complaint database for searching and retrieving banking and financial service complaints by compan

GitHubEmbed

About

Provides access to the Consumer Financial Protection Bureau's complaint database for searching and retrieving banking and financial service complaints by company, product type, and result size.

README

This repository contains a local-only MCP server for querying the U.S. Consumer Financial Protection Bureau (CFPB) Consumer Complaint Database. The server is designed to be launched via standard input/output, making it ideal for integration with tools such as Claude Desktop.

Files

  • complaints.py – Main MCP server that exposes a single tool, search_complaints, for retrieving complaint records from the CFPB API.
  • pyproject.toml – Minimal project metadata and dependency declarations.
  • claude_desktop_config.json – Example configuration for launching the server from Claude Desktop.

Requirements

  • Python 3.11+
  • uv or pip for installing dependencies

Required Python packages are listed in pyproject.toml and include httpx, mcp[cli], and python-dateutil.

Setup (optional)

uv run automatically creates a virtual environment, locks your dependencies, syncs them, and then executes the script. If you plan to launch the server with uv run complaints.py, you can skip installing requirements ahead of time.

For users who prefer to pre-install packages or use plain pip, install dependencies with uv:

uv pip install -r pyproject.toml

Or with plain pip:

pip install -r pyproject.toml

Running

To launch the server directly from the command line for a smoke test:

uv run complaints.py

The server runs over stdio only and waits for requests from an MCP-aware client (e.g., Claude Desktop).

Running tests

Execute the unit tests using Python's unittest discovery. From the repository root, run:

python -m unittest discover -s tests -v

This requires the dependencies listed in pyproject.toml to be installed.

Claude Desktop Configuration

The claude_desktop_config.json file includes an example entry pointing to the complaints.py script. Replace INSERTPATH with the path to this repository on your machine and import the configuration into Claude Desktop.

References

MCP usage in Claude

License

This project is licensed under the MIT License.

from github.com/ingeniousidiocy/consumer-complaint-database-mcp

Installing Consumer Financial Protection Bureau Complaints

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/ingeniousidiocy/consumer-complaint-database-mcp

FAQ

Is Consumer Financial Protection Bureau Complaints MCP free?

Yes, Consumer Financial Protection Bureau Complaints MCP is free — one-click install via Unyly at no cost.

Does Consumer Financial Protection Bureau Complaints need an API key?

No, Consumer Financial Protection Bureau Complaints runs without API keys or environment variables.

Is Consumer Financial Protection Bureau Complaints hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Consumer Financial Protection Bureau Complaints in Claude Desktop, Claude Code or Cursor?

Open Consumer Financial Protection Bureau Complaints on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Consumer Financial Protection Bureau Complaints with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All data MCPs