The OpenSincera MCP Server provides access to OpenSincera's publisher data and verification information through its API.
Publisher Lookup: Search for publishers by domain or unique Publisher ID
Metadata Retrieval: Obtain detailed publisher information including verification status, categories, and operational metrics (e.g., ad-to-content ratio, page weight, supply chain complexity, ad refresh rate)
Pagination Support: Retrieve multiple publishers with limit and offset parameters for flexible querying
Health Monitoring: Check the status and connectivity of the OpenSincera API
Error Handling: Comprehensive error handling with detailed error messages
Input Validation: Robust input validation using Zod schemas to ensure correct data submission
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
Clone the repository:
Install dependencies:
Build the project:
Set up environment variables:
Usage
Running the Server
Development
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
Example Prompts for Claude Desktop
Once configured, you can use these natural language prompts in Claude Desktop:
Basic Health Check
Publisher Domain Lookup
Detailed Analysis Request
Multiple Domain Comparison
Publisher ID Lookup
Targeted Metric Analysis
Business Context Questions
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 forpublisherDomain
(optional): Publisher domain to search forlimit
(optional): Maximum number of results (1-100)offset
(optional): Number of results to skip
Note: Either publisherId
or publisherDomain
must be provided.
Example:
get_publisher_by_domain
Get a single publisher by domain name.
Parameters:
domain
(required): Publisher domain to search for
Example:
get_publisher_by_id
Get a single publisher by Publisher ID.
Parameters:
publisherId
(required): Publisher ID to search for
Example:
health_check
Check the health status of the OpenSincera API connection.
Parameters: None
Response Format
Publisher Metadata Response
Health Check Response
Environment Variables
Variable | Description | Default | Required |
| Your OpenSincera API key | - | Yes |
| OpenSincera API base URL |
| No |
| Request timeout in milliseconds |
| 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 projectnpm run dev
- Run in development mode with hot reloadnpm test
- Run testsnpm run lint
- Run ESLintnpm run format
- Format code with Prettier
Project Structure
Contributing
Fork the repository
Create a feature branch
Make your changes
Add tests for new functionality
Run the test suite
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
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Provides access to OpenSincera API for retrieving digital advertising publisher metadata, verification status, and operational metrics through domain or Publisher ID lookup.