MCPサーバー

NanoParse MCP

io.github.nanoparse-dev/nanoparse-mcp

このMCPでできること

Fetches web pages and converts them to clean Markdown with source authority, freshness, and structural trust signals.

nanoparse_fetch
Fetch a URL and return clean Markdown with Litmus (source authority, freshness, structural trust). First 10 free parses per network (subnet), then $0.01 per request via x402 micropayment — when the tool returns a payment_required error, sign the included payment_terms and retry with the payment_signature argument (works in every MCP client; no custom headers needed).
入力スキーマ
{'type': 'object', 'required': ['url'], 'properties': {'url': {'type': 'string', 'description': 'The URL to fetch and parse'}, 'payment_signature': {'type': 'string', 'description': 'x402 payment signature — base64-encoded JSON payment terms. Only needed after the free tier is exhausted: the payment_required error response includes the payment_terms to sign. Pass the signed terms here (or as a Payment-Signature header if your client supports headers).'}}}
出力スキーマ
{'type': 'object', 'required': ['content'], 'properties': {'content': {'type': 'array', 'items': {'type': 'object', 'required': ['type', 'text'], 'properties': {'text': {'type': 'string', 'description': 'The extracted page content as clean Markdown with GFM tables preserved'}, 'type': {'enum': ['text'], 'type': 'string', 'description': "Content type — always 'text' for NanoParse"}}}, 'description': 'Array of content items returned by the tool'}}, 'description': 'Returns content[0].text as clean Markdown with GFM tables, stripped of navigation, ads, and boilerplate. structuredContent carries the full parse envelope: {markdown, metadata, litmus}. On error, returns a JSON-RPC error object with code and message.'}
nanoparse_status
Check wallet balance, USDC balance, quota state, and whether the next /fetch call will succeed without payment. Use before spending — tells the agent exactly how much to fund.
入力スキーマ
{'type': 'object', 'properties': {'address': {'type': 'string', 'description': 'The Ethereum wallet address to query (0x...).'}}}
出力スキーマ
{'type': 'object', 'required': ['content'], 'properties': {'content': {'type': 'array', 'items': {'type': 'object', 'required': ['type', 'text'], 'properties': {'text': {'type': 'string', 'description': 'Multi-line status report: wallet, USDC balance, price, estimated parses, free tier, funding URI'}, 'type': {'enum': ['text'], 'type': 'string'}}}, 'description': 'Human-readable status report as text content'}, 'structuredContent': {'type': 'object', 'properties': {'quota': {'type': 'object'}, 'funding_uri': {'type': 'string'}, 'usdc_balance': {'type': 'string'}, 'balance_error': {'type': ['string', 'null']}, 'wallet_address': {'type': 'string'}, 'price_per_parse': {'type': 'string'}, 'usdc_balance_raw': {'type': 'string'}, 'next_call_will_succeed': {'type': 'boolean'}, 'estimated_parses_remaining': {'type': 'number'}}, 'description': 'Machine-readable status fields'}}}
追加
nanoparse_status
2026年9月17日12:45
追加
nanoparse_fetch
2026年9月17日12:45