Consumer Complaint Database MCP

MIT License
2

消费者投诉数据库-MCP

此存储库包含一个仅限本地的MCP服务器,用于查询美国消费者金融保护局 (CFPB) 消费者投诉数据库。该服务器设计为通过标准输入/输出启动,非常适合与 Claude Desktop 等工具集成。

文件

  • complaints.py – 主 MCP 服务器,公开单一工具search_complaints ,用于从 CFPB API 检索投诉记录。
  • pyproject.toml – 最小项目元数据和依赖声明。
  • claude_desktop_config.json – 从 Claude Desktop 启动服务器的示例配置。

要求

  • Python 3.11+
  • uvpip用于安装依赖项

所需的 Python 包列在pyproject.toml中,包括httpxmcp[cli]python-dateutil

设置(可选)

uv run会自动创建虚拟环境,锁定依赖项,同步它们,然后执行脚本。如果您计划使用uv run complaints.py启动服务器,则可以跳过提前安装依赖项的步骤。

对于喜欢预安装软件包或使用普通pip的用户,请使用uv安装依赖项:

uv pip install -r pyproject.toml

或者使用普通的pip

pip install -r pyproject.toml

跑步

要从命令行直接启动服务器进行烟雾测试:

uv run complaints.py

服务器仅通过 stdio 运行并等待来自 MCP 感知客户端(例如 Claude Desktop)的请求。

运行测试

使用 Python 的 unittest 发现功能执行单元测试。从存储库根目录运行:

python -m unittest discover -s tests -v

这需要安装pyproject.toml中列出的依赖项。

Claude桌面配置

claude_desktop_config.json文件包含一个指向complaints.py脚本的示例条目。将INSERTPATH替换为你机器上此存储库的路径,然后将配置导入 Claude Desktop。

参考

执照

该项目已获得MIT 许可

-
security - not tested
A
license - permissive license
-
quality - not tested

本地 MCP 服务器,使用户能够通过自然语言查询 CFPB 消费者投诉数据库,通过 CFPB API 检索金融消费者投诉记录。

  1. 文件
    1. 要求
      1. 设置(可选)
        1. 跑步
          1. 运行测试
            1. Claude桌面配置
              1. 参考
                1. 执照

                  Related MCP Servers

                  • A
                    security
                    A
                    license
                    A
                    quality
                    An MCP server implementation that integrates Claude with Salesforce, enabling natural language interactions with Salesforce data and metadata for querying, modifying, and managing objects and records.
                    Last updated -
                    7
                    87
                    15
                    TypeScript
                    MIT License
                  • A
                    security
                    A
                    license
                    A
                    quality
                    An MCP server implementation that integrates Claude with Salesforce, enabling natural language interactions with Salesforce data and metadata for querying, modifying, and managing objects and records.
                    Last updated -
                    7
                    18
                    4
                    TypeScript
                    MIT License
                    • Apple
                    • Linux
                  • -
                    security
                    F
                    license
                    -
                    quality
                    An MCP server that connects to Backlog API, providing functionality to search, retrieve, and update issues through natural language commands.
                    Last updated -
                    53
                    1
                    JavaScript
                    • Apple
                  • -
                    security
                    -
                    license
                    -
                    quality
                    An MCP server that enables natural language interaction with Apache Iceberg data lakehouses, allowing users to query table metadata, schemas, and properties through Claude, Cursor, or other MCP clients.
                    Last updated -
                    31
                    Python
                    Apache 2.0

                  View all related MCP servers

                  MCP directory API

                  We provide all the information about MCP servers via our MCP API.

                  curl -X GET 'https://glama.ai/api/mcp/v1/servers/IngeniousIdiocy/Consumer-Complaint-Database-MCP'

                  If you have feedback or need assistance with the MCP directory API, please join our Discord server