Skip to content
Skillpedia
● Free and open sourceπŸ’» LocalπŸ”“ No API keyWeb and browser

Alfanous

Lets your AI agent search the Qur'an in Arabic, including transliteration and advanced queries.

286 stars on GitHubby Alfanous-teamLicense LGPL-3.0Updated 5 months ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add alfanous -- uvx -m alfanous_mcp.mcp_server alfanous3-mcp

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Search for verses containing the word Allah.
Find verses in sura Yasin that mention a sajda.

What it is

Alfanous is a search engine for the Holy Qur'an. It supports Arabic text, Buckwalter transliteration and rich metadata for verses. Your agent can run simple or advanced searches and get suggestions or spelling fixes.

What it can do

  • search: search verses with simple or advanced queries
  • suggest: get suggestions for a query
  • show: get metadata such as translations
  • list_values: list unique values for a field
  • correct_query: spelling-correct a query
  • Faceted search by sura, juz and other fields

When to use

  • β€ΊWhen you want to find verses with a certain word or phrase
  • β€ΊWhen you want to search using transliteration instead of Arabic letters
  • β€ΊWhen you want to find words from the same root across the text

What you need

Python with pip (pip install alfanous3). It can also use the public web service at alfanous.org.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free and open source?

It is an open Python package published on PyPI, and the public web service needs no key.

Which languages does it support?

Arabic text, Buckwalter transliteration and translations.

What kinds of queries work?

Phrases, AND, OR, NOT, wildcards, fielded search, ranges and root-based search.

What is fuzzy search?

A mode that matches spelling variants, stems and synonyms, with edit distance of 1 to 3.

Do I need to host it?

No. You can use the public service or run your own web service.

Can it return other formats?

Yes. There are views and highlight styles such as css, html, bold and bbcode.

If it does not work

  • β€ΊInstall it with pip install alfanous3.
  • β€ΊInstall pystemmer so stemming works in fuzzy search.
  • β€ΊCheck that Python and pip are installed before starting.

5 new skills a week. 1 minute to read.