nanoparse-mcp 1.0.1 → 1.0.3

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 CHANGED
@@ -30,7 +30,7 @@ npm install -g nanoparse-mcp
30
30
  ### Prerequisites
31
31
 
32
32
  - Node.js 18+
33
- - A Base wallet with USDC (after your first 10 free parses)
33
+ - A Base wallet with USDC (after your first 50 free parses)
34
34
  - Set `NANOPARSE_WALLET_KEY` in your environment
35
35
 
36
36
  ## Getting a wallet
@@ -84,7 +84,7 @@ See [`examples/basic-usage.md`](./examples/basic-usage.md) for a full copy-paste
84
84
 
85
85
  ### Pricing
86
86
 
87
- First 10 calls per IP are free. After that, **$0.0174 per parse** via x402 micropayment in USDC on Base. See [nanoparse.app](https://nanoparse.app) for current pricing and API docs.
87
+ First 50 calls per IP are free. After that, **$0.0175 per parse** via x402 micropayment in USDC on Base. See [nanoparse.app](https://nanoparse.app) for current pricing and API docs.
88
88
 
89
89
  ## Security
90
90
 
package/dist/index.js CHANGED
@@ -1,10 +1,11 @@
1
+ #!/usr/bin/env node
1
2
  import { Server } from "@modelcontextprotocol/sdk/server/index.js";
2
3
  import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
3
4
  import { CallToolRequestSchema, ListToolsRequestSchema, } from "@modelcontextprotocol/sdk/types.js";
4
5
  import { fetchPage } from "./fetch.js";
5
6
  const server = new Server({
6
7
  name: "nanoparse-mcp",
7
- version: "1.0.0",
8
+ version: "1.0.2",
8
9
  }, {
9
10
  capabilities: {
10
11
  tools: {},
@@ -15,7 +16,7 @@ server.setRequestHandler(ListToolsRequestSchema, async () => ({
15
16
  {
16
17
  name: "nanoparse_fetch",
17
18
  description: "Fetch a web page and return clean, structured Markdown with metadata. " +
18
- "First 10 parses free per IP. After that, pay $0.0174 USDC on Base via x402. " +
19
+ "First 50 parses free per IP. After that, pay $0.0175 USDC on Base via x402. " +
19
20
  "No account or API key required.",
20
21
  inputSchema: {
21
22
  type: "object",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nanoparse-mcp",
3
- "version": "1.0.1",
4
- "description": "MCP client for NanoParse \u2014 pay-per-parse web content extraction for AI agents",
3
+ "version": "1.0.3",
4
+ "description": "MCP client for NanoParse — pay-per-parse web content extraction for AI agents",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "bin": {
@@ -12,6 +12,7 @@
12
12
  ],
13
13
  "scripts": {
14
14
  "build": "tsc",
15
+ "postbuild": "node -e \"var f='dist/index.js';var c=require('fs').readFileSync(f,'utf8');require('fs').writeFileSync(f,'#!/usr/bin/env node\\n'+c);require('fs').chmodSync(f,'755')\"",
15
16
  "prepublishOnly": "npm run build"
16
17
  },
17
18
  "keywords": [
@@ -25,7 +26,7 @@
25
26
  ],
26
27
  "repository": {
27
28
  "type": "git",
28
- "url": "https://github.com/nanoparse/nanoparse-mcp"
29
+ "url": "https://github.com/nanoparse-dev/nanoparse-mcp"
29
30
  },
30
31
  "license": "MIT",
31
32
  "dependencies": {
@@ -36,4 +37,4 @@
36
37
  "@types/node": "^22.0.0",
37
38
  "typescript": "^5.5.0"
38
39
  }
39
- }
40
+ }