Skip to content

Add Polymarket analysis integration#8

Open
KilianTrunk wants to merge 1 commit intoOriginTrail:mainfrom
KilianTrunk:main
Open

Add Polymarket analysis integration#8
KilianTrunk wants to merge 1 commit intoOriginTrail:mainfrom
KilianTrunk:main

Conversation

@KilianTrunk
Copy link
Copy Markdown

What this PR does

Adds polymarket-analysis as a new community integration. MCP integration that analyzes Polymarket markets for coordination patterns, bot-like behavior, market manipulation signals, and social amplification, then writes the resulting structured analysis into a selected DKG v10 Context Graph's Working Memory as assertions.

Integration links

Scope & faithfulness

  • Integration uses only the supported public interfaces. It is distributed as an MCP server and consumes the local DKG node through the HTTP API.
  • It does not import internal DKG packages, patch node source, or bypass the assertion lifecycle.
  • memoryLayers correctly reflects which layer(s) the integration touches.
  • v10PrimitivesUsed correctly reflects which primitives are exercised.
  • publicInterfacesUsed correctly reflects how the integration talks to the DKG node.
  • Terminology matches the v10 vocabulary: Context Graph, Assertion, Knowledge Asset, Working Memory.

Security declarations (Section 8a)

  • security.networkEgress lists every external host the integration contacts beyond the local DKG node.
  • security.writeAuthority lists every DKG write operation the integration performs.
  • security.credentialsHandled lists the service-side credentials used by the hosted analysis service: POLYMARKET_API_KEY, LUNARCRUSH_API_KEY, and optional API_TOKEN.
  • The MCP package does not ask end users for Polymarket or LunarCrush API keys; those credentials are operated by the hosted Umanitek analysis service.
  • The published package has no preinstall / install / postinstall scripts.
  • The package is published with npm provenance attestation.
  • The pinned git SHA is the exact commit the published package was built from.

Contributor attestation

  • This integration is my own work or properly licensed.
  • It contains no intentional backdoors, malicious logic, or data-exfiltration paths beyond what is declared in security.networkEgress.
  • I understand that the integration may be delisted for any material misrepresentation in the registry entry.
  • I commit to a minimum 6-month maintenance window post-acceptance.

Notes for the committee

@kiliantrunk/polymarket-mcp@1.0.1 is live on npm and installs via npx.

The MCP calls the hosted Umanitek analysis service at http://ec2-3-127-230-231.eu-central-1.compute.amazonaws.com:8000, which fetches Polymarket market/comment/holder data and LunarCrush social intelligence, then returns a structured analysis graph. The MCP writes that graph into the caller-selected DKG Context Graph as a Working Memory assertion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant