Claude での使用
Claude Desktop connects to xBase through the CData Code Assist MCP for xBase using the Model Context Protocol (MCP).
When you launch Claude, it automatically detects MCP connections registered during setup. These connections are created and saved using the CData Code Assist MCP Configuration Tool, which is installed with the MCP server.
Each saved connection is recognized by Claude and can be referenced by name when asking questions.
Installing Claude
Claude Desktop は、Model Context Protocol(MCP)を使用して、サポートされているデータソースに対して自然言語クエリを実行できるスタンドアロンアプリケーションです。
MCP 経由でxBase に接続するには、はじめにClaude Desktop アプリケーションをインストールする必要があります。
最新バージョンは公式Claude ダウンロードページ からダウンロードできます。
Claude Desktop をインストールした後、CData MCP Driver for xBase を使用してMCP 接続を設定します。
How Claude Uses the Server
When you ask Claude a question, it launches the corresponding MCP server connection, reads the available tool descriptions provided by the connector, and generates a secure query in the background.
There is no need to write SQL or teach Claude how to query your data. Each tool is self-describing, and Claude consumes those descriptions to determine how to retrieve the right information.
Example Prompts
After setup, you can ask Claude natural-language questions like:
- 「このデータベースで利用可能なテーブルは何がありますか?」
- 「Orders テーブルの最新のレコードは何ですか?」
- 「前四半期の総収益はいくらですか?」
- 「データベースに登録されている顧客数は何人ですか?」
- 「Employees テーブルの構造を表示してください。」
- 「過去6か月間の月別ユーザー登録率の推移はどうでしたか?」
- 「最も多くの従業員がいる部門はどれですか?」
- 「現在のアクティブユーザー数は何人ですか?」
- 「Tickets テーブルで最も一般的なステータスは何ですか?」
- 「過去30日間に登録したユーザーをすべて表示してください。」
Claude securely executes the query using the MCP server and responds using the live results from xBase.