OpenSincera MCP Server
OpenSincera MCP 服务器
一个模型上下文协议 (MCP) 服务器,提供对 OpenSincera API 的访问,用于检索发布商元数据、验证信息和广告质量分析。
概述
OpenSincera 是一个为数字广告发布商提供透明度和验证数据的平台。此 MCP 服务器允许 AI 助手和其他工具访问 OpenSincera 的发布商信息,包括验证状态、元数据、运营指标、设备级广告质量信号和竞争基准测试。
Related MCP server: NewsBreak MCP Server
功能
发布商查询:通过域名或发布商 ID 搜索发布商
元数据检索:获取详细的发布商信息,包括验证状态、类别和运营指标
设备级指标:比较移动端与桌面端的 A2CR、广告可见度、广告刷新率等
竞争基准测试:并排比较发布商与类似发布商的指标
媒体评估:为广告主媒体选择对多个发布商进行评分和排名
健康监测:检查 OpenSincera API 连接的状态
错误处理:具有详细错误信息的全面错误处理
输入验证:使用 Zod 模式进行稳健的输入验证
安装
使用 npm 全局安装该包:
npm install -g opensincera-mcp-server先决条件
Node.js 18.0.0 或更高版本
OpenSincera API 密钥
设置
克隆仓库:
git clone https://github.com/miyaichi/opensincera-mcp-server.git
cd opensincera-mcp-server安装依赖:
npm install构建项目:
npm run build设置环境变量:
export OPENSINCERA_API_KEY="your-api-key-here"
export OPENSINCERA_BASE_URL="https://open.sincera.io/api" # Optional
export OPENSINCERA_TIMEOUT="10000" # Optional (milliseconds)使用方法
运行服务器
npm start开发
npm run devClaude Desktop 配置
根据您的安装方法,将以下内容添加到您的 Claude Desktop 配置文件中。
该文件位于:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%/Claude/claude_desktop_config.json
选项 1:如果全局安装
如果您通过 npm install -g 全局安装了该包,该命令可直接在您的系统路径中使用。
{
"mcpServers": {
"opensincera": {
"command": "opensincera-mcp-server",
"env": {
"OPENSINCERA_API_KEY": "your-api-key-here"
}
}
}
}选项 2:如果使用本地克隆
如果您在本地克隆了仓库,则必须提供脚本的完整路径。请记住将 /path/to/ 替换为项目目录的实际绝对路径。
{
"mcpServers": {
"opensincera": {
"command": "node",
"args": ["/path/to/opensincera-mcp-server/dist/index.js"],
"env": {
"OPENSINCERA_API_KEY": "your-api-key-here"
}
}
}
}Claude Desktop 示例提示词
配置完成后,您可以在 Claude Desktop 中使用这些自然语言提示词:
基本健康检查
Check the OpenSincera API connection status发布商域名查询
Get publisher information for yahoo.com from OpenSincera详细分析请求
Analyze the publisher metrics for cnn.com and explain:
- Their verification status
- Ad to content ratio and what it means
- Supply chain complexity
- Overall advertising quality设备级比较
Show me the mobile vs desktop ad quality metrics for nytimes.com竞争基准测试
Compare businessinsider.com against its similar publishers移动端媒体评估
Evaluate these publishers for a mobile branding campaign:
- nytimes.com
- washingtonpost.com
- reuters.com
Use device: mobile发布商 ID 查询
Get detailed information for OpenSincera Publisher ID 2737业务背景问题
I'm considering running ad campaigns on forbes.com.
Can you check their OpenSincera profile and tell me:
- Is this a verified publisher?
- What's their ad refresh rate and is it good or bad?
- How many supply paths do they have?
- Would you recommend this publisher for quality ad placement?这些提示词将自动触发相应的 OpenSincera MCP 工具,并返回带有详细指标解释的格式化响应。
可用工具
get_publisher_metadata
从 OpenSincera API 获取发布商元数据。
参数:
publisherId(可选):要搜索的发布商 IDpublisherDomain(可选):要搜索的发布商域名limit(可选):结果的最大数量 (1-100)offset(可选):要跳过的结果数量
注意: 必须提供 publisherId 或 publisherDomain 中的一个。
示例:
{
"publisherDomain": "example.com"
}get_publisher_by_domain
通过域名获取单个发布商。
参数:
domain(必需):要搜索的发布商域名
示例:
{
"domain": "example.com"
}get_publisher_by_id
通过发布商 ID 获取单个发布商。
参数:
publisherId(必需):要搜索的发布商 ID
示例:
{
"publisherId": "12345"
}compare_publishers
将发布商与其类似发布商进行比较(竞争基准测试)。检索目标发布商及其由 OpenSincera 策划的类似发布商,然后生成关键指标的并排比较。
参数:
domain(必需):要进行基准测试的发布商域名device(可选):用于指标比较的设备类型 —overall(默认)、mobile或desktop
示例:
{
"domain": "businessinsider.com",
"device": "mobile"
}evaluate_media
为广告主媒体选择对多个发布商域名进行评分和排名。每个发布商根据广告质量指标、供应链健康状况和身份覆盖范围获得一个分数(0-100),并根据广告活动目标进行加权。
参数:
domains(必需):要评估的发布商域名列表campaignGoal(可选):branding(品牌推广)、performance(效果营销)或balanced(平衡,默认)language(可选):输出语言 —en(默认)或jadevice(可选):用于评分的设备类型 —overall(默认)、mobile或desktop
示例:
{
"domains": ["nytimes.com", "washingtonpost.com", "reuters.com"],
"campaignGoal": "branding",
"device": "desktop"
}health_check
检查 OpenSincera API 连接的健康状态。
参数: 无
响应格式
发布商元数据响应
{
"publishers": [
{
"publisherId": "1",
"publisherName": "Business Insider",
"ownerDomain": "insider-inc.com",
"domain": "businessinsider.com",
"status": "active",
"lastUpdated": "2026-04-14T01:00:25.419Z",
"categories": [],
"verificationStatus": "verified",
"parentEntityId": 59072,
"similarPublishers": [41, 67, 405],
"deviceMetrics": {
"mobile": {
"avgAdsToContentRatio": 0.265,
"maxAdsToContentRatio": 1.0,
"minAdsToContentRatio": 0.0,
"avgAdUnitsInView": 1.611,
"maxAdUnitsInView": 4.0,
"averageRefreshRate": 58.441,
"maxRefreshRate": 420.0,
"minRefreshRate": 5.0,
"percentageOfAdSlotsWithRefresh": 98.78
},
"desktop": {
"avgAdsToContentRatio": 0.231,
"maxAdsToContentRatio": 1.0,
"minAdsToContentRatio": 0.0,
"avgAdUnitsInView": 2.577,
"maxAdUnitsInView": 9.0,
"averageRefreshRate": 81.096,
"maxRefreshRate": 590.0,
"minRefreshRate": 5.0,
"percentageOfAdSlotsWithRefresh": 84.99
}
},
"metadata": {
"description": "Business Insider tells the global tech, finance...",
"primarySupplyType": "web",
"avgAdsToContentRatio": 0.249,
"avgAdsInView": 2.088,
"avgAdRefresh": 72.489,
"totalUniqueGpids": 946,
"idAbsorptionRate": 0.5,
"avgPageWeight": 27.843,
"avgCpu": 254.671,
"totalSupplyPaths": 118,
"resellerCount": 69,
"slug": "business-insider"
}
}
],
"totalCount": 1,
"hasMore": false
}健康检查响应
{
"healthy": true,
"timestamp": "2026-04-14T10:00:00Z"
}环境变量
变量 | 描述 | 默认值 | 必需 |
| 您的 OpenSincera API 密钥 | - | 是 |
| OpenSincera API 基础 URL |
| 否 |
| 请求超时时间(毫秒) |
| 否 |
错误处理
服务器为常见场景提供了全面的错误处理:
身份验证错误 (401):API 密钥无效或缺失
授权错误 (403):权限不足
未找到错误 (404):未找到发布商
速率限制 (429):超过 API 速率限制
网络错误:连接问题或超时
验证错误:输入参数无效
开发
脚本
npm run build- 构建 TypeScript 项目npm run dev- 在开发模式下运行并热重载npm test- 运行测试npm run lint- 运行 ESLintnpm run format- 使用 Prettier 格式化代码
项目结构
src/
├── index.ts # Main MCP server entry point and tool definitions
├── opensincera-service.ts # OpenSincera API client and data models
├── metadata-descriptions.ts # Field descriptions and formatted output
└── analysis.ts # Scoring, comparison, and evaluation logic贡献
Fork 仓库
创建功能分支
进行更改
为新功能添加测试
运行测试套件
提交 Pull Request
许可证
本项目采用 MIT 许可证 - 有关详细信息,请参阅 LICENSE 文件。
支持
有关此 MCP 服务器的问题,请在 GitHub 上提交 Issue。
有关 OpenSincera API 的问题,请直接联系 OpenSincera 支持团队。
更新日志
v1.0.4
添加了
device_level_metrics支持:A2CR、广告可见度、广告刷新率(平均/最小/最大)以及带有刷新的广告位百分比的移动端和桌面端细分数据添加了
compare_publishers工具:针对类似发布商的并排竞争基准测试添加了
evaluate_media工具:根据广告活动目标(品牌推广/效果营销/平衡)对多个发布商进行评分和排名为
compare_publishers和evaluate_media添加了device参数,用于移动端/桌面端特定分析添加了用于评分和报告逻辑的
analysis.ts模块
v1.0.3
添加了发布商比较和评级功能
更新了发布商元数据结构,包含
owner_domain、domain、parent_entity_id和similar_publishers
v1.0.2
版本升级和稳定性改进
v1.0.0
初始版本
基本发布商查询功能
健康检查端点
全面的错误处理
输入验证
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 gradedqualityBmaintenanceProvides access to Altmetric APIs for monitoring research impact and attention across news, policy documents, social media, and other online platforms.5447MIT- FlicenseNot gradedqualityDmaintenanceEnables programmatic management of NewsBreak advertising campaigns, ad sets, ads, and assets via the NewsBreak Advertising API.1
- AlicenseNot gradedqualityBmaintenanceEnables interaction with Sam's Club Sponsored Ads APIs through spec-driven endpoint discovery and an authenticated proxy with automatic RSA-SHA256 request signing.MIT
- -licenseNot gradedqualityNot gradedmaintenanceProvides access to the OpenAlex API, enabling search and retrieval of scholarly works, authors, sources, and more.
Related MCP Connectors
Domain/IP intelligence, web page capture and search APIs
Access US federal award, recipient, agency, and spending analytics data from USAspending.gov.
SBIR MCP — wraps the SBIR.gov public API (free, no auth)
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/miyaichi/opensincera-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server