io.github.chhavimishra/originselect-mcp-server

السجل الرسمي البحث والويب

Search ethical, origin-verified products and brands by country of origin

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

NPM package originselect-mcp-server
Claude Code
claude mcp add originselect-mcp-server -e 'API_BASE_URL=<API_BASE_URL>' -e 'INTELLIGENCE_API_KEY=<your intelligence_api_key>' -- npx -y originselect-mcp-server@1.0.12
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "originselect-mcp-server": {
            "command": "npx",
            "args": [
                "-y",
                "originselect-mcp-server@1.0.12"
            ],
            "env": {
                "API_BASE_URL": "<API_BASE_URL>",
                "INTELLIGENCE_API_KEY": "<your intelligence_api_key>"
            }
        }
    }
}

متغيرات البيئة

  • API_BASE_URL Base URL for the OriginSelect API
  • INTELLIGENCE_API_KEY سري Required only for the get_* intelligence tools (proprietary traffic/revenue evidence). Product search tools work without it.

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. OriginSelect MCP Server
  2. Quick Start
  3. Example Queries
  4. Tools
  5. Architecture
  6. Environment Variables
  7. Supported Values
  8. Security & Trust
  9. License
  10. Private ChatGPT transport (prepared, not published or deployed)

OriginSelect MCP Server

Model Context Protocol server for OriginSelect — search ethical, origin-verified products and brands via AI agents.

Works with Claude Desktop, Cursor, Windsurf, and any MCP-compatible client.

See the OriginSelect developer page for API docs and other integration options.

Quick Start

No install needed — just add to your Claude Desktop config:

{
  "mcpServers": {
    "originselect": {
      "command": "npx",
      "args": ["originselect-mcp-server"]
    }
  }
}
Option 2: Global install
npm install -g originselect-mcp-server

Then add to Claude Desktop config:

{
  "mcpServers": {
    "originselect": {
      "command": "originselect-mcp-server"
    }
  }
}
Option 3: From source
git clone https://github.com/chhavimishra/originselect-mcp-server.git
cd originselect-mcp-server
npm install
{
  "mcpServers": {
    "originselect": {
      "command": "node",
      "args": ["/absolute/path/to/originselect-mcp-server/src/index.js"],
      "env": {
        "API_BASE_URL": "https://api.originselect.com"
      }
    }
  }
}
Cursor / Windsurf

Add to your MCP settings:

{
  "originselect": {
    "command": "npx",
    "args": ["originselect-mcp-server"]
  }
}

Example Queries

Once connected, ask your AI assistant:

  • "Find organic baby products from Canada under $25"
  • "Show me women-owned coffee brands in the US"
  • "What B Corp certified skincare brands do you have?"
  • "Find vegan, cruelty-free pet products"

Tools

search_products

Search the curated product catalog by values, country, category, brand, or keywords.

"Find organic baby products from Canada under $25"
→ { country: "Canada", category: "Baby", values: ["organic"], priceMax: 25 }
ParameterTypeDescription
querystringOptional NL query for context
countrystringCountry of origin (Canada, USA)
categorystringProduct category (Beauty, Baby, Pet Care, etc.)
valuesstring[]Ethical values (women-owned, organic, b-corp, etc.)
brandstringBrand name
keywordsstring[]Product keywords (shampoo, coffee, etc.)
priceMaxnumberMaximum price in dollars
marketstringcanada, global, or all (default: all)
limitnumberMax products (1-50, default: 12)
search_brands

Discover brands by ethical values, country, or category.

ParameterTypeDescription
countrystringCountry of origin
valuesstring[]Ethical values
categorystringProduct category
brandstringBrand name to look up
marketstringMarket scope
limitnumberMax brands (1-20, default: 10)

Refine a previous search by adding/removing filters. Takes the intent object from a prior search_products response and applies modifications — no need to re-query from scratch.

{
  "intent": { "...from previous response..." },
  "modifications": [
    { "action": "add", "field": "values", "value": "organic" },
    { "action": "remove", "field": "values", "value": "vegan" },
    { "action": "modify", "field": "priceMax", "value": 30 }
  ]
}
get_values

List all 21 supported ethical/ownership values (women-owned, b-corp, organic, etc.).

get_categories

List all 17 supported product categories.

get_countries

List all supported countries of origin (currently Canada and USA).

First-party intelligence tools

Proprietary OriginSelect traffic/revenue evidence — requires INTELLIGENCE_API_KEY (see Environment Variables). Every response is bounded, includes date-window and freshness context, and labels attribution as deterministic/aggregate/inferred so you know how much to trust each number. These tools answer "what's going on with our own site," not public-web research (SERPs, competitors) — do that separately with your own search/browse tools.

