原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

India API

作者:dharunashokkumar版本 1.1.42i★ 9i在云端运行
注册名称io.github.dharunashokkumar/india-api

安装方法

概览

作者提供的说明(英文原文)

Free Indian data and AI: pincode, IFSC, GSTIN, holidays, GST invoice, OCR, calculators, translation.

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在云端运行
  • 传输方式: Streamable HTTP
  • 分类: 会计、财务与税务

安装

选择你使用的 AI 应用,然后复制设置。

通过 3/4 项检查 · 你的提问会经过开发者的服务器(api.dharun.dev)

第一步:你用哪个 AI?

选择你用的应用,步骤会显示在下方。

可连接 Claude · 约 2 分钟

不需要密钥,不用安装程序 · 在 claude.ai 或桌面应用设置一次,即可在聊天中使用 · 免费账户可添加 1 个

  1. 打开 Claude 的 Connectors 页面

    CustomizeConnectors

    CustomizeConnectors1+ Add2https://…3Add4
  2. 点击“+ Add” → “Add custom connector”,填写这 2 项

    把这里的内容复制到 Claude 中同名的输入框,然后点击 Continue

    Name · 名称India API
    Remote MCP server URL · 地址https://api.dharun.dev/mcp

    Authentication 保持 Claude 检测到的设置,然后点击 Add

  3. 在聊天中开启

    +ConnectorsIndia API

  4. 试一试

    用 India API 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 India API,或回答中出现 India API 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

仅企业版 ChatGPT 可连接

适用于网页版 ChatGPT Business、Enterprise 或 Edu,需由工作区管理员或所有者添加 · 使用 Free、Plus 或 Pro:你的 ChatGPT 方案暂时无法自行连接 MCP

  1. 在网页版 ChatGPT 打开添加 MCP 的页面

    Plugins+Add custom MCP server

    ChatGPTPlugins1+2https://…3Create4
  2. 填写名称和地址

    输入名称,在 Connection 下粘贴地址,勾选风险提示,然后点击 Create as a plugin

    Name · 名称India API
    Connection · 地址https://api.dharun.dev/mcp
  3. 在聊天中选择 India API

    开启新聊天,输入前先从插件列表中选择 India API

  4. 试一试

    用 India API 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 ChatGPT 说正在使用 India API,或回答中出现 India API 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 OpenAI 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Claude Code · 约 2 分钟

不需要密钥,不用安装程序

  1. 打开终端

    Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell

  2. 粘贴这条命令并按 Enter

    claude mcp add --transport http india-api https://api.dharun.dev/mcp
  3. 在 Claude Code 中输入 /mcp

    应能看到 India API 在列表中并显示已连接

  4. 试一试

    用 India API 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude Code 说正在使用 India API,或回答中出现 India API 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Cursor · 约 2 分钟

不需要密钥,不用安装程序

  1. 点击这个按钮打开 Cursor

    在 Cursor 中打开

    Cursor 会请你确认安装,点击 Install

  2. 在 Cursor 中以 Agent 模式打开 AI 聊天

  3. 试一试

    用 India API 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Cursor 说正在使用 India API,或回答中出现 India API 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同

可连接 VS Code · 约 2 分钟

不需要密钥,不用安装程序

  1. 点击这个按钮打开 VS Code

    在 VS Code 中打开

    VS Code 会请你确认安装,点击 Install

  2. 在 VS Code 中以 Agent 模式打开 AI 聊天

  3. 试一试

    用 India API 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 VS Code 说正在使用 India API,或回答中出现 India API 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同

其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看

查看所有支持 MCP 的应用 →

通过网页连接的应用使用的地址

地址https://api.dharun.dev/mcp

JSON 设置在下方“开发者专用”中

卡住了?问问正在用 India API 的人💬 讨论 →
开发者专用:终端命令和 JSON 设置

通过网页连接

Claude Code

claude mcp add --transport http india-api https://api.dharun.dev/mcp

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "india-api": {
      "url": "https://api.dharun.dev/mcp"
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "india-api": {
      "type": "http",
      "url": "https://api.dharun.dev/mcp"
    }
  }
}

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

一览

每周下载量i
不在 npm/PyPI 上
许可证i
未注明许可证
连接方式
在云端运行
传输方式
streamable-http
最新版本i
1.1.42
发布到注册中心i
2026年11月11日
代码最后更新i
2026年11月10日
作者
dharunashokkumar
注册状态
活跃

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

