@pipeworx/mcp-businesswire 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 +21 -0
- package/README.md +168 -0
- package/bin/cli.js +17 -0
- package/package.json +32 -0
- package/server.json +18 -0
- package/src/index.ts +1200 -0
- package/src/server.ts +45 -0
- package/tsconfig.json +18 -0
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,168 @@
|
|
|
1
|
+
# @pipeworx/businesswire
|
|
2
|
+
|
|
3
|
+
Live press releases from Business Wire's all-news RSS channel — headline,
|
|
4
|
+
dateline, publish time, excerpt and Business Wire's own release id, newest
|
|
5
|
+
first, across roughly the last seven days of the whole wire.
|
|
6
|
+
|
|
7
|
+
Part of [Pipeworx](https://pipeworx.io) — an MCP gateway connecting AI agents to 1679+ live data sources.
|
|
8
|
+
|
|
9
|
+
## Tools
|
|
10
|
+
|
|
11
|
+
- `businesswire_latest_releases(since_hours?, limit?)` — the newest releases
|
|
12
|
+
in the current window (up to 100 per call). `newest_item_at` and
|
|
13
|
+
`oldest_item_at` tell a caller how wide the live window is right now.
|
|
14
|
+
- `businesswire_search_releases(query, since_hours?, limit?)` — keyword or
|
|
15
|
+
company match over headline, dateline and excerpt across the whole window
|
|
16
|
+
(~3,500 releases measured).
|
|
17
|
+
- `businesswire_get_release(url)` — one specific release by the URL or
|
|
18
|
+
`release_id` a prior call returned. Fails clearly (not silently empty) if
|
|
19
|
+
the release has aged out of the window.
|
|
20
|
+
|
|
21
|
+
## Auth
|
|
22
|
+
|
|
23
|
+
Keyless. No account, no clickthrough terms.
|
|
24
|
+
|
|
25
|
+
## Data sources
|
|
26
|
+
|
|
27
|
+
- <https://feed.businesswire.com/rss/home/?rss=G1QFDERJXkJcFVJYWQ==> — Business
|
|
28
|
+
Wire's all-news channel. Measured 2026-09-22: 3,492 items, oldest
|
|
29
|
+
2026-09-15, newest 2026-09-22, ~4 MB of XML in under half a second.
|
|
30
|
+
|
|
31
|
+
Every call re-fetches this window live — it is **not** an archive. A release
|
|
32
|
+
older than about a week is no longer in it (the tools say so rather than
|
|
33
|
+
returning nothing silently).
|
|
34
|
+
|
|
35
|
+
### Why an earlier probe called this wire dead
|
|
36
|
+
|
|
37
|
+
The wave-1 press-release probe (fleet #2285) recorded Business Wire as "a
|
|
38
|
+
993-byte 200 with an empty items array". Those bytes are a well-formed RSS
|
|
39
|
+
envelope with zero items whose channel `<description>` reads *"RSS channel ID
|
|
40
|
+
is not available in the request. Please make sure you have a valid RSS
|
|
41
|
+
link."* — Business Wire answers a missing or invalid `rss=` token with HTTP
|
|
42
|
+
200 and an error written inside the channel (reproduced at 1,001 bytes with
|
|
43
|
+
`?rss=bogus`). A status code cannot tell that apart from a quiet feed; this
|
|
44
|
+
pack checks for it and reports it as a broken token, not an empty wire.
|
|
45
|
+
|
|
46
|
+
### Where the feed token comes from
|
|
47
|
+
|
|
48
|
+
`www.businesswire.com` sits behind Akamai and answers a non-browser
|
|
49
|
+
User-Agent with 403 on every path — including its own `robots.txt` and the
|
|
50
|
+
RSS index page. `feed.businesswire.com` is a separate host that serves this
|
|
51
|
+
pack's own identity (`pipeworx-mcp/1.0`) without complaint, and its
|
|
52
|
+
`robots.txt` publishes the all-news token in a `Sitemap:` line. Tokens are
|
|
53
|
+
opaque per-channel ids; per-industry channels exist (`G1QFDERJXkJeEFpRVQ==`
|
|
54
|
+
is "Communications News") but the index that maps them lives on the blocked
|
|
55
|
+
host, so this pack reads the all-news channel only.
|
|
56
|
+
|
|
57
|
+
### Item shape
|
|
58
|
+
|
|
59
|
+
Business Wire's items carry no issuer tag. The description opens with the
|
|
60
|
+
wire's dateline (`BENGALURU, India--(BUSINESS WIRE)--Rippling, ...`), which
|
|
61
|
+
this pack splits into `dateline` and `excerpt`; the issuer usually leads the
|
|
62
|
+
excerpt but is not a separate field. Links carry a per-feed `feedref=`
|
|
63
|
+
tracking token, stripped into `canonical_url`. `release_id` is the feed's
|
|
64
|
+
`<guid>` (e.g. `20260921847964en`).
|
|
65
|
+
|
|
66
|
+
## Quick Start
|
|
67
|
+
|
|
68
|
+
Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):
|
|
69
|
+
|
|
70
|
+
```json
|
|
71
|
+
{
|
|
72
|
+
"mcpServers": {
|
|
73
|
+
"businesswire": {
|
|
74
|
+
"url": "https://gateway.pipeworx.io/businesswire/mcp"
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### What this endpoint actually serves
|
|
81
|
+
|
|
82
|
+
`tools/list` at `https://gateway.pipeworx.io/businesswire/mcp` returns the tools in the table
|
|
83
|
+
above **plus the shared Pipeworx meta-tools** — `ask_pipeworx`,
|
|
84
|
+
`discover_tools`, `search_within`, `remember`/`recall` and the rest of the
|
|
85
|
+
gateway-wide set. So the tool count you see is larger than this table: a
|
|
86
|
+
single-pack endpoint currently lists roughly 30 shared tools alongside the
|
|
87
|
+
pack's own. The connection's `initialize` response states its exact scope, and
|
|
88
|
+
is the authoritative answer for a given day.
|
|
89
|
+
|
|
90
|
+
This is deliberate, not multiplexing by accident. The meta-tools are what let a
|
|
91
|
+
scoped connection answer a question this pack does not cover — via
|
|
92
|
+
`ask_pipeworx`, which routes across the whole catalog — without you adding a
|
|
93
|
+
second MCP server. There is currently no way to mount a pack endpoint without
|
|
94
|
+
them; if the extra schemas cost you more context than the routing is worth,
|
|
95
|
+
connect to the full gateway once rather than to several pack endpoints.
|
|
96
|
+
|
|
97
|
+
Or connect to the full Pipeworx gateway to get every pack's tools listed
|
|
98
|
+
directly, instead of just this one's:
|
|
99
|
+
|
|
100
|
+
```json
|
|
101
|
+
{
|
|
102
|
+
"mcpServers": {
|
|
103
|
+
"pipeworx": {
|
|
104
|
+
"url": "https://gateway.pipeworx.io/mcp"
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
Both URLs reach the same gateway and the same 1679+ data sources. The
|
|
111
|
+
only difference is which pack's tools are listed **directly**; `ask_pipeworx`
|
|
112
|
+
reaches all of them from either one.
|
|
113
|
+
|
|
114
|
+
## No MCP client? Call it over HTTP
|
|
115
|
+
|
|
116
|
+
```bash
|
|
117
|
+
curl -X POST https://gateway.pipeworx.io/v1/tools/businesswire_latest_releases \
|
|
118
|
+
-H 'Content-Type: application/json' \
|
|
119
|
+
-d '{}'
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
No account needed for the first calls. Inspect any tool: `GET https://gateway.pipeworx.io/v1/tools/businesswire_latest_releases`. Find one: `POST https://gateway.pipeworx.io/v1/tools/search_packs` with `{"query":"..."}`.
|
|
123
|
+
|
|
124
|
+
## Standalone (no gateway account)
|
|
125
|
+
|
|
126
|
+
This package also runs as a local stdio MCP server — no Pipeworx account, no
|
|
127
|
+
gateway round-trip:
|
|
128
|
+
|
|
129
|
+
```json
|
|
130
|
+
{
|
|
131
|
+
"mcpServers": {
|
|
132
|
+
"businesswire": {
|
|
133
|
+
"command": "npx",
|
|
134
|
+
"args": ["-y", "@pipeworx/mcp-businesswire"]
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
Or run it directly to confirm it starts:
|
|
141
|
+
|
|
142
|
+
```bash
|
|
143
|
+
npx -y @pipeworx/mcp-businesswire
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
It speaks MCP over stdin/stdout and answers `initialize`/`tools/list`/`tools/call`
|
|
147
|
+
for **only** this pack's tools — none of the shared meta-tools the gateway
|
|
148
|
+
connection above adds. Same source, same tools, no ask_pipeworx routing.
|
|
149
|
+
|
|
150
|
+
## Using with ask_pipeworx
|
|
151
|
+
|
|
152
|
+
Instead of calling tools directly, you can ask questions in plain English —
|
|
153
|
+
this works on the pack endpoint above as well as on the full gateway:
|
|
154
|
+
|
|
155
|
+
```
|
|
156
|
+
ask_pipeworx({ question: "your question about Businesswire data" })
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
The gateway picks the right tool and fills the arguments automatically.
|
|
160
|
+
|
|
161
|
+
## More
|
|
162
|
+
|
|
163
|
+
- [Docs and guides](https://pipeworx.io/docs)
|
|
164
|
+
- [pipeworx.io](https://pipeworx.io)
|
|
165
|
+
|
|
166
|
+
## License
|
|
167
|
+
|
|
168
|
+
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-businesswire",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Business Wire MCP — press releases from Business Wire's all-news RSS feed.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "src/index.ts",
|
|
7
|
+
"types": "src/index.ts",
|
|
8
|
+
"bin": {
|
|
9
|
+
"mcp-businesswire": "bin/cli.js"
|
|
10
|
+
},
|
|
11
|
+
"keywords": ["mcp", "mcp-server", "model-context-protocol", "pipeworx", "businesswire"],
|
|
12
|
+
"license": "MIT",
|
|
13
|
+
"repository": {
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "git+https://github.com/pipeworx-io/mcp-businesswire.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-54ea3aaf1dcf9fa8b5cbaca7b9fe5dd56095f1d3cd666ff4a60cf17d17afdd96",
|
|
30
|
+
"sourceCommit": "60f04b68c347e970c6be94a53439d1364061fc06"
|
|
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/businesswire",
|
|
4
|
+
"title": "Businesswire",
|
|
5
|
+
"description": "Business Wire MCP — press releases from Business Wire's all-news RSS feed.",
|
|
6
|
+
"version": "0.1.0",
|
|
7
|
+
"websiteUrl": "https://pipeworx.io/packs/businesswire",
|
|
8
|
+
"repository": {
|
|
9
|
+
"url": "https://github.com/pipeworx-io/mcp-businesswire",
|
|
10
|
+
"source": "github"
|
|
11
|
+
},
|
|
12
|
+
"remotes": [
|
|
13
|
+
{
|
|
14
|
+
"type": "streamable-http",
|
|
15
|
+
"url": "https://gateway.pipeworx.io/businesswire/mcp"
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
}
|