ToolPurpose
get_daily_prioritiesTop ranked opportunities with evidence and reason codes
get_page_performanceCross-channel performance for one URL
get_query_performanceOne query's performance across engines and pages
get_page_queriesQueries driving traffic to one page
get_query_pagesPages ranking for one query
get_ranking_changesGains/losses in a page's queries over time
get_ctr_opportunitiesLow-CTR-for-position pages/queries
get_cannibalizationQueries with overlapping page visibility
get_channel_performanceGoogle/Bing/Pinterest/AI breakdown for one page
get_affiliate_performanceAffiliate clicks/revenue/commission by program+market
get_ai_referral_performanceAI-engine referral behavior for one page
get_change_historyLogged build/content changes for one page
get_data_freshnessConnector status for every intelligence source

Architecture

AI Agent (Claude, GPT, Cursor)
    │
    │  MCP (stdio)
    ▼
┌─────────────────────────┐
│  MCP Server (this pkg)  │
│  19 tools               │
└───────────┬─────────────┘
            │  HTTPS
            ▼
┌─────────────────────────┐
│  OriginSelect API       │
│  api.originselect.com   │
└─────────────────────────┘

Environment Variables

VariableDefaultDescription
API_BASE_URLhttps://api.originselect.comDiscovery API base URL
INTELLIGENCE_API_KEY(none)Required only for the intelligence tools listed above; product search works without it

Supported Values

women-owned · black-owned · indigenous-owned · veteran-owned
family-owned · lgbtq-owned · aapi-owned · latino-owned · minority-owned
b-corp · organic · sustainable · vegan · non-gmo · fair-trade
non-toxic · cruelty-free · fragrance-free · plastic-free
social-impact · gluten-free

Security & Trust

This MCP server is open source and fully auditable:

  • Read-only — only makes outbound HTTPS requests to api.originselect.com
  • No filesystem access — does not read or write any local files
  • No telemetry — does not send user data or analytics anywhere
  • Minimal dependencies — single runtime dependency (@modelcontextprotocol/sdk)
  • Source code — github.com/chhavimishra/originselect-mcp-server

See SECURITY.md for vulnerability reporting.

License

MIT

Private ChatGPT transport (prepared, not published or deployed)

The existing src/index.js stdio entry point and its 19-tool inventory remain unchanged. The private Codex connection can continue using its current launcher and server-side INTELLIGENCE_API_KEY setup.

originselect-mcp-server/intelligence exports createIntelligenceServer, a separate factory reusing the 13 existing intelligence descriptors. It requires an authenticated read dispatcher; it contains no catalog/mutation dispatch and adds strict schemas, OAuth metadata and read-only annotations. Remote-only options expose a pinned page-only baseline and dated country/device diagnostics. These options do not alter the legacy stdio schemas.

The existing OriginSelect backend mounts this factory at the proposed https://mcp.originselect.com/mcp endpoint using stateless Streamable HTTP. Cognito handles user sign-in/PKCE/refresh through the official MCP SDK OAuth proxy. Backend controllers execute the reads directly: no intelligence API key is given to ChatGPT, put into a URL, or forwarded in OAuth tokens.

The backend installs a local vendor/originselect-mcp-server-1.0.12.tgz produced by its scripts/vendor-private-mcp.mjs; no npm publication is needed. After changing this factory or its descriptors, rebuild that artifact and update the backend lockfile. The vendored manifest records the archive checksum.

Deployment, owner allowlisting, ChatGPT connection instructions and rollback are documented in the backend's intelligence/mcp/README.md. A local SDK test is not ChatGPT acceptance: the deployment remains unaccepted until an actual authenticated ChatGPT call matches the saved Aug 8–Sep 4, 2026 page-only evidence.

الأسئلة الشائعة

ما هو io.github.chhavimishra/originselect-mcp-server؟

Search ethical, origin-verified products and brands by country of origin

كيف أثبّت io.github.chhavimishra/originselect-mcp-server؟

يعمل على جهازك. في Claude Code: claude mcp add originselect-mcp-server -e 'API_BASE_URL=<API_BASE_URL>' -e 'INTELLIGENCE_API_KEY=<your intelligence_api_key>' -- npx -y originselect-mcp-server@1.0.12. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج io.github.chhavimishra/originselect-mcp-server إلى مفتاح API؟

نعم. يتطلب INTELLIGENCE_API_KEY، وتضبطها في إعداداته.

هل io.github.chhavimishra/originselect-mcp-server مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون io.github.chhavimishra/originselect-mcp-server؟

ينشره chhavimishra. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.