Open Primitive

io.github.writesdavid由 GitHub 账号 writesdavid 发布v1.2.0更新于 Oct 28, 2026

33 tools, 30 US federal data domains. Ed25519 signed, provenance chains, entity graph. Free.

发布方自己的服务:Email

已验证STDIO仅桌面开发者工具数据与分析

概览

AI 生成的概览

本地 MCP 服务器,通过 Open Primitive 协议提供美国联邦数据领域,响应带签名与引用。

可以做什么
  • 按 Open Primitive 协议查询美国联邦数据领域(如药品与不良事件数据)
  • 获取包含领域、来源、时效、置信度与引用字段的响应
  • 获得带 Ed25519 签名、来源链与实体图的响应
  • 使用该协议的客户端库、提供方辅助工具与校验器
适用场景
当助手需要带可验证来源与引用的美国联邦公开数据时,或希望在本地 MCP 客户端中消费、校验 Open Primitive 协议提供方时使用。
运行要求
以本地 stdio 进程运行,例如通过 npx open-primitive-mcp 启动,需要 Node.js 以及访问提供方 API 的网络连接。未声明任何认证、环境变量或请求头。
安装前请注意
README 与描述中的工具数量不一致(33 个与 13 个),安装后应确认实际工具集。数据来自第三方 API,查询内容会离开本机;不要求任何凭据。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Open Primitive,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Open Primitive Protocol (OPP)

The data layer of the agent internet.

OPP defines how data providers make their data agent-consumable, verifiable, and discoverable. Three components: provider manifest, response envelope, query interface.

The Problem

Agents get data naked. No provenance. No freshness guarantee. No confidence score. No way to verify the source. The agent internet is missing its data envelope.

The Protocol

ComponentWhat it does
Manifest (/.well-known/opp.json)Declares what data a provider serves, how fresh it is, how to verify it
Response EnvelopeEvery response carries domain, source, freshness, confidence, citation, Ed25519 signature
Query InterfaceStandardized HTTP GET endpoints with predictable parameters

Conformance Levels

  • Level 1 (Basic): Manifest + envelope with domain/source/freshness
  • Level 2 (Cited): Level 1 + confidence scores + citations
  • Level 3 (Verified): Level 2 + Ed25519 cryptographic proof

Reference Implementation

Live at api.openprimitive.com. 16 US federal data domains across 11 agencies. Level 3 compliant — every response is signed.

bash
curl https://api.openprimitive.com/v1/drugs?name=aspirin# Returns OPP envelope with proof.type: "DataIntegrityProof"

Quick Start

Use data from an OPP provider:

javascript
const res = await fetch('https://api.openprimitive.com/v1/drugs?name=aspirin');const data = await res.json();console.log(data.citations.statement);// "According to FDA FAERS, aspirin has 601,477 reported adverse events"

Implement OPP for your own data:

javascript
// 1. Create /.well-known/opp.json (see spec)// 2. Wrap responses in the OPP envelope// 3. Optionally sign with Ed25519

Specification

Full spec: openprimitive.com/protocol.html

Detailed spec: api.openprimitive.com/spec.html

SDK

  • sdk/opp-client.js — Client library for consuming OPP providers
  • sdk/opp-provider.js — Helper for implementing OPP
  • sdk/opp-validator.js — Validate OPP conformance

MCP Server

13 tools for Claude, Cursor, and MCP-compatible agents:

bash
npx open-primitive-mcp

Links

License

MIT

来源:README.md,提交 8f848c5

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.2.0最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Primitive 集成