idatafield-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@idatafield-mcp search finance data products and generate an operations report"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
idatafield-mcp · 星罗数场数据分析 MCP Server
针对 www.idatafield.com(星罗数场·可信数据流通平台)的 MCP 数据分析服务 + 智能体技能。 封装平台公开门户数据与登录态个人数据,内置运营分析报告生成(离线 HTML 交互图表 + Excel),可安装到 Codex、Claude Code、Cursor、Claude Desktop 等支持 MCP 的智能体工具,也可托管部署到 ModelScope MCP 广场。
服务配置(MCP Server Config)
STDIO 类型,使用 PyPI 包 idatafield-mcp,通过 uvx 运行。默认不配置凭据,仅使用公开数据(公开产品/空间/场景/需求检索 + 运营分析报告):
{
"mcpServers": {
"idatafield": {
"command": "uvx",
"args": ["idatafield-mcp@latest"]
}
}
}如需个人数据(订单/用量/交易/账户),在 env 中任选一种配置即可自动启用(未配置则个人数据工具返回配置指引,公开分析不受影响):
{
"mcpServers": {
"idatafield": {
"command": "uvx",
"args": ["idatafield-mcp@latest"],
"env": {
"IDATAFIELD_TOKEN": "你的 access token(与账号密码二选一)"
}
}
}
}{
"mcpServers": {
"idatafield": {
"command": "uvx",
"args": ["idatafield-mcp@latest"],
"env": {
"IDATAFIELD_USERNAME": "登录手机号/用户名",
"IDATAFIELD_PASSWORD": "登录密码"
}
}
}
}认证与能力模式
配置 | 模式 | 可用能力 |
均不配置 |
| 全部公开数据工具 + 运营分析报告 |
|
| 公开数据 + 个人数据(直接使用 token) |
|
| 公开数据 + 个人数据(自动登录、token 缓存、过期重登) |
优先级:IDATAFIELD_TOKEN > IDATAFIELD_USERNAME/PASSWORD > 仅公开数据。
连接后可调用 get_connection_status 查看当前模式、认证来源与 token 过期时间。
Related MCP server: Monitly MCP Server
功能特性
公开数据(无需登录)
数据产品检索/详情(370+ 产品,支持行业/供方/定价/数据主体/地域/时间/排序筛选)
数据空间列表与分类统计、应用场景、数据需求、数据资源、全局搜索、行业资讯
登录态个人数据(配置账号密码后)
个人资料、我的订单(申请/供应)、交易概览(本月/上月订单额、分成额、订单数)
用量明细、账户开票/支付信息、我加入/管理的空间、消息中心、需求响应
分析与报告
analyze_operations:全量运营指标聚合(行业/供方/主体/定价分布、上架趋势、热度排行、空间生态、自动洞察)generate_operations_report:生成单文件离线 HTML 报告(内联 ECharts 交互图表)+ Excel 工作簿(含原生图表)export_data:任意实体导出 CSV/XLSX
工具清单
类别 | 工具 |
公开数据 |
|
个人数据(需登录) |
|
分析报告 |
|
快速开始(本地)
需要 uv:
uvx idatafield-mcp@latest # 直接从 PyPI 运行
# 或从源码
git clone https://github.com/zhsheng26/idatafield-mcp.git
cd idatafield-mcp && uv sync && uv run idatafield-mcp任意 MCP 客户端使用上面的「服务配置」即可接入。
个人数据(需登录)
平台登录走 Keycloak SSO,支持两种凭据方式(任选其一):
变量 | 说明 |
| 直接注入 access token(最简单,失效需更新) |
| 平台登录手机号/用户名(与 PASSWORD 配套,自动登录) |
| 登录密码 |
| 可选,token 缓存目录(默认 |
配置
TOKEN:直接使用,无需登录流程;token 过期且存在账号密码时会自动回退登录。配置
USERNAME+PASSWORD:首次连接自动登录,token 缓存到本地,过期自动重登。两种都配置时,
TOKEN优先。获取 token:浏览器登录 www.idatafield.com 后,开发者工具 → Application → Session Storage → 键
IDATA-token的值。
托管部署(如 ModelScope MCP 广场)为共享实例,不要写入个人凭据,保持公开数据模式;需要个人数据时请按上面的
env自托管。
各智能体接入
Codex:见
examples/codex-config.tomlClaude Code:见
examples/claude-code.mcp.jsonCursor:见
examples/cursor.mcp.jsonClaude Desktop:见
examples/claude-desktop.json
技能安装(可选,指导智能体组合工具产出报告):将 skills/idatafield-analysis/ 复制到 ~/.codex/skills/ 或 ~/.claude/skills/。
部署到 ModelScope MCP 广场
本仓库根目录 README 已包含可被自动解析的 STDIO 服务配置(上文
mcpServers块)。包已发布到 PyPI(
idatafield-mcp),ModelScope 通过uvx下载安装并调用list_tools完成部署检测。在 ModelScope MCP 创建页 填入本仓库地址
https://github.com/zhsheng26/idatafield-mcp,托管类型选「可托管部署」。检测通过后即获得
可部署/hosted标签,社区用户可一键连接。
开发
uv sync
uv run pytest # 单元测试(20 项)
uv run python scripts/smoke_live.py # 只读冒烟测试 + 生成样例报告说明
只读:不含下单、加入空间、发布等写操作。
公开接口已实测验证;个人数据接口需账号有相应业务数据方有内容。
托管环境下
generate_operations_report生成的文件位于服务端容器内,社区用户建议以自托管方式获取报告文件;数据分析类工具(analyze_operations/检索类)在托管环境可直接使用。
Available Tools
20 toolsanalyze_operationsB
全量运营分析:产品/空间/场景/需求规模,行业/供方/主体/定价/类型分布,上架趋势, 热度排行,空间生态,以及自动归纳的运营洞察。评估星罗数场运营情况的核心工具。
Inputs: top_n.
export_dataB
导出公开实体数据。entity: products/spaces/scenes/demands。format: csv/xlsx。返回文件路径。
Inputs: entity, format, output_dir.
generate_operations_reportB
生成美观的运营分析报告。format: html/excel/both。输出单文件离线 HTML(交互图表) 和/或 Excel 工作簿(含原生图表)。返回生成文件的绝对路径。
Inputs: top_n, format, output_dir.
get_account_summaryB
账户开票抬头与支付/收款账户信息。需登录。
Inputs: no named parameters.
get_connection_statusA
查看当前连接模式:authenticated(个人数据+公开数据) 或 public(仅公开数据)。 返回认证来源(token/password/none)、token 过期时间及可用能力说明。不发起网络请求。
Inputs: no named parameters.
get_demand_detailC
获取数据需求详情。
Inputs: demand_id (required).
get_my_messagesC
我的消息中心。需登录。
Inputs: no named parameters.
get_my_profileB
获取当前登录用户个人资料(需配置账号密码)。
Inputs: no named parameters.
get_product_detailB
获取数据产品详情(含定价 measures、供方、所属空间、完整描述)。product_id 为产品 productId。
Inputs: product_id (required).
get_transaction_summaryA
交易概览:本月/上月订单金额、分成金额、订单数、成功订单数。record_type=2买方/1卖方。需登录。
Inputs: type_, record_type.
get_usage_detailsC
我的数据产品用量明细。需登录。
Inputs: page, page_size, product_name.
global_searchC
全局搜索(产品/空间/资源/需求/场景混合),并返回各类实体总数。
Inputs: page, keyword, page_size.
list_data_spacesB
列出数据空间及分类统计。space_type: 1企业/2行业/3城市/4个人/5跨境。返回含成员数/产品数/交易数。
Inputs: page, keyword, page_size, space_type.
list_demandsC
列出数据需求大厅的需求(含行业、地区、预算、应用场景)。
Inputs: page, keyword, page_size.
list_my_ordersC
我的数据产品订单。flag=0 我申请的(买方)/1 我供应的(卖方)。需登录。
Inputs: flag, page, end_time, provider, +3 more.
list_my_spacesB
我加入(managed=False)或我管理(managed=True)的数据空间。需登录。
Inputs: page, managed, page_size.
list_newsD
列出行业资讯。
Inputs: page, keyword, page_size.
list_resourcesC
列出公开数据资源。
Inputs: page, keyword, page_size.
list_scenesC
列出应用场景(含行业、所属空间、访问量)。可按 space_id 过滤。
Inputs: page, space_id, page_size.
search_productsC
检索平台公开数据产品。product_type: 01数据集/02数据服务; data_subject: 01个人/02企业/03公共; is_free: true免费/false付费/negotiable面议; sort_by: visit访问量/publish上架时间。
Inputs: page, order, region, is_free, +9 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 20 tools
Most tools target clearly distinct resources or actions: public catalog browsing, personal account data, analytics, reporting, and export are separated. There is some potential overlap among personal/account tools such as get_usage_details, get_transaction_summary, list_my_orders, and get_account_summary, but descriptions make the boundaries mostly clear.
Tool names consistently use snake_case and mostly follow a verb_noun pattern such as get_product_detail, list_demands, search_products, and generate_operations_report. The main minor deviation is global_search, which is adjective_noun rather than verb_noun, but the convention remains readable and predictable overall.
The server covers several domains: public data discovery, personal account data, operations analytics, reporting, and export. Twenty tools is somewhat broad, but each tool appears to serve a specific purpose within that scope rather than duplicating others.
The surface covers core read and analytics workflows for products, spaces, demands, scenes, resources, news, personal orders, and transactions. However, it lacks detail operations for some listed entities such as spaces/scenes/resources/news and has no create/update/delete lifecycle tools, so it is incomplete for a full marketplace management domain.
Related MCP Connectors
SEC filings, Wikipedia, arXiv, US Census and more for AI agents, with every answer source-linked.
Web search, point-in-time crypto market data, verified strategy track records and 160+ agent tools.
Connect AI agents to primary sources - markets, macro, news, earth, network, entities and research.
Real-world intelligence for AI agents: US people, spending, places, trade areas and site scores.
Related MCP Servers
- AlicenseCqualityCmaintenanceEnables AI agents to run open-source intelligence workflows such as sanctions screening, prioritized vulnerability briefs, IOC searches, evidence-chain verification, and sun-position chronolocation.5MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to access official statistical and economic indicator datasets from Eurostat, World Bank, OECD, IMF, WHO, and national statistical offices across 150+ countries through natural-language dataset discovery, inspection, time-series retrieval, SQL queries, CSV export, and account/watchlist management.MIT
- AlicenseAqualityBmaintenanceEnables AI agents to search U.S. government contracts, grants, jobs, past awards, company histories, and teaming partners, and to assess opportunities for fit and bid decisions.9203 PyPIMIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to query public social media, ad library, Google Search and Maps, reviews, app-store, and Amazon data through about 250 operations, with credit-based caching and stateless remote access.MIT