
Agent Core
io.github.kinbinghua-lgtmPublished by GitHub account kinbinghua-lgtmv0.1.1Updated Oct 24, 2026
Deterministic computation tools for AI agents. Zero dependencies, no network, read-only.
The publisher's own server: core.blue
Overview
A local, dependency-free MCP server that gives an assistant exact, deterministic computation tools: diffing, hashing, JSON queries, date math, regex extraction,
- What you can do
- Diff and hash text: exact line diffs, sha256/sha512/sha1/md5 and HMAC with hex, base64 and byte length.
- When to use it
- When an assistant needs exact, reproducible answers that language models get wrong by guessing — counting, diffing, hashing, calendar arithmetic, CSV parsing, regex extraction or unit and base conversion.
- Requirements
- Runs locally over stdio via npx; requires Node.js 18 or newer. No API keys, environment variables, accounts or network access.
Installation
In SourceWeft
- Open Agent Core in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
agent-core-mcp
Deterministic computation tools for AI agents. Exact diffing, hashing, JSON querying, calendar arithmetic, regex extraction under a hard execution deadline, CSV parsing, similarity scoring and unit/base conversion — as an MCP server.
Zero dependencies. No network. Read-only.
Why this exists
Language models are excellent at generating language and unreliable at exact, reproducible mechanical computation. That is not a capability gap — it is an architectural property. Asking a probabilistic system to count, diff, hash or do calendar math guarantees a certain rate of confident wrong answers.
This server moves those operations out of the model and into a deterministic engine.
The result is not a better guess. It is a different category of answer: one that is exact and reproducible.
There is a second reason, specific to the MCP ecosystem. The most-reported problems with published servers are credential exfiltration, undisclosed shell execution, dependency trees carrying known CVEs, and servers that hang the client. A server with no network, no credentials, no execution surface, and a bounding deadline on every operation cannot exhibit any of them.
Guarantees
The server publishes these as a machine-readable contract resource (agent-core://contract), so a client can verify what it is installing rather than trusting this file.
Install
No install step is required to run it. Requires Node.js 18 or newer.
Available from:
- npm —
agent-core-mcp - Official MCP registry —
io.github.kinbinghua-lgtm/agent-core-mcp - Source — github.com/kinbinghua-lgtm/agent-core-mcp
Configure
Claude Code
This repository ships a .mcp.json, so cloning it is enough:
Or add it to any project:
Claude Desktop, Cursor, VS Code, Windsurf, Continue, Zed
Same block, in that client's MCP configuration file. No API keys. No environment variables. Nothing to sign up for.
Tools
The ReDoS deadline
regex_extract accepts an optional budgetMs (default 1000, maximum 10000). Execution happens in a worker thread that is terminated when the deadline expires.
This is not a nicety. Node's regex engine cannot be interrupted, so a pattern with catastrophic backtracking blocks the main thread indefinitely. Measured growth for (a+)+$ against 'a'.repeat(n) + '!':
Roughly 4x per two additional characters. At n=40 it does not return. In an MCP server, which runs on the client's main thread, this freezes the user's editor. Process isolation plus termination is the only real boundary.
On expiry the response says so, and tells the caller how to fix the pattern:
Argument validation
Every call is validated against the tool's own JSON Schema before dispatch: required fields, primitive types, enum membership, numeric bounds and unknown properties. A malformed call returns a specific error instead of a confident wrong answer.
This matters because clients do not reliably honour schemas. A server that silently proceeds on a malformed call is worse than one that refuses it.
Examples
Exact diff
→ { "added": 1, "removed": 1, "lines": [ { "op": "equal", "aLine": 1, "bLine": 1 }, ... ] }
Big-integer conversion that stays exact
→ { "result": "20000000000001", "decimal": "9007199254740993" }
Business days between two dates
→ { "value": 5 }
Check a pattern before running it
→ { "risk": "high", "reasons": ["nested quantifier inside a repeated group — classic exponential backtracking"] }
Absent versus null
→ { "resolved": true, "found": false, "value": null, "type": "null" }
Design notes
Why stdio and not HTTP? A stdio server has no listening socket: no attack surface, no port to expose, no auth to get wrong, no data leaving the machine. For pure computation, HTTP would add risk and buy nothing.
Why no caching? Every call is stateless. Caching would introduce state, invalidation bugs and a place for data to persist. The operations are cheap enough that this is not a tradeoff.
Why refuse oversized input? An MCP server that hangs takes the client session with it. Refusing with an actionable message is strictly better than exhausting memory.
Why no dependencies at all? Every dependency is an ongoing obligation: updates, advisories, supply-chain risk, and one more reason the server might stop working. The Node standard library covers everything here.
Development
Both suites run on plain Node with no install step.
selftest.mjs checks hashing against published constants, big-integer round trips past 2^53, RFC 4180 quoting edge cases, Unicode word segmentation and calendar arithmetic. protocol-test.cjs drives the real handler through a fake transport and covers the handshake, version negotiation, every tool, argument validation, the ReDoS deadline, malformed frames, split frames, batches, concurrent request correlation and determinism.
Two bugs found by these suites, both retained as regression tests:
- A ReDoS in the word-segmentation regex. The original
textStatspattern was[\p{L}\p{N}][\p{L}\p{N}'’-]*— two adjacent, overlapping character classes. On a long letter run followed by a non-match it backtracked exponentially and hung the process. The analyzer shipped in this package did not catch it, because it statically inspects the pattern it is given and cannot see patterns written by hand in the source. The execution deadline above exists because of this. - Schema validation was absent. Missing required arguments were silently treated as absent values, so a caller that forgot
pathreceivedmissing-keyinstead of an error. Client-side schemas are not enforcement.
License
MIT — see LICENSE.
Source: README.md at commit 3c84e3c
Tools
0Version history
1- v0.1.1LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Other Core integrations
core.blue
blue.coreOfficial publisher
Remote MCP endpoint for core.blue's private per-customer agent memory "houses": read its manual, try a sandbox, get pricing and recommendations, and request a…

Brevio Core
Published by GitHub account Brevio-Ventures
Local MCP server that lets a coding agent scan code for recurring agent-written mistakes, explain rules, list rules and turn a fix into a guard.

brain-core
Published by GitHub account xy-claude
Local MCP server that gives a Claude Code agent persistent memory across sessions, stored as markdown files plus a SQLite and vector index on your disk.

Scovant Core
Published by GitHub account Scovant
Passive AI-agent readiness scan of a website: robots, llms.txt, JSON-LD, MCP discovery, security.

ProofCore
Published by GitHub account ProofCore-Protocol
Zero-Auth Cryptographic Notarization & Evidence Layer on TON Blockchain for AI Agents.