Agentic Analytics

io.github.pooriaarab由 GitHub 帳號 pooriaarab 發布v0.1.0更新於 Oct 24, 2026

Score social post results and recommend the next move.

發布方自己的服務:agentic.no

已驗證STDIO僅桌面效率與工作流資料與分析

概覽

AI 產生的概覽

一個本機 MCP 伺服器,對使用者提供的社群貼文指標評分排序、比較內容形式並給出下一步建議。

可以做什麼
從 JSON 或 CSV 文字匯入並驗證貼文指標,依固定欄位結構整理平台、鉤子、形式和六項數值指標。依分數、潛在客戶率、互動率和曝光次數排序貼文。依形式彙總曝光、互動、潛在客戶和平均分數,比較不同形式。依確定性分數門檻給出加倍投入、修改或放棄的建議。以 JSON 或 Markdown 產生完整分析報告,並讀取行程內的費用報告。
適用情境
適合已有匯出的社群貼文指標、希望助理排序、比較形式並草擬檢視報告而不連接社群帳號的情境。適用於分析師、內容團隊,以及想把相同計算嵌入指令碼的開發者。
執行需求
透過 npx 以 stdio 在本機執行,需要 Node.js 18 或更新版本。分析功能不需要 API 金鑰、憑證或環境變數。輸入須為固定結構的 JSON 或 CSV,數值須為有限非負數,平台、鉤子和形式標籤不能為空。
安裝前請注意
它不會擷取指標、發布貼文或將潛在客戶歸因到轉換,需自行提供可比的測量資料和一致的時間區間。建議來自規則門檻,並非訓練模型或顯著性檢定。0.1.0 為早期版本,API 和規則可能變動。另有可選的 HTTP 文字工具會把文字傳送到你指定的端點,且不帶內建驗證標頭。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Agentic Analytics,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

agentic-analytics

[npm version] [Downloads/month] [MIT license]

Package · Input guide · API · Support

agentic-analytics is an open-source social post analytics toolkit for developers and agents. It ranks supplied metrics, compares formats, and produces rule-based next moves. Reports run locally through a JavaScript SDK, command-line interface (CLI), or Model Context Protocol (MCP) server.

Install

sh
npm install agentic-analytics

Use Node.js 18 or later. TypeScript declarations are included. The package has two direct runtime dependencies.

Score your first post

Save a sample metrics file. No credentials or environment variables are required.

sh
cat > metrics.json <<'JSON'[{"platform":"LinkedIn","hook":"Stop guessing","format":"carousel","impressions":1000,"likes":40,"comments":8,"shares":5,"clicks":30,"leads":4}]JSONnpx agentic-analytics report --file metrics.json --markdown

The report prints Posts: 1, Engagement rate: 5.30%, and Lead rate: 0.40%. Its next move is double-down for this sample. The SDK produces the same report:

js
import { createReport, reportMarkdown } from 'agentic-analytics';
const report = createReport([{  platform: 'LinkedIn', hook: 'Stop guessing', format: 'carousel',  impressions: 1000, likes: 40, comments: 8, shares: 5,  clicks: 30, leads: 4,}]);console.log(reportMarkdown(report));

How it works

text
JSON / CSV → normalize metrics → score and rank → compare formats                                             → recommend next moves                                             → JSON / Markdown report                SDK / CLI / MCP share these functions

Why it exists

Buffer Insights and Hootsuite Analytics offer social reporting dashboards. agentic-analytics provides a local calculation library for metrics you already have. You can use its report functions in scripts and agent workflows without connecting a social account.

Compare

Checked 2026-10-14 against source and the linked product documentation.

Scopeagentic-analyticsBuffer InsightsHootsuite Analytics
InterfaceSDK, CLI, MCPBuffer dashboardHootsuite reports
InputSupplied JSON or CSVConnected social channelsConnected social account data
ExecutionYour Node.js processManaged applicationManaged application
Report outputJSON and MarkdownDashboard; PDF or CSV on paid plansDashboard and report exports

Buffer describes channel access in its Insights guide. Hootsuite describes exports in its report export guide.

Coverage

There are zero branded platform connectors. platform is a user-supplied label, not an integration selector.

Input / surfaceStatusScope
JSON arrayImplementedPost metrics
JSON object with posts arrayImplementedPost metrics
CSVImplementedFixed field schema
Social network APIs—No account connection or data fetching
Generic HTTP text routerSDK utilitySends {text} to your endpoint; not a metrics connector
Local text routerLocal receipt onlyNo external delivery

Local tests verify parsing, scoring, and exposed surfaces. There are no provider credentials to verify for analytics.

Common use cases

  1. LinkedIn analysts: convert exported metrics into the schema, then compare carousel and text formats.
  2. Node.js developers: embed createReport in an internal review script.
  3. MCP client developers: ask an agent to rank supplied metrics through rank_posts.
  4. Content teams: generate a Markdown report from CSV for a review document.

