@pipeworx/mcp-globenewswire 0.1.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Mojibake Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,150 @@
1
+ # @pipeworx/globenewswire
2
+
3
+ Live press releases from GlobeNewswire's public-company RSS feed — headline,
4
+ issuer, tickers, publish time and excerpt, newest first.
5
+
6
+ Part of [Pipeworx](https://pipeworx.io) — an MCP gateway connecting AI agents to 1679+ live data sources.
7
+
8
+ ## Tools
9
+
10
+ - `globenewswire_latest_releases(since_hours?, limit?)` — the current rolling
11
+ window of releases, newest first. `newest_item_at` tells a caller whether
12
+ the feed is quiet or stalled.
13
+ - `globenewswire_search_releases(query, limit?)` — keyword/company match over
14
+ headline, issuer and excerpt, within the current window only.
15
+ - `globenewswire_get_release(url)` — one specific release, matched by the URL
16
+ a prior call returned. Fails clearly (not silently empty) if the release has
17
+ scrolled out of the current window.
18
+
19
+ ## Auth
20
+
21
+ Keyless. No account, no clickthrough terms.
22
+
23
+ ## Data sources
24
+
25
+ - <https://www.globenewswire.com/RssFeed/orgclass/1/feedTitle/GlobeNewswire%20-%20News%20About%20Public%20Companies>
26
+ — GlobeNewswire's own channel description calls this "the last 20 releases".
27
+ It is the **public-company** org class only (org class 1); GlobeNewswire
28
+ also distributes private-company, nonprofit and mutual-fund releases under
29
+ other org classes this pack does not read.
30
+
31
+ Every call re-fetches this same rolling ~20-item window live — it is **not**
32
+ an archive. A release typically scrolls off within about an hour at the
33
+ wire's normal volume, so `search_releases` only ever searches what is
34
+ currently in the window and `get_release` can miss something that has
35
+ already fallen out of it (the tool says so explicitly rather than returning
36
+ an empty result).
37
+
38
+ The issuer name is pulled from `<dc:contributor>`, not from a generic
39
+ `<author>`/byline heuristic — this feed carries no `<author>` tag, so a
40
+ generic byline reader would return nothing useful here.
41
+
42
+ PR Newswire sits behind Cloudflare bot management and occasionally answers a
43
+ request with a challenge redirect that 404s; this pack retries up to 3 times
44
+ before reporting the wire down (see `mcps/prnewswire/src/index.ts` for the
45
+ measured rate — the same defensive retry is applied here too, even though it
46
+ has not been observed on this feed specifically).
47
+
48
+ ## Quick Start
49
+
50
+ Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):
51
+
52
+ ```json
53
+ {
54
+ "mcpServers": {
55
+ "globenewswire": {
56
+ "url": "https://gateway.pipeworx.io/globenewswire/mcp"
57
+ }
58
+ }
59
+ }
60
+ ```
61
+
62
+ ### What this endpoint actually serves
63
+
64
+ `tools/list` at `https://gateway.pipeworx.io/globenewswire/mcp` returns the tools in the table
65
+ above **plus the shared Pipeworx meta-tools** — `ask_pipeworx`,
66
+ `discover_tools`, `search_within`, `remember`/`recall` and the rest of the
67
+ gateway-wide set. So the tool count you see is larger than this table: a
68
+ single-pack endpoint currently lists roughly 30 shared tools alongside the
69
+ pack's own. The connection's `initialize` response states its exact scope, and
70
+ is the authoritative answer for a given day.
71
+
72
+ This is deliberate, not multiplexing by accident. The meta-tools are what let a
73
+ scoped connection answer a question this pack does not cover — via
74
+ `ask_pipeworx`, which routes across the whole catalog — without you adding a
75
+ second MCP server. There is currently no way to mount a pack endpoint without
76
+ them; if the extra schemas cost you more context than the routing is worth,
77
+ connect to the full gateway once rather than to several pack endpoints.
78
+
79
+ Or connect to the full Pipeworx gateway to get every pack's tools listed
80
+ directly, instead of just this one's:
81
+
82
+ ```json
83
+ {
84
+ "mcpServers": {
85
+ "pipeworx": {
86
+ "url": "https://gateway.pipeworx.io/mcp"
87
+ }
88
+ }
89
+ }
90
+ ```
91
+
92
+ Both URLs reach the same gateway and the same 1679+ data sources. The
93
+ only difference is which pack's tools are listed **directly**; `ask_pipeworx`
94
+ reaches all of them from either one.
95
+
96
+ ## No MCP client? Call it over HTTP
97
+
98
+ ```bash
99
+ curl -X POST https://gateway.pipeworx.io/v1/tools/globenewswire_latest_releases \
100
+ -H 'Content-Type: application/json' \
101
+ -d '{}'
102
+ ```
103
+
104
+ No account needed for the first calls. Inspect any tool: `GET https://gateway.pipeworx.io/v1/tools/globenewswire_latest_releases`. Find one: `POST https://gateway.pipeworx.io/v1/tools/search_packs` with `{"query":"..."}`.
105
+
106
+ ## Standalone (no gateway account)
107
+
108
+ This package also runs as a local stdio MCP server — no Pipeworx account, no
109
+ gateway round-trip:
110
+
111
+ ```json
112
+ {
113
+ "mcpServers": {
114
+ "globenewswire": {
115
+ "command": "npx",
116
+ "args": ["-y", "@pipeworx/mcp-globenewswire"]
117
+ }
118
+ }
119
+ }
120
+ ```
121
+
122
+ Or run it directly to confirm it starts:
123
+
124
+ ```bash
125
+ npx -y @pipeworx/mcp-globenewswire
126
+ ```
127
+
128
+ It speaks MCP over stdin/stdout and answers `initialize`/`tools/list`/`tools/call`
129
+ for **only** this pack's tools — none of the shared meta-tools the gateway
130
+ connection above adds. Same source, same tools, no ask_pipeworx routing.
131
+
132
+ ## Using with ask_pipeworx
133
+
134
+ Instead of calling tools directly, you can ask questions in plain English —
135
+ this works on the pack endpoint above as well as on the full gateway:
136
+
137
+ ```
138
+ ask_pipeworx({ question: "your question about Globenewswire data" })
139
+ ```
140
+
141
+ The gateway picks the right tool and fills the arguments automatically.
142
+
143
+ ## More
144
+
145
+ - [Docs and guides](https://pipeworx.io/docs)
146
+ - [pipeworx.io](https://pipeworx.io)
147
+
148
+ ## License
149
+
150
+ MIT
package/bin/cli.js ADDED
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env node
2
+ //
3
+ // Entry point for `npx @pipeworx/mcp-<slug>`.
4
+ //
5
+ // Packs ship as raw TypeScript (no build step — see publish-pack.sh for why:
6
+ // tsx sidesteps every extensionless-import / bare-JSON-import edge case a
7
+ // per-pack tsc build would have to solve one pack at a time). This file
8
+ // registers tsx's ESM loader programmatically, then hands off to src/server.ts,
9
+ // which wraps the pack's {tools, callTool} export in a stdio MCP server.
10
+ //
11
+ // Copied verbatim into every published pack repo by scripts/publish-pack.sh —
12
+ // edit this file, not a per-pack copy.
13
+ import { register } from 'tsx/esm/api';
14
+
15
+ register();
16
+
17
+ await import('../src/server.ts');
package/package.json ADDED
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "@pipeworx/mcp-globenewswire",
3
+ "version": "0.1.0",
4
+ "description": "GlobeNewswire MCP — press releases from GlobeNewswire's public-company feed.",
5
+ "type": "module",
6
+ "main": "src/index.ts",
7
+ "types": "src/index.ts",
8
+ "bin": {
9
+ "mcp-globenewswire": "bin/cli.js"
10
+ },
11
+ "keywords": ["mcp", "mcp-server", "model-context-protocol", "pipeworx", "globenewswire"],
12
+ "license": "MIT",
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "git+https://github.com/pipeworx-io/mcp-globenewswire.git"
16
+ },
17
+ "scripts": {
18
+ "typecheck": "tsc --noEmit"
19
+ },
20
+ "dependencies": {
21
+ "@modelcontextprotocol/sdk": "^1.30.0",
22
+ "tsx": "^4.19.0"
23
+ },
24
+ "devDependencies": {
25
+ "typescript": "^5.9.3",
26
+ "@cloudflare/workers-types": "^4.20260405.1"
27
+ },
28
+ "pipeworx": {
29
+ "sourceHash": "v1-a25e5d5483072989d21b6ef0ebd1cd867b573ca1397e37fabb750b6ae708ac63",
30
+ "sourceCommit": "b0fb3c31386cf0256dcf1e2f1b3440435a87ec35"
31
+ }
32
+ }
package/server.json ADDED
@@ -0,0 +1,18 @@
1
+ {
2
+ "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
3
+ "name": "io.github.pipeworx-io/globenewswire",
4
+ "title": "Globenewswire",
5
+ "description": "GlobeNewswire MCP — press releases from GlobeNewswire's public-company feed.",
6
+ "version": "0.1.0",
7
+ "websiteUrl": "https://pipeworx.io/packs/globenewswire",
8
+ "repository": {
9
+ "url": "https://github.com/pipeworx-io/mcp-globenewswire",
10
+ "source": "github"
11
+ },
12
+ "remotes": [
13
+ {
14
+ "type": "streamable-http",
15
+ "url": "https://gateway.pipeworx.io/globenewswire/mcp"
16
+ }
17
+ ]
18
+ }