@vaultgradient/pipequery-lang 1.2.3 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<h1 align="center">| PipeQuery</h1>
|
|
2
2
|
|
|
3
3
|
<p align="center">
|
|
4
|
-
A pipe-based query language for filtering, transforming, and aggregating data in JavaScript/TypeScript.
|
|
4
|
+
A pipe-based query language for filtering, transforming, and aggregating data in JavaScript/TypeScript — with a built-in <strong>MCP server</strong> that lets Claude, Cursor, and other AI agents query your live data.
|
|
5
5
|
</p>
|
|
6
6
|
|
|
7
7
|
<p align="center">
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
## Features
|
|
20
20
|
|
|
21
21
|
- **Pipe-based syntax** — chain operations with `|`, inspired by Unix pipes and SQL
|
|
22
|
+
- **MCP server** — plug pipequery into Claude Desktop, Claude Code, Cursor, Copilot, or any MCP client with one command
|
|
22
23
|
- **Minimal dependencies** — lightweight core engine
|
|
23
24
|
- **TypeScript-first** — full type definitions included
|
|
24
25
|
- **25+ aggregate functions** — basic, statistical, and financial aggregations
|
|
@@ -71,6 +72,16 @@ Works the same with a remote server — just `pq remote connect https://my-serve
|
|
|
71
72
|
|
|
72
73
|
The dashboard features a resizable 2-column grid with live SSE updates and 7 visualization types. See [`cli/README.md`](./cli/README.md) for full documentation.
|
|
73
74
|
|
|
75
|
+
## Use with AI (MCP)
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
pq mcp serve # stdio — plug into Claude Desktop / Cursor / Claude Code
|
|
79
|
+
pq mcp serve --http --port 3001 # HTTP/SSE — for remote clients or hosted deployments
|
|
80
|
+
pq mcp serve --attach http://localhost:3000 # attach to a running `pq serve`
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
Your AI agent gets 5 tools: `query`, `list_sources`, `describe_source`, `list_endpoints`, `call_endpoint`. See [`cli/README.md`](./cli/README.md#use-with-ai-mcp) for client setup recipes.
|
|
84
|
+
|
|
74
85
|
## Quick Start
|
|
75
86
|
|
|
76
87
|
```ts
|
package/package.json
CHANGED