ESG Hub MCP Server

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

ESG knowledge base for AI agents: hybrid search, glossary, frameworks, industries, graph traversal.

التثبيت

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

Remote (streamable-http)
Claude Code
claude mcp add --transport http esg-hub-mcp-server 'https://esg-hub.ascent.partners/api/mcp'
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "esg-hub-mcp-server": {
            "type": "http",
            "url": "https://esg-hub.ascent.partners/api/mcp"
        }
    }
}
NPM package @simonmak-ascent/esg-hub-mcp
Claude Code
claude mcp add esg-hub-mcp-server -- npx -y @simonmak-ascent/esg-hub-mcp@1.4.3
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "esg-hub-mcp-server": {
            "command": "npx",
            "args": [
                "-y",
                "@simonmak-ascent/esg-hub-mcp@1.4.3"
            ]
        }
    }
}

التوثيق

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

المحتويات
  1. ESG Hub
  2. Overview
  3. Architecture
  4. How a query is answered
  5. Data model
  6. Deployment
  7. Tech Stack
  8. Quick Start (≤ 5 minutes)
  9. API & MCP
  10. Contributing
  11. Use with Context7
  12. License

ESG Hub

An open-access encyclopedia of Environmental, Social, and Governance (ESG) knowledge by Ascent Partners Foundation — 350+ articles, 240+ curated resources, books, courses, AI search, a public REST API, and an MCP server. Available in English, Simplified Chinese, and Traditional Chinese (Hong Kong).

Live site: esg-hub.ascent.partners

Overview

  • Knowledge base — 350+ ESG articles across standards (GRI, IFRS S1/S2, TCFD, TNFD, ESRS), regulations, frameworks, ratings, and regional (HK/APAC) guidance
  • AI search — ask questions in natural language; answers grounded in the knowledge base (SurrealDB BM25 + vector search, DeepSeek, Brave Search across authoritative ESG domains)
  • Public REST API — open access to all content: /api/v1
  • MCP server — connect AI agents directly: @esg-hub/mcp-server
  • Learning resources — free courses, books, and a curated video library
  • i18n — English, Simplified Chinese (zh), Traditional Chinese — Hong Kong (hk)

Architecture

flowchart TB
  U["User / AI agent"] --> WEB["Next.js 16 App Router · React 19<br/>next-intl (en / zh / hk)"]
  WEB --> DB[("SurrealDB Cloud<br/>BM25 + vector search")]
  WEB --> AI["DeepSeek + Brave Search<br/>grounded answers"]
  WEB --> API["Public REST API · /api/v1"]
  API --> MCP["MCP server<br/>@simonmak-ascent/esg-hub-mcp"]
  V["APG fleet · ecs-05"] --> WEB

How a query is answered

sequenceDiagram
  autonumber
  actor U as User
  participant W as Next.js app (App Router)
  participant API as /api/ai-search · /api/ai-chat
  participant S as search.ts
  participant DB as SurrealDB (page · section · embedding)
  participant AI as DeepSeek
  participant X as Brave / OpenAlex
  U->>W: ask a question
  W->>API: POST query (+ locale)
  API->>S: search(query)
  S->>DB: BM25 keyword + vector (embedding) hybrid ranking
  DB-->>S: ranked pages / sections + citations
  API->>AI: synthesize answer from ranked context
  API->>X: enrich (web + research)
  X-->>API: references
  API-->>W: streamed answer + citations
  W-->>U: grounded response

Data model

erDiagram
  PAGE ||--o{ SECTION : contains
  SECTION ||--o{ EMBEDDING : "vectorised as"
  FRAMEWORK ||--o{ PAGE : classifies
  INDUSTRY ||--o{ PAGE : tags
  TERM ||--o{ PAGE : defines
  PAGE {
    string id
    string slug
    string title
    string lang
  }
  SECTION {
    string id
    string heading
    text body
  }
  EMBEDDING {
    vector vector
    string model
  }

FRAMEWORK, INDUSTRY and TERM are the facets exposed by the /api/v1/* REST resources; page, section and embedding are the core SurrealDB tables.

Deployment

Production runs on the ecs-01/02/03 HA fleet.

Production is served by ecs-05 (:3210) behind Caddy; the former Vercel project was retired. See apg-infra for the fleet deployment.

flowchart LR
  DEV["git push / PR"] --> CI["GitHub Actions<br/>lint · test · e2e · health-check"]
  CI -->|merge to main| PROD["ecs-05 · Caddy :3210<br/>esg-hub.ascent.partners"]
  PROD --> SURF["/api/mcp · /api/v1<br/>MCP + REST surfaces"]

Tech Stack

Next.js 16 (App Router, React 19) · SurrealDB Cloud · Tailwind CSS v4 · next-intl · Vitest + Playwright · APG fleet (ecs-05)

Quick Start (≤ 5 minutes)

Fastest path — nothing to install: use the live site and the open API.

Run a local copy:

git clone https://github.com/simonmak-ascent/esg-hub.git
cd esg-hub
pnpm install        # note: requires sibling repo ../tool_package (private)
cp .env.example .env  # fill in your own values
pnpm dev

Useful commands: pnpm lint · npx tsc --noEmit · npx vitest run · pnpm verify:db

Note: the app renders content from a SurrealDB database — you need your own instance and content to run a full copy. The public site and API are freely accessible without running anything.

API & MCP

  • REST API: open, no auth — GET /api/v1/pages, /api/v1/search?q=..., /api/v1/resources, /api/v1/meta (docs)
  • MCP server: see mcp-server/ — gives AI agents tools to search and read the knowledge base

Contributing

Use with Context7

Up-to-date ESG Hub documentation is indexed on Context7, so coding agents can pull it into context on demand. With the Context7 MCP server or ctx7 CLI installed, name the library in your prompt:

use library /simonmak-ascent/esg-hub for API and docs

License

  • Code: MIT
  • Encyclopedia content: CC BY-SA 4.0 by Ascent Partners Foundation

An Ascent Partners Foundation project.

If this saves you time, a ⭐ on GitHub helps others find it.

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

ما هو ESG Hub MCP Server؟

ESG knowledge base for AI agents: hybrid search, glossary, frameworks, industries, graph traversal.

كيف أثبّت ESG Hub MCP Server؟

يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http esg-hub-mcp-server 'https://esg-hub.ascent.partners/api/mcp'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج ESG Hub MCP Server إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل ESG Hub MCP Server مفتوح المصدر؟

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

من يصون ESG Hub MCP Server؟

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

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