Loading
Code Deb

Code Deb Tools API and AI integrations

Connect Code Deb public utilities to AI agents, browsers, applications and command-line clients. Code Deb (codedeb.com) is the publisher in Nepal. No specific AI model or SDK installation is required; the host must support HTTP, MCP or browser tool e

Technical documentation for 27 Code Deb JavaScript and TypeScript SDKs, Verify and MCP APIs and the developer platform. Browse API references, authentic implementation examples and provider boundaries. Check actual npm availability before installing.

Connect Code Deb public utilities to AI agents, browsers, applications and command-line clients. Code Deb (codedeb.com) is the publisher in Nepal. No specific AI model or SDK installation is required; the host must support HTTP, MCP or browser tool execution.

Start here

REST quickstart

Discover a tool using GET, then fetch its operation schema. POST a JSON object matching that schema. The bounded public API does not require an API key.

curl -fsS 'https://www.codedeb.com/tools-api/v1/catalog?q=calendar'
curl -fsS 'https://www.codedeb.com/tools-api/v1/operations/codedeb_ad_to_bs'
curl -fsS -H 'Content-Type: application/json' \
  --data '{"date":"2026-11-03"}' \
  'https://www.codedeb.com/tools-api/v1/execute/codedeb_ad_to_bs'

The example converts the date to 2083-07-17 BS. Inspect the ok, result and evidence fields. Invalid inputs are not successful executions.

Remote MCP

Connect a compatible MCP host to https://www.codedeb.com/tools-mcp using Streamable HTTP. Initialize the session, discover schemas with tools/list, then call an operation using tools/call. This server is distinct from the authenticated business MCP. Individual AI applications may require a connector, approval or configuration.

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "codedeb_find_tools",
    "arguments": {
      "query": "convert AD to BS"
    }
  }
}

Use codedeb_tool_information with a tool slug and codedeb_operation_schema with an operation name. Select only relevant schemas for small context windows. A model without network or tool access cannot execute a remote request by itself.

Browser WebMCP and execution modes

Catalog modeSupported execution
shared-executionSupported operations through REST, remote MCP and compatible browser WebMCP.
browser-local-fileThe user selects local files and approves browser processing.
browser-authorized-downloadExplicit authorization for eligible public media in the browser.
website-onlyHuman interface; no execution adapter is advertised.

See the Facebook Reels Downloader and its capability descriptor for an example. Browser-only tools do not imply anonymous remote media download. Protected media services require separate authorization.

Download artifacts

Repeat the same valid REST POST with ?download=1 to receive actual result bytes as an attachment. It is not a stored GET download URL. Supported exports include CSV, SQL, JSON, ICS and escaped HTML source.

curl -fsS -H 'Content-Type: application/json' \
  --data '{"schema":"id:id\nemail:email","count":2,"seed":1}' \
  'https://www.codedeb.com/tools-api/v1/execute/codedeb_generate_mock_data?download=1' \
  -o sample.csv

Errors and privacy

HTTP 400 denotes invalid or excessive input/output, 403 a denied origin, 404 an unknown or non-remote operation, and 405 an unsupported method. MCP callers must inspect isError. Respect rate limits and temporary failures. Never send secrets, private files or actual employee or bank records to anonymous utilities. Generative AI video and authenticated remote binary processing are not part of this public API.

Discovery references

Search engines and AI crawlers discover and index pages on their own schedules. An indexed website is not an automatically installed tool in an AI application.

More from Code Deb

Read about our agency, explore available services, or contact the team for a project discussion.