通过互联网连接,适用于

ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast

全部应用及其优缺点 →

它能做什么

工具名称和描述与服务器在 2026年11月11日 报告的完全一致。这些内容由作者撰写,不是我们写的;我们以纯文本形式显示。

  • get_company_logo

    Get the logo URLs (SVG and PNG) and details of a company listed on India's NSE or BSE. Accepts a ticker (TCS), exchange-qualified ticker (NSE:TCS), Yahoo symbol (TCS.NS), ISIN or the old ticker of a renamed company. listed is false for a delisted company.

  • search_companies

    Search Indian listed companies by ticker, earlier ticker, name, sector, industry, ISIN or index name (for example 'Nifty 50'). Returns details with logo URLs. Only companies listed today.

  • lookup_pincode

    Look up an Indian pincode: its district, state and every post office that uses it.

  • search_post_offices

    Find Indian post offices and their pincodes by the start of the office name, optionally within a state or district.

  • lookup_ifsc

    Look up an Indian bank branch by its IFSC: bank, branch, address, MICR and supported payment systems.

  • search_bank_branches

    Find branches of one Indian bank by state, city or text in the branch name or address. Needs the four-letter bank code; use search_banks to find it.

  • search_banks

    Find Indian banks and their four-letter codes by name.

  • lookup_rto

    Find which Regional Transport Office an Indian vehicle registration belongs to. Accepts a code (TN-28) or a full number plate (TN28AB1234).

  • list_holidays

    List Indian holidays for a year: bank holidays, central government holidays, and stock market trading and clearing holidays. Filter by type, state or month.

  • number_to_words

    Spell a number or rupee amount in words using the Indian system (lakh, crore), in English, Hindi or Tamil.

  • validate_identifier

    Check the format of an Indian GSTIN, PAN or IFSC. Format only: it does not confirm the identifier was issued.

  • lookup_airport

    Look up an airport by IATA code (MAA) or ICAO code (VOMM): name, city, state, country, coordinates and whether it has scheduled flights.

  • search_airports

    Search airports by name or city, worldwide (those with IATA codes) and every Indian airfield and heliport. Filter by country (ISO code) or Indian state.

  • make_upi_payment_link

    Build a UPI payment link (upi://pay) for an Indian UPI ID, with optional payee name, amount and note, plus the URL of a QR code image for it. Generate only; nothing is checked with a bank.

  • find_constituency

    Find the assembly (MLA) and parliamentary (MP, Lok Sabha) constituency of a place in India, by pincode or by latitude and longitude.

  • check_dns

    Look up a domain's DNS records (A, AAAA, MX, TXT, NS, CNAME, CAA, SOA, SRV, or PTR for an IP) at Cloudflare, Google, Quad9 and OpenDNS at once, and say whether they agree.

  • check_email_address

    Check an email address without contacting its mail server: valid form, disposable (throwaway) domain, free provider, role account, and whether the domain has mail servers.

  • make_fake_indian_data

    Generate made-up Indian test data for building apps: people (name, gender, birth date, email, phone, PAN, address) or companies (name, PAN, GSTIN with a valid check character, address) or addresses, at real pincodes. Never real people.

  • lookup_hsn_code

    Look up an Indian HSN code (goods) or SAC code (services) used in GST invoices: its description, the chapter and heading above it, and the codes below it. No GST rates.

  • search_hsn_codes

    Find Indian HSN (goods) or SAC (services) codes by words of their description, such as 'green tea' or 'construction'.

  • domain_icon

    Get the icon of any website as a square PNG, from its favicon, Apple touch icon or web app manifest, redrawn at the size asked. A site without a usable icon gets an initials tile.

  • lookup_ip_address

    Find the country, region (Indian state), city and network operator of a public IPv4 or IPv6 address.

  • check_ipv6

    Check whether a domain is ready for IPv6, from DNS: IPv6 (AAAA) addresses for the site and www, for each nameserver and each mail server, with a plain list of what is missing. No connection is made over IPv6.

  • translate_text

    Translate text between English and 22 Indian languages (Hindi, Tamil, Telugu, Kannada, Malayalam, Bengali, Marathi, Gujarati, Punjabi, Odia, Assamese, Urdu and more) with AI4Bharat's IndicTrans2. Between two Indian languages it goes through English. Up to 2,000 characters.

  • transliterate_roman_typing

    Turn Indian-language words typed in Roman letters (vanakkam, namaste, kaise ho) into their own script, as phone keyboards do, with several guesses per word. Uses AI4Bharat's IndicXlit. Up to 60 words.

  • moderate_text

    Score a comment or message for abuse with three classifiers: general multilingual, Hinglish (Hindi in Roman letters, by kind: profanity, harassment, hate speech, caste, communal, regional, misogyny) and Tanglish (Tamil in Roman letters). Scores 0 to 1; a model's guess, not a deci

  • transcribe_audio

    Speech to text with Whisper: the text of a recording (MP3, WAV, Ogg, M4A, WebM or video), with timed segments; about a hundred languages, Indian ones included. task=translate writes it in English. The first five minutes are heard.

  • rerank_documents

    Order documents by how well each answers a query, with the multilingual bge-reranker-v2-m3 cross-encoder (Indian languages and English). Returns scores from 0 to 1, best first.

  • make_gst_invoice

    Make an Indian GST tax invoice as a PDF from seller, buyer and items. Works out each line's taxable value, CGST and SGST (or UTGST) within a state or IGST across states, the HSN-wise summary, rounding and the amount in words. format=json returns the worked-out amounts only.

  • compile_typst

    Compile a Typst document to PDF (or one page as PNG). Noto fonts for Latin and nine Indian scripts are available; packages and files are not.

  • text_to_speech

    Speak text aloud in Hindi, Telugu, Malayalam or English with Piper voices; returns MP3 audio. Write the text in its own script. Some Hindi voices are for non-commercial use only.

  • read_text_in_image

    OCR: read the text in a photo, scan or scanned PDF, in English and Indian languages (Hindi, Tamil, Telugu, Kannada, Malayalam, Bengali, Gujarati, Punjabi, Odia, Marathi).

  • read_barcodes

    Find and read every QR code and barcode (Data Matrix, Aztec, EAN, UPC, Code 128, Code 39, ITF, Codabar) in a picture.

  • make_qr_code

    Make a QR code image (PNG) for any text or link.

  • make_barcode

    Make a barcode image (PNG): Code 128, Code 39, Code 93, EAN-13, EAN-8, ITF, Codabar, Data Matrix, PDF417 or Aztec.

  • make_code_image

    Draw a code snippet as a PNG picture of an editor window with syntax colouring, for slides, posts and READMEs. Up to 150 lines of 140 characters.

  • make_social_preview_image

    Make a 1200 by 630 link preview (Open Graph) image as PNG from a title, with an optional subtitle, site name and tag. Latin and nine Indian scripts are set correctly. The same arguments always give the same picture.

  • chunk_text

    Split a long document (plain text or Markdown) into readable chunks for retrieval (RAG): at headings, paragraphs, sentences and words in that order; Markdown chunks keep their heading path. Each chunk carries its character offsets.

  • embed_texts

    Turn texts into 384-number vectors with multilingual-e5-small (Indian languages and English), scaled to length 1 so a dot product is the cosine similarity. For storing in a vector database or comparing meaning; use rerank_documents to order a few passages for a question instead.

  • convert_tamil_legacy_text

    Convert Tamil text in an old 8-bit encoding (TSCII), which shows as accented Latin letters such as ¾Á¢ú without its font, to Unicode Tamil, or Unicode back to it.

  • get_indian_states

    List India's 28 states and 8 union territories, or get one, with its two-letter code, GST state code and vehicle registration prefixes.

  • convert_image

    Resize a picture or convert it (JPEG, PNG, WebP, AVIF, GIF, TIFF out; HEIC and AVIF read too). Turned upright, all metadata such as the GPS position removed.

  • get_image_info

    Format, size, colour space, orientation and camera of a picture, and whether it carries EXIF data or a GPS position.

  • remove_image_background

    Cut the subject out of a picture (a product, a person, an animal) and return it as a PNG with a transparent background, with the IS-Net model.

  • hash_image

    Perceptual fingerprints of a picture (average, difference and DCT hashes) that stay nearly the same after resizing or recompression, for finding duplicates.

  • compare_images

    Compare two pictures by how they look: the bits by which their perceptual hashes differ, a score from 0 to 1, and whether they look like the same picture.

  • read_pdf_text

    Read the text of a PDF, page by page. needs_ocr is true when the pages are scanned pictures; send those to read_text_in_image.

  • get_pdf_info

    Page count, PDF version, title, author, dates and page sizes of a PDF, and whether it has forms, signatures or attachments.

  • render_pdf_page

    Draw one page of a PDF as a picture, for a preview.

  • select_pdf_pages

    Make a new PDF from some pages of one, in the order named: to pick, reorder or split pages.

  • rotate_pdf_pages

    Turn the pages of a PDF clockwise by a multiple of 90 degrees.

  • compress_pdf

    Make a PDF smaller by removing duplicate fonts and images and packing its structure. Scanned PDFs shrink little.

  • merge_pdfs

    Join PDFs into one, in the order given.

  • remove_audio_noise

    Lower background noise (fans, traffic, hum) in a recording with DeepFilterNet; returns MP3. The first five minutes are cleaned.

  • traceroute_from_india

    Trace the network path from a server in India to a host, MTR style: every hop with its address, name, network (AS) and country, packet loss and round-trip times. Shows how Indian networks reach a site.

  • get_mutual_fund_nav

    Get the latest NAV of an Indian mutual fund scheme by AMFI scheme code or ISIN, with its fund house, category, plan and option.

  • search_mutual_funds

    Search Indian mutual fund schemes by name words, fund house or category, filtered by direct/regular plan and growth/IDCW option, with their latest NAVs.

  • get_panchang

    Hindu almanac (panchang) for a date and place: tithi, nakshatra, yoga, karana with their end times, sunrise, sunset, moonrise, moonset, Rahu kalam, Yamagandam, Gulika kalam, Abhijit muhurta, Tamil month and day, lunar month, Shaka and Vikram years.

  • check_indian_phone_number

    Check an Indian phone number's form and type (mobile, toll-free, fixed line), format it, and name the operator and telecom circle its series was originally given to.

  • probe_url_from_india

    Fetch a URL from a server in India and time it: DNS, connect, TLS, time to first byte and download, the HTTP status and version, every redirect, the response headers (cookie values hidden), the body's size and hash (never the body), and which CDN and edge city answered. Shows how

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月12日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 dharunashokkumar 验证,该账户拥有此仓库

  • ✓ 通过

    仍在维护

    代码最后更新于昨天

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • ✕ 未通过

    端点有响应

    我们检查时,6 秒内没有响应

  • – 不适用

    使用 OAuth 登录

    我们检查时,6 秒内没有响应

  • ✓ 通过

    工具描述中没有隐藏指令

    已读取 60 个工具描述,未发现针对 AI 的隐藏指令

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

使用 Google 登录后发帖

用户评价

还没有评价

用 Google 登录后写评价

与“会计、财务与税务”中的其他服务器比较i

  • 星标数多于此分类中其他 3137 个服务器的 97%
  • 发布到注册中心的时间比此分类中其他 3137 个服务器的 99% 更新
  • 基础检查结果等于或优于此分类中其他 3137 个服务器的 54%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

India API 安全吗?

它在 4 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。

它还在维护吗?

GitHub 仓库最后更新于昨天,最新版本(1.1.42)于今天进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,因此也能用于支持远程 MCP 的应用,例如 ChatGPT Business 及以上方案。

有什么可以替代它?

同一分类中有:CCXT, Finance Toolkit, AKQuant

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

CCXT

Official CCXT MCP server - Market data and trading across 100+ exchanges and prediction markets

作者:ccxt广泛使用↓ 667/周★ 4.5万2个月前更新

在你的电脑上运行

Finance Toolkit

500+ transparent financial methods calculated from raw statements, not third-party endpoints.

作者:JerBouma广泛使用↓ 1.6万/周★ 5517前天更新

电脑或云端

AKQuant

Write and backtest trading strategies with AKQuant: API lookup, strategy checks, backtest runs

作者:akfamily广泛使用↓ 3280/周★ 2590今天更新

在你的电脑上运行

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

India API

Free, open source APIs for Indian data. Pincodes, IFSC and bank branches, GSTIN and PAN checks, bank and market holidays, RTO codes, company logos, UPI QR codes, numbers in lakh and crore, GST invoices as PDF, OCR in Indian languages, PDF and image tools, translation, speech to text and text to speech, and more: 44 APIs behind one consistent JSON shape. No API key, no sign-up, open CORS, and an MCP server so AI assistants can use it too.

Documentation: [api.dharun.dev](https://api.dharun.dev) · API reference · Guides · Use with AI · OpenAPI · llms.txt

curl https://api.dharun.dev/v1/pincode/637001
{

"data": { "pincode": "637001", "district": "Namakkal", "stateCode": "TN", "state": "Tamil Nadu", "offices": [ ... ] }, "meta": { "source": { "name": "...", "licence": "...", "attribution": "..." } } }

APIs

Each name links to its page, with every parameter, a real response and code in curl, JavaScript and Python.

APIExampleWhat you get
Company logos/v1/logos/TCS, /v1/companies/RELIANCESVG or PNG logo of an NSE or BSE listed company, REITs and InvITs included; sector, ISIN, market cap, indexes; old tickers still work
Pincodes/v1/pincode/637001, /v1/pincode/near?lat=&lng=Post offices, district, state, coordinates; pincodes near a point
IFSC and banks/v1/ifsc/SBIN0000001, /v1/banks?q=graminBank, branch, address, MICR, payment systems; banks and their codes by name
RTO codes/v1/rto/TN-28Transport office for a vehicle registration
Holidays/v1/holidays/2026?type=marketBank, central government and stock market holidays
Working days/v1/working-days/2026-01-16?calendar=bank&state=TNWorking day or not, the next one, N working days ahead, T+1 settlement dates; whether NSE is open
HSN and SAC/v1/hsn/0902, /v1/hsn?q=teaTariff codes with descriptions and their chapter
Mutual funds/v1/mutual-funds/122639Latest NAV of a scheme, search by name or fund house
Railway stations/v1/stations/MASStation name, zone, state
Airports/v1/airports/MAAIATA and ICAO codes, city, coordinates
Phone numbers/v1/phone/9500112345Valid or not, mobile or landline, original operator and circle
Constituencies/v1/constituency?pincode=637001Assembly and parliamentary constituency for a place
Panchang/v1/panchang/2026-01-14?pincode=600001Tithi, nakshatra, yoga, karana, sunrise, Rahu kalam, Tamil month
Sun and moon/v1/sun-moon/today?pincode=600001Sunrise, sunset, twilight, moonrise, moon phase and illumination
Satellite passes/v1/sat-pass?sat=ISS&pincode=600001When the ISS or an amateur radio satellite passes over, and whether it can be seen
HF propagation/v1/propagationSolar flux, K and A index, NOAA scales, and a day and night rating per band
Thirukkural/v1/thirukkural/1Couplet, transliteration, two English translations; search and random
Transliteration/v1/transliterate?to=tamil&text=..., /v1/transliterate/suggest?lang=ta&text=vanakkamBetween nine Indian scripts, ISO 15919, IAST and ASCII; Roman typing to 21 Indian scripts with a model
Translation/v1/translate?from=en&to=ta&text=...Between English and 22 Indian languages with IndicTrans2
Embeddings and reranking/v1/embed?text=..., POST /v1/rerankMultilingual vectors for semantic search, and a reranker to order results
Tamil legacy encodings/v1/tamil-font/convert?from=tscii&text=...TSCII text to Unicode and back
IP lookup/v1/ip/8.8.8.8, /v1/ipCountry, city and network of an address, or of the caller
Email check/v1/email/someone@example.comSyntax, disposable domain, whether the domain takes mail
DNS check/v1/dns/example.com?type=MXRecords as several public resolvers see them
Traceroute from India/v1/mtr/example.comMTR-style path from a server in India: network, loss and latency per hop
Whois/v1/whois/example.co.in, /v1/whois/AS55836Registrar, dates, status and nameservers of a domain; holder and abuse contact of an IP network or AS number, through RDAP
TLS check/v1/tls/example.comCertificate validity, chain, days left, TLS versions and weak ciphers, as a list of problems
IPv6 check/v1/ipv6/example.comIPv6 addresses for the site, its nameservers and mail servers
HTTP probe from India/v1/probe?url=https://example.comDNS, connect, TLS and first-byte times from India, redirects, headers and the CDN edge city
Website icons/v1/icon/github.com?size=64Any site's icon as a square PNG, or an initials tile
QR, UPI QR and barcodes/v1/qr?text=hello, /v1/upi-qr?pa=shop@okaxis&am=250, POST /v1/barcode/readQR codes, UPI payment QR codes and links, barcodes; reading codes from a photo
GST invoicePOST /v1/invoiceA GST tax invoice PDF from JSON: CGST and SGST or IGST, HSN summary, amount in words, UPI QR
OCRPOST /v1/ocr?lang=eng+tamText from photos, scans and scanned PDFs in English and ten Indian languages
Image toolsPOST /v1/image/convert?format=webp&width=800Resize and convert (WebP, AVIF, HEIC in), remove backgrounds, perceptual hashes
PDF toolsPOST /v1/pdf/merge, /pages, /rotate, /compress, /text, /renderMerge, split, rotate, compress, read text, draw pages
Typst to PDF/v1/typst?text=...Typst documents to PDF or PNG, with Indian scripts
SpeechPOST /v1/stt, /v1/tts?text=...&voice=hi, POST /v1/audio/denoiseSpeech to text and subtitles with Whisper; text to speech in Hindi, Telugu, Malayalam and English; noise removal
Generated images/v1/og-image?title=HelloLink preview cards and code images, in ten scripts
Text tools/v1/text/chunk, /redact, /moderate, /tokens, /languageChunking for retrieval, PII and name redaction, moderation with Hinglish and Tanglish, token counts, language detection
Regex tester/v1/regex?pattern=...&text=...Every match with its groups, replacement, the pattern explained
Fake Indian data/v1/fake/companies?count=5Test people and companies with PAN and GSTIN that pass format checks
Number to words/v1/words/1,25,000?lang=taLakh and crore spelling in English, Hindi, Tamil
Format checks/v1/validate/gstin/27AAPFU0939F1ZVGSTIN, PAN and IFSC structure and check characters
States/v1/states/TNState codes, GST codes, vehicle prefixes

One shape everywhere

  • Every JSON response is { "data": ..., "meta": { ... } }. data is an object, or an array for list endpoints, which add meta.total, meta.limit and meta.offset.
  • meta.source names the dataset, its version, its licence and the credit it asks for.
  • Errors are { "error": { "code", "message" } } with a matching HTTP status.
  • Each client has an allowance of 600 requests a minute. A lookup costs 1; a request that takes real CPU work (image rendering, astronomy, live DNS) costs 10, a file upload 15, and a neural network job (speech, speech to text, translation, background removal, denoise) 30. Embeddings, reranking and moderation count as CPU work.
  • Text endpoints take ?text=, or a POST body as text/plain or JSON {"text": "..."}.
  • Image endpoints return the image itself, ready for an tag; PDF and audio endpoints return the file.
  • File endpoints take a POST of the file as the body, or as multipart/form-data, up to 10 MB. Files are deleted when the answer is sent; nothing is kept.

Use it from AI assistants

One MCP server, one Agent Skill and one Claude Code plugin cover every API.

# Claude Code: the MCP server

claude mcp add --transport http india-api https://api.dharun.dev/mcp

Claude Code: the plugin (skill and MCP server together)

/plugin marketplace add dharunashokkumar/api.dharun.dev /plugin install india-api@dharun-dev

Any agent that reads Agent Skills (Claude Code, Codex, Copilot, Cursor, Gemini CLI)

npx skills add dharunashokkumar/api.dharun.dev

  • MCP server: https://api.dharun.dev/mcp, Streamable HTTP, stateless, no authentication. Each tool returns exactly what the matching REST endpoint returns. Setup for Claude, ChatGPT, VS Code, Cursor, Windsurf, Gemini CLI and Codex: api.dharun.dev/ai. In the MCP Registry as io.github.dharunashokkumar/india-api.
  • Agent Skill: skills/india-api.
  • Claude Code plugin: plugins/india-api, with the marketplace in .claude-plugin/marketplace.json.
  • For crawlers and agents: /llms.txt, /llms-full.txt, every page as Markdown (add .md or send Accept: text/markdown), /openapi.json, an MCP server card, an AI catalog and an API catalog under /.well-known/.

The skill, the plugin and server.json are generated from the catalog in internal/api/catalog.go; a test fails when the committed copies are out of date.

Licence

  • Calling the API puts no licence on your app.
  • The code is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0-only). If you run a modified copy as a service for others, you must offer them your changes.
  • **Code examples, the guides' code, the Agent Skill and the C

只显示了开头部分;其余内容请在仓库中阅读