Consumer Complaint Database MCP

MIT License
2

消費者苦情データベース MCP

このリポジトリには、米国消費者金融保護局(CFPB)の消費者苦情データベースへのクエリを実行するための、ローカル専用のMCPサーバーが含まれています。このサーバーは標準入出力経由で起動するように設計されているため、Claude Desktopなどのツールとの統合に最適です。

ファイル

  • complaints.py – CFPB API から苦情記録を取得するための単一のツールsearch_complaints公開するメイン MCP サーバー。
  • pyproject.toml – 最小限のプロジェクト メタデータと依存関係の宣言。
  • claude_desktop_config.json – Claude Desktop からサーバーを起動するための構成例。

要件

  • Python 3.11以上
  • 依存関係をインストールするためのuvまたはpip

必要な 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_desktop_config.jsonファイルには、 complaints.pyスクリプトを指すサンプルエントリが含まれています。INSERTPATH INSERTPATHお使いのマシン上のこのリポジトリへのパスに置き換え、設定を Claude Desktop にインポートしてください。

参考文献

ライセンス

このプロジェクトはMIT ライセンスに基づいてライセンスされています。

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

ユーザーが自然言語で CFPB 消費者苦情データベースを照会し、CFPB API を介して金融消費者苦情記録を取得できるようにするローカル MCP サーバー。

  1. ファイル
    1. 要件
      1. セットアップ(オプション)
        1. ランニング
          1. テストの実行
            1. クロードデスクトップ構成
              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