dwelldelta-mcp 0.3.0 → 0.3.1

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.
Files changed (4) hide show
  1. package/LICENSE +26 -0
  2. package/README.md +31 -27
  3. package/package.json +3 -2
  4. package/tools.mjs +1 -1
package/LICENSE ADDED
@@ -0,0 +1,26 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Xcelerent Pty Ltd
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.
22
+
23
+ The data files in vendor/ (rents-index.json, indicators.json) are not covered by
24
+ this licence. Each figure keeps its source's own licence and attribution, which
25
+ the data files and every answer state (for example, ABS data: CC BY 4.0, "Based
26
+ on Australian Bureau of Statistics data").
package/README.md CHANGED
@@ -1,55 +1,59 @@
1
- # DwellDelta MCP server - Australian property data for AI agents
1
+ # dwelldelta-mcp - is an Australian rent fair?
2
2
 
3
- **Built 2026-09-26, not published.** Design and reasoning: dwelldelta-control
4
- `project_team/advisory/2026-09-26-dwelldelta-mcp-design.md`.
3
+ An MCP server that lets an AI assistant check a weekly rent against the ABS rents index, and quote sourced
4
+ Australian property and lending indicators. From [DwellDelta](https://dwelldelta.com.au/), a service of
5
+ Xcelerent Pty Ltd, built on public data.
5
6
 
6
- Three read-only tools for any AI assistant that speaks MCP:
7
+ Three read-only tools:
7
8
 
8
9
  | Tool | What it answers |
9
10
  |---|---|
10
- | `rent_check` | a weekly rent, and any proposed new rent, against the ABS rents index for the capital city since the lease began (the rent check's own arithmetic) |
11
+ | `rent_check` | a weekly rent, and any proposed new rent, against the ABS rents index for the capital city since the lease began (the same arithmetic as the rent check at tools.dwelldelta.com.au) |
11
12
  | `market_indicators` | the latest RBA cash rate, unemployment, wage growth, rents for all eight capitals, NSW lending, lending standards and arrears, approvals and completions - each with period, source, licence and limits; filter by `geography` |
12
13
  | `data_sources` | the sources, their licences, and what DwellDelta cannot answer |
13
14
 
14
- It runs on the user's own machine over stdio, sends nothing anywhere and records nothing. Figures come from
15
- `dwelldelta-data/market/indicators.json`, which the Monday job writes (`dwelldelta-local/tools/build_indicators.py`);
16
- set `DWELLDELTA_INDICATORS` to use another file.
15
+ It runs on your own machine over stdio, sends nothing anywhere and records nothing. Nothing it says is a
16
+ forecast, a valuation or advice.
17
17
 
18
- ## Try it in Claude Desktop (owner's machine only, until it is published)
18
+ ## Use it
19
19
 
20
- Add to `%APPDATA%\Claude\claude_desktop_config.json`:
20
+ Claude Desktop - add to `claude_desktop_config.json`:
21
21
 
22
22
  ```json
23
23
  {
24
24
  "mcpServers": {
25
25
  "dwelldelta": {
26
- "command": "node",
27
- "args": ["D:\\local-repo\\personal\\dwelldelta-tools\\mcp\\server.mjs"]
26
+ "command": "npx",
27
+ "args": ["-y", "dwelldelta-mcp"]
28
28
  }
29
29
  }
30
30
  }
31
31
  ```
32
32
 
33
- Restart Claude Desktop, then ask: "What is NSW unemployment doing?" or "Is a rise from $700 to $770 a week in
34
- Sydney since July 2025 in line with rents?"
33
+ Claude Code: `claude mcp add dwelldelta -- npx -y dwelldelta-mcp`. Any other MCP client: run `npx -y dwelldelta-mcp`
34
+ as a stdio server. Node 18 or later.
35
35
 
36
- ## What an agent gets back (0.2.0)
36
+ Then ask: "Is a rise from $700 to $770 a week in Sydney since July 2025 in line with rents?" or "What is NSW
37
+ unemployment doing?"
38
+
39
+ It is listed in the MCP registry as `au.com.dwelldelta/dwelldelta`.
40
+
41
+ ## What an agent gets back
37
42
 
38
43
  Every call returns text to quote and a structured result: the figures, plus `sources` (each with its licence and
39
- attribution), `data_as_of`, `snapshot_built`, `server_version`, `retrieved_at`, and `stale` / `stale_reason` when the
40
- indicators snapshot is more than 10 days old (it is rebuilt each Monday; a stale answer also says so in words).
44
+ attribution), `data_as_of`, `snapshot_built`, `server_version`, `retrieved_at`, and `stale` / `stale_reason`.
41
45
  Every failure is marked `isError` and ends with `Next step:` - an unknown city or geography names the valid ones.
42
- If the snapshot is missing the server still starts: `rent_check` works and the other two say what is missing.
43
46
 
44
- ## Tests
47
+ The indicators are a snapshot bundled with each release. Once it is more than 10 days old every answer says so, in
48
+ words and in the structured result, rather than passing an old figure off as current; update the package for a
49
+ newer one. Set `DWELLDELTA_INDICATORS` to read another snapshot file.
50
+
51
+ ## Licence
45
52
 
46
- `npm test` here: starts the server and calls all three tools over MCP. The repository's root `npm test` holds
47
- the tool answers themselves (`tests/mcp-tools.test.mjs`).
53
+ The code is MIT (see LICENSE). The data is not: each figure keeps its source's licence and attribution, which every
54
+ answer states - for example ABS data is CC BY 4.0, "Based on Australian Bureau of Statistics data".
48
55
 
49
- ## Before publishing
56
+ ## Development
50
57
 
51
- Publication is the owner's call (npm, the MCP registry). It would also need `indicators.json` served publicly
52
- from tools.dwelldelta.com.au instead of read from this machine. Publish under the domain namespace `au.com.dwelldelta/...` (a DNS TXT
53
- record proves it), not `io.github...`: `io.dwelldata/real-estate-data` ("DwellData", US) is already in the registry
54
- and the names are close. Steps and the competitors already listed (io.ausdata, au.com.microburbs): control advisory
55
- 2026-09-28-github-research-what-to-borrow.md.
58
+ `npm test` here starts the server and calls all three tools over MCP; the repository's root `npm test` holds the
59
+ tool answers themselves and checks that `vendor/` matches its sources. `npm pack` runs `scripts/vendor.mjs` first.
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "dwelldelta-mcp",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Is an Australian rent fair? A rent check on the ABS rents index, plus sourced property and lending indicators, for AI agents.",
5
5
  "mcpName": "au.com.dwelldelta/dwelldelta",
6
- "license": "UNLICENSED",
6
+ "license": "MIT",
7
7
  "homepage": "https://dwelldelta.com.au/",
8
8
  "author": "DwellDelta, a service of Xcelerent Pty Ltd",
9
9
  "type": "module",
@@ -17,6 +17,7 @@
17
17
  "server.mjs",
18
18
  "tools.mjs",
19
19
  "vendor/",
20
+ "LICENSE",
20
21
  "README.md"
21
22
  ],
22
23
  "scripts": {
package/tools.mjs CHANGED
@@ -29,7 +29,7 @@ export const INDICATORS_PATH = process.env.DWELLDELTA_INDICATORS
29
29
  ?? (existsSync(LIVE) ? LIVE : join(HERE, "vendor", "indicators.json"));
30
30
 
31
31
  export const FOOTER = "Information, not advice. From DwellDelta (dwelldelta.com.au), built on public data.";
32
- export const SERVER_VERSION = "0.3.0";
32
+ export const SERVER_VERSION = "0.3.1";
33
33
  // The indicators snapshot is rebuilt every Monday. Older than this and the answer says so, in words and in the
34
34
  // structured result, rather than serving a stale figure as current.
35
35
  export const STALE_DAYS = 10;