OpenSincera MCP Server

OpenSincera MCP Server

Provides access to OpenSincera API for retrieving digital advertising publisher metadata, verification status, and operational metrics through domain or Publisher ID lookup.

Category
Visit Server

README

OpenSincera MCP Server

A Model Context Protocol (MCP) server that provides access to the OpenSincera API for retrieving publisher metadata and verification information.

Overview

OpenSincera is a platform that provides transparency and verification data for digital advertising publishers. This MCP server allows AI assistants and other tools to access OpenSincera's publisher information, including verification status, metadata, and operational metrics.

Features

  • Publisher Lookup: Search for publishers by domain or Publisher ID
  • Metadata Retrieval: Get detailed publisher information including verification status, categories, and operational data
  • Health Monitoring: Check the status of the OpenSincera API connection
  • Error Handling: Comprehensive error handling with detailed error messages
  • Input Validation: Robust input validation using Zod schemas

Installation

Prerequisites

  • Node.js 18.0.0 or higher
  • OpenSincera API key

Setup

  1. Clone the repository:
git clone https://github.com/miyaichi/opensincera-mcp-server.git
cd opensincera-mcp-server
  1. Install dependencies:
npm install
  1. Build the project:
npm run build
  1. Set up environment variables:
export OPENSINCERA_API_KEY="your-api-key-here"
export OPENSINCERA_BASE_URL="https://open.sincera.io/api"  # Optional
export OPENSINCERA_TIMEOUT="10000"  # Optional (milliseconds)

Usage

Running the Server

npm start

Development

npm run dev

Configuration with Claude Desktop

Add the following to your Claude Desktop configuration file:

macOS

~/Library/Application Support/Claude/claude_desktop_config.json

Windows

%APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "opensincera": {
      "command": "node",
      "args": ["/path/to/opensincera-mcp-server/dist/index.js"],
      "env": {
        "OPENSINCERA_API_KEY": "your-api-key-here"
      }
    }
  }
}

Example Prompts for Claude Desktop

Once configured, you can use these natural language prompts in Claude Desktop:

Basic Health Check

Check the OpenSincera API connection status

Publisher Domain Lookup

Get publisher information for yahoo.com from OpenSincera

Detailed Analysis Request

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

Multiple Domain Comparison

Compare the following publishers using OpenSincera data:
- nytimes.com
- washingtonpost.com
- reuters.com

Focus on their verification status, ad quality metrics, and supply chain efficiency.

Publisher ID Lookup

Get detailed information for OpenSincera Publisher ID 2737

Targeted Metric Analysis

For the domain example.com, explain:
- What is their ID Absorption Rate and why does it matter?
- How does their page weight affect ad performance?
- Are they using too many resellers?

Business Context Questions

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?

These prompts will automatically trigger the appropriate OpenSincera MCP tools and return formatted responses with detailed metric explanations.

Available Tools

get_publisher_metadata

Get publisher metadata from OpenSincera API.

Parameters:

  • publisherId (optional): Publisher ID to search for
  • publisherDomain (optional): Publisher domain to search for
  • limit (optional): Maximum number of results (1-100)
  • offset (optional): Number of results to skip

Note: Either publisherId or publisherDomain must be provided.

Example:

{
  "publisherDomain": "example.com"
}

get_publisher_by_domain

Get a single publisher by domain name.

Parameters:

  • domain (required): Publisher domain to search for

Example:

{
  "domain": "example.com"
}

get_publisher_by_id

Get a single publisher by Publisher ID.

Parameters:

  • publisherId (required): Publisher ID to search for

Example:

{
  "publisherId": "12345"
}

health_check

Check the health status of the OpenSincera API connection.

Parameters: None

Response Format

Publisher Metadata Response

{
  "publishers": [
    {
      "publisherId": "12345",
      "publisherName": "Example Publisher",
      "publisherDomain": "example.com",
      "status": "active",
      "lastUpdated": "2023-12-01T10:00:00Z",
      "contactEmail": "contact@example.com",
      "categories": ["News", "Entertainment"],
      "verificationStatus": "verified",
      "metadata": {
        "description": "A leading news publisher",
        "primarySupplyType": "direct",
        "avgAdsToContentRatio": 0.25,
        "avgAdsInView": 3.2,
        "avgAdRefresh": 1.5,
        "totalUniqueGpids": 150,
        "idAbsorptionRate": 0.85,
        "avgPageWeight": 2048,
        "avgCpu": 15.5,
        "totalSupplyPaths": 12,
        "resellerCount": 8,
        "slug": "example-publisher"
      }
    }
  ],
  "totalCount": 1,
  "hasMore": false
}

Health Check Response

{
  "healthy": true,
  "timestamp": "2023-12-01T10:00:00Z"
}

Environment Variables

Variable Description Default Required
OPENSINCERA_API_KEY Your OpenSincera API key - Yes
OPENSINCERA_BASE_URL OpenSincera API base URL https://open.sincera.io/api No
OPENSINCERA_TIMEOUT Request timeout in milliseconds 10000 No

Error Handling

The server provides comprehensive error handling for common scenarios:

  • Authentication errors (401): Invalid or missing API key
  • Authorization errors (403): Insufficient permissions
  • Not found errors (404): Publisher not found
  • Rate limiting (429): API rate limit exceeded
  • Network errors: Connection issues or timeouts
  • Validation errors: Invalid input parameters

Development

Scripts

  • npm run build - Build the TypeScript project
  • npm run dev - Run in development mode with hot reload
  • npm test - Run tests
  • npm run lint - Run ESLint
  • npm run format - Format code with Prettier

Project Structure

src/
├── index.ts              # Main MCP server entry point
└── opensincera-service.ts # OpenSincera API service implementation

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests for new functionality
  5. Run the test suite
  6. Submit a pull request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

For issues related to this MCP server, please open an issue on GitHub.

For OpenSincera API issues, please contact OpenSincera support directly.

Changelog

v1.0.0

  • Initial release
  • Basic publisher lookup functionality
  • Health check endpoint
  • Comprehensive error handling
  • Input validation

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured