mcp-ts-core logo
mcp-ts-core
★ 155
vs
global-law logo
global-law
★ 2.2k

mcp-ts-core vs global-law

mcp-ts-core: @cyanheads/mcp-ts-core is a TypeScript framework for building MCP servers. It offers declarative tool/resource/prompt definitions with Zod schemas, pluggable authentication, multi-backend storage, OpenTelemetry observability, and runs on both local (stdio/HTTP) and edge (Cloudflare Workers) runtimes. The framework handles infrastructure concerns like transport, auth, storage, config, logging, and lifecycle, so developers can focus on writing business logic.; global-law: Global Law arranges jurisdiction-specific law repositories as Git submodules and provides tools to read provisions on a chosen date. Its local, read-only MCP server exposes search, history and comparison operations, with coverage and historical limits varying by corpus.

01

TL;DR

mcp-ts-core logo
mcp-ts-coreRAG / Knowledge Base · ★ 155

Building MCP servers for AI tools and agents

global-law logo
global-lawRAG / Knowledge Base · ★ 2.2k

Retrieve the recorded text of a provision on a specified date.

02

Side-by-Side Comparison

Field
mcp-ts-core logomcp-ts-core
global-law logoglobal-law
Category
RAG / Knowledge Base
RAG / Knowledge Base
Stars
★ 155
★ 2.2k
License
Apache-2.0
NOASSERTION
Install Command
bunx @cyanheads/mcp-ts-core init my-mcp-server && cd my-mcp-server && bun install
git clone https://github.com/lexifina/global-law && cd global-law
Updated
1w ago
2d ago
Open Source
Yes
Yes
Tags
ai, cloudflare-workers, llm
git, law, legal-tech
03

Features

mcp-ts-core logomcp-ts-core
01Declarative definitions with Zod schemas for tools, resources, and prompts
02Unified Context object with logging, state, elicitation, sampling, and cancellation
03Inline authorization scopes on definitions
04Task tools for long-running operations with lifecycle management
05Multi-backend storage (in-memory, filesystem, Supabase, Cloudflare D1/KV/R2)
global-law logoglobal-law
01Reads legal versions using each corpus commit’s In-force date.
02Provides read-only MCP tools over stdio using Python 3.9+ and Git.
03Supports word attribution, provision history and comparisons between dates.
04Fetches selected countries without downloading every submodule.
04

Use Cases

mcp-ts-core logomcp-ts-core
↳Building MCP servers for AI tools and agents
↳Developing declarative tool, resource, and prompt definitions for LLM interactions
↳Deploying MCP servers on local environments or edge platforms like Cloudflare Workers
global-law logoglobal-law
↳Retrieve the recorded text of a provision on a specified date.
↳Compare amendments and trace the laws responsible for wording changes.
↳Connect an MCP client to locally stored legal sources while checking coverage caveats.
FAQ

FAQ

What is the difference between mcp-ts-core and global-law?
Both mcp-ts-core and global-law are in the RAG / Knowledge Base category. mcp-ts-core has 155 stars, while global-law has 2.2k stars.
Which is better, mcp-ts-core or global-law?
The best choice depends on your use case. Choose mcp-ts-core if Building MCP servers for AI tools and agents, and global-law if Retrieve the recorded text of a provision on a specified date..
Is mcp-ts-core free or open source?
Yes, mcp-ts-core is open source on GitHub (Apache-2.0).
Is global-law free or open source?
Yes, global-law is open source on GitHub (NOASSERTION).
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit
→

Related