focus_mcp_data
FOCUS DATA MCP 服务器 [中文]
模型上下文协议(MCP)服务器使人工智能助手能够直接查询数据结果。用户可以通过自然语言从DataFocus获取数据结果。
特征
在DataFocus上注册开通一个应用空间,导入(直连)需要分析的数据表。
选择Datafocus数据表初始化对话框
自然语言数据采集结果
Related MCP server: MCPDemo - Visual SQL Chat Platform
先决条件
jdk 23 或更高版本。下载jdk
gradle 8.12 或更高版本。下载gradle
注册Datafocus以获取 bearer token:
在Datafocus注册一个账户
创建应用程序
进入应用程序
管理 -> 接口认证 -> Bearer Token -> 新建 Bearer Token

安装
克隆此存储库:
git clone https://github.com/FocusSearch/focus_mcp_data.git
cd focus_mcp_data构建服务器:
gradle clean
gradle bootJar
The jar path: build/libs/focus_mcp_data.jarMCP 配置
将服务器添加到您的 MCP 设置文件(通常位于~/AppData/Roaming/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json ):
{
"mcpServers": {
"focus_mcp_data": {
"command": "java",
"args": [
"-jar",
"path/to/focus_mcp_data/focus_mcp_data.jar"
],
"autoApprove": [
"tableList",
"gptText2DataInit",
"gptText2DataData"
]
}
}
}可用工具
1. 表列表
获取 datafocus 中的表格列表。
参数:
name(可选):要过滤的表名bearer(必需):持有者令牌
例子:
{
"name": "test",
"bearer": "ZTllYzAzZjM2YzA3NDA0ZGE3ZjguNDJhNDjNGU4NzkyYjY1OTY0YzUxYWU5NmU="
}2. gptText2DataInit
初始化对话。
参数:
names(必需):选定的表名称bearer(必需):持有者令牌language(可选):语言['english','chinese']
例子:
{
"names": [
"test1",
"test2"
],
"bearer": "ZTllYzAzZjM2YzA3NDA0ZGE3ZjguNDJhNDjNGU4NzkyYjY1OTY0YzUxYWU5NmU="
}3. gptText2DataData
查询数据结果。
参数:
chatId(必填):聊天IDinput(必需):自然语言bearer(必需):持有者令牌
例子:
{
"chatId": "03975af5de4b4562938a985403f206d4",
"input": "max(age)",
"bearer": "ZTllYzAzZjM2YzA3NDA0ZGE3ZjguNDJhNDjNGU4NzkyYjY1OTY0YzUxYWU5NmU="
}响应格式
所有工具都以以下格式返回响应:
{
"errCode": 0,
"exception": "",
"msgParams": null,
"promptMsg": null,
"success": true,
"data": {
}
}Visual Studio Code Cline 示例
vsCode 安装 cline 插件
mcp 服务器配置

使用
获取表格列表


初始化对话

查询:工资总额是多少

接触:
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceA NL2SQL plugin based on FocusSearch keyword parsing, offering greater accuracy, higher speed, and more reliability!39Apache 2.0
- AlicenseNot gradedqualityDmaintenanceAn AI-driven data visualization and SQL chat platform that enables natural language to SQL conversion, interactive chart generation, and database querying through a comprehensive MCP interface. Supports multiple databases, intelligent chart recommendations, and secure data management with temporary link sharing.0ISC
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to analyze cloud billing data in FOCUS format through natural language queries. Provides 36+ predefined cost analysis queries, custom SQL execution, and schema documentation for multi-cloud cost optimization and FinOps practices.11Apache 2.0
- AlicenseBqualityDmaintenanceEnables users to interact with Cube's AI agent for real-time analytics and data exploration through a chat interface. It supports generating data visualizations, performing SQL queries, and analyzing trends using natural language.15113MIT
Related MCP Connectors
Renders interactive Chart.js charts and dashboards inline in AI conversations.
AI-Ready Data Platform that fills the missing layer between data management and AI execution.
The grounded data layer for any LLM: governed SQL, metrics, lineage and catalog over your data.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/FocusSearch/focus_mcp_data'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
