Related MCP Server Resources

Explore more AI models, providers, and integration options:

  • Explore AI Models
  • Explore AI Providers
  • Explore MCP Servers
  • LangDB Pricing
  • Documentation
  • AI Industry Blog
  • IcebergMCP
  • Ollama MCP Database Assistant
  • MCP Pokemon Server
  • MongoDB MCP Server for LLMs
  • Azure Cosmos DB MCP Server
Back to MCP Servers
Consumer Complaint Database MCP

Consumer Complaint Database MCP

Public
IngeniousIdiocy/Consumer-Complaint-Database-MCP

A local MCP server that enables users to query the CFPB Consumer Complaint Database through natural language, retrieving financial consumer complaint records via the CFPB API.

Verified
python
0 tools
May 29, 2025
Updated May 30, 2025

Consumer-Complaint-Database-MCP

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

  • CFPB Consumer Complaint Database API documentation – underlying API used by this MCP server.
  • Model Context Protocol quickstart tutorial – tutorial that helped build this example.

MCP usage in Claude

License

This project is licensed under the MIT License.

Publicly Shared Threads0

Discover shared experiences

Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!

Share your threads to help others
Related MCPs5
  • IcebergMCP
    IcebergMCP

    An MCP server that enables natural language interaction with Apache Iceberg data lakehouses, allowin...

    Added May 30, 2025
  • Ollama MCP Database Assistant
    Ollama MCP Database Assistant

    An interactive chat interface that combines Ollama's LLM capabilities with PostgreSQL database acces...

    Added May 30, 2025
  • MCP Pokemon Server
    MCP Pokemon Server

    An MCP server implementation that enables users to interact with the PokeAPI to fetch Pokemon inform...

    Added May 30, 2025
  • MongoDB MCP Server for LLMs
    MongoDB MCP Server for LLMs

    An MCP server that enables large language models to interact directly with MongoDB databases, allowi...

    Added May 30, 2025
  • Azure Cosmos DB MCP Server
    Azure Cosmos DB MCP Server

    A server that enables LLMs like Claude to interact with Azure Cosmos DB databases through natural la...

    Added May 30, 2025