Features

  • Validation: require platform, hook, format, and six non-negative numeric metrics.
  • Ranking: sort by score, then lead rate, engagement rate, and impressions.
  • Format comparison: aggregate impressions, engagements, leads, and average scores per format.
  • Recommendations: assign double-down, revise, or drop through score thresholds.
  • Reports: expose totals, ranked posts, format comparisons, and recommendations as JSON or Markdown.
  • Text utilities: export text statistics, generic routers, guards, and process-local cost counters separately from analytics.

Runtime surfaces

Analytics SDK exports are normalizePost, parseMetricsText, scorePost, rankPosts, compareFormats, recommendNext, createReport, and reportMarkdown. The SDK also exports summarizeText, dispatchText, local and HTTP routers, and logging, guard, and cost helpers.

CLI data commands are ingest, rank, recommend, and report; each requires --file. Other commands are costs and mcp. Help uses no arguments, --help, or -h. Version uses --version or -V. Literal help and version commands are not accepted.

sh
npx agentic-analytics ingest --file metrics.jsonnpx agentic-analytics rank --file metrics.jsonnpx agentic-analytics recommend --file metrics.jsonnpx agentic-analytics report --file metrics.json --markdownnpx agentic-analytics costsnpx agentic-analytics mcp

MCP tools are ingest_metrics, rank_posts, recommend_next, analytics_report, and get_cost_report. The four analytics tools accept JSON or CSV through text. analytics_report also accepts optional markdown.

json
{"mcpServers":{"agentic-analytics":{"command":"npx","args":["agentic-analytics","mcp"]}}}

The self-hosted Worker source serves GET /health and POST /report. Report requests require a JSON body with a metrics text string. There is no managed endpoint supplied by this package.

Delivery and behavior limits

Analytics functions do not fetch metrics, publish posts, or attribute leads to conversions. You must supply comparable measurements and consistent time windows. Engagements equal likes plus comments plus shares. Clicks are retained but do not affect the score. Score equals engagementRate * 100 + leadRate * 500; it is not capped at 100. Rates use impressions as the denominator. Zero impressions produce zero rates. Recommendations use relative score thresholds, not a trained model or statistical significance test. recommendNext expects an already ranked list; call rankPosts first. Format grouping combines matching format labels across platforms. CSV parsing supports quoted commas and escaped quotes, but not multiline cells. Analytics does not record cost units. Generic SDK dispatch utilities track character units in process memory, not currency. The HTTP text router has a ten-second default timeout and no built-in retries or authentication headers.

Integration guides

Supply every field shown below. JSON also accepts { "posts": [...] }. Convert platform exports into this schema before importing them; no branded export adapter exists.

csv
platform,hook,format,impressions,likes,comments,shares,clicks,leadsLinkedIn,Stop guessing,carousel,1000,40,8,5,30,4

Numbers must be finite and non-negative. Platform, hook, and format labels must be non-empty. Use parseMetricsText to validate input before calling report functions. No .env loading is needed for local analytics.

Status

Version 0.1.0 is an early release. The API and recommendation rules can change before 1.0. Report bugs or request support. Public case studies are not yet published in this repository. Contributors can run npm run build, npm run typecheck, and npm test.

FAQ

What does agentic-analytics analyze?

agentic-analytics analyzes supplied social post metrics. It computes engagement rates, lead rates, rankings, and format summaries.

Which integrations are verified?

agentic-analytics has no branded social network integrations. Local tests verify JSON and CSV calculation paths.

Does agentic-analytics provide a managed analytics dashboard?

agentic-analytics runs in your process and returns reports. It does not supply a managed dashboard or persistent metrics store.

How is agentic-analytics different from Buffer Insights?

agentic-analytics calculates reports from metrics you supply. Buffer Insights provides reporting within Buffer for connected channels.

How is agentic-analytics different from Hootsuite Analytics?

agentic-analytics offers local functions and agent tools for a fixed metrics schema. Hootsuite Analytics offers account-based dashboards and reports.

Can agentic-analytics fetch LinkedIn metrics?

agentic-analytics does not fetch LinkedIn metrics. Convert your data into the required schema and pass it as JSON or CSV.

Are the next moves generated by an AI model?

agentic-analytics assigns next moves with deterministic score thresholds. The text templates use the supplied format, platform, and hook.

Does agentic-analytics require API keys?

agentic-analytics requires no API keys for analytics. Its separate HTTP text utility sends data to an endpoint you choose.

How does agentic-analytics score posts?

agentic-analytics adds engagement rate times 100 to lead rate times 500. Clicks are stored but excluded from this formula.

License

MIT. Copyright Pooria Arab.

來源:README.md,提交 c7ac5b2

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.0最新Oct 15, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Agentic